com.jsyn.util
Class WaveRecorder
java.lang.Object
com.jsyn.util.WaveRecorder
public class WaveRecorder
- extends java.lang.Object
Connect a unit generator to the input.
Then start() recording.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WaveRecorder
public WaveRecorder(Synthesizer synth,
java.io.File outputFile)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
WaveRecorder
public WaveRecorder(Synthesizer synth,
java.io.File outputFile,
int samplesPerFrame)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
WaveRecorder
public WaveRecorder(Synthesizer synth,
java.io.File outputFile,
int samplesPerFrame,
int bitsPerSample)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
getInput
public UnitInputPort getInput()
start
public void start()
stop
public void stop()
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException