public class WaveRecorder
extends java.lang.Object
| Constructor and Description |
|---|
WaveRecorder(Synthesizer synth,
java.io.File outputFile) |
WaveRecorder(Synthesizer synth,
java.io.File outputFile,
int samplesPerFrame) |
WaveRecorder(Synthesizer synth,
java.io.File outputFile,
int samplesPerFrame,
int bitsPerSample) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close and disconnect any connected inputs.
|
UnitInputPort |
getInput() |
void |
start() |
void |
stop() |
public WaveRecorder(Synthesizer synth, java.io.File outputFile) throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic WaveRecorder(Synthesizer synth, java.io.File outputFile, int samplesPerFrame) throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic WaveRecorder(Synthesizer synth, java.io.File outputFile, int samplesPerFrame, int bitsPerSample) throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic UnitInputPort getInput()
public void start()
public void stop()
public void close()
throws java.io.IOException
java.io.IOException