Package com.pdplusplus
Class ReadSoundFile
- java.lang.Object
-
- com.pdplusplus.PdMaster
-
- com.pdplusplus.ReadSoundFile
-
public class ReadSoundFile extends PdMaster
-
-
Field Summary
Fields Modifier and Type Field Description long
pointer
-
Constructor Summary
Constructors Constructor Description ReadSoundFile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReadSoundFile
allocate()
static void
free(ReadSoundFile rsf)
int
getBufferSize()
boolean
isComplete()
void
open(java.lang.String f)
void
open(java.lang.String f, double o)
void
print()
void
setBufferSize(int bs)
double[]
start()
void
stop()
-
Methods inherited from class com.pdplusplus.PdMaster
dbtopow, dbtorms, DEBUG, free, ftom, getBlockSize, getFFTWindow, getSampleRate, getTimeInMilliSeconds, getTimeInSampleTicks, mtof, powtodb, rmstodb, SET_DEBUG, setBlockSize, setFFTWindow, setSampleRate
-
-
-
-
Method Detail
-
allocate
public static ReadSoundFile allocate()
-
free
public static void free(ReadSoundFile rsf)
-
open
public void open(java.lang.String f)
-
open
public void open(java.lang.String f, double o)
-
start
public double[] start()
-
stop
public void stop()
-
print
public void print()
-
setBufferSize
public void setBufferSize(int bs)
-
getBufferSize
public int getBufferSize()
-
isComplete
public boolean isComplete()
-
-