Package com.pdplusplus
Class WriteSoundFile
- java.lang.Object
-
- com.pdplusplus.PdMaster
-
- com.pdplusplus.WriteSoundFile
-
public class WriteSoundFile extends PdMaster
-
-
Field Summary
Fields Modifier and Type Field Description long
FILE_AIF
long
FILE_MAT
long
FILE_RAW
long
FILE_SND
long
FILE_WAV
long
pointer
long
STK_FLOAT32
long
STK_FLOAT64
long
STK_SINT16
long
STK_SINT24
long
STK_SINT32
long
STK_SINT8
-
Constructor Summary
Constructors Constructor Description WriteSoundFile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WriteSoundFile
allocate()
static void
free(WriteSoundFile wsf)
void
open(java.lang.String file, int nChannels)
void
open(java.lang.String file, int nChannels, long type, long format)
void
print()
void
start(double[] input)
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
-
-
-
-
Field Detail
-
FILE_RAW
public final long FILE_RAW
- See Also:
- Constant Field Values
-
FILE_WAV
public final long FILE_WAV
- See Also:
- Constant Field Values
-
FILE_SND
public final long FILE_SND
- See Also:
- Constant Field Values
-
FILE_AIF
public final long FILE_AIF
- See Also:
- Constant Field Values
-
FILE_MAT
public final long FILE_MAT
- See Also:
- Constant Field Values
-
STK_SINT8
public final long STK_SINT8
- See Also:
- Constant Field Values
-
STK_SINT16
public final long STK_SINT16
- See Also:
- Constant Field Values
-
STK_SINT24
public final long STK_SINT24
- See Also:
- Constant Field Values
-
STK_SINT32
public final long STK_SINT32
- See Also:
- Constant Field Values
-
STK_FLOAT32
public final long STK_FLOAT32
- See Also:
- Constant Field Values
-
STK_FLOAT64
public final long STK_FLOAT64
- See Also:
- Constant Field Values
-
pointer
public long pointer
-
-
Method Detail
-
allocate
public static WriteSoundFile allocate()
-
free
public static void free(WriteSoundFile wsf)
-
open
public void open(java.lang.String file, int nChannels)
-
open
public void open(java.lang.String file, int nChannels, long type, long format)
-
start
public void start(double[] input)
-
stop
public void stop()
-
print
public void print()
-
-