Class AudioGraph
java.lang.Object
org.teamapps.ux.component.media.AudioGraph
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AudioGraphcreateGraph(File pcmFile) static AudioGraphcreateGraph(File pcmFile, int resolution) static AudioGraphcreateGraph(File pcmFile, int resolution, int durationMs, int sampleRate) static AudioGraphcreateGraph(InputStream pcmIn, int resolution, int durationMs, int sampleRate) intbyte[]byte[]byte[]byte[]intbyte[]save()
-
Constructor Details
-
AudioGraph
public AudioGraph(int resolution, int duration) -
AudioGraph
- Throws:
IOException
-
-
Method Details
-
save
- Throws:
IOException
-
createTrackData
-
getOuterMax
public byte[] getOuterMax() -
getOuterMin
public byte[] getOuterMin() -
getInnerMax
public byte[] getInnerMax() -
getInnerMin
public byte[] getInnerMin() -
getResolution
public int getResolution() -
getDuration
public int getDuration() -
createGraph
- Throws:
IOException
-
createGraph
- Throws:
IOException
-
createGraph
public static AudioGraph createGraph(File pcmFile, int resolution, int durationMs, int sampleRate) throws IOException - Throws:
IOException
-
createGraph
public static AudioGraph createGraph(InputStream pcmIn, int resolution, int durationMs, int sampleRate) throws IOException - Throws:
IOException
-