public interface SampleRecorder extends AudioListener
SampleRecorder is an interface that describes the limited
set of functionality required of an object that records samples. It is
not required that the SampleRecorder records to disk, though
the implementations in Minim do so.| Modifier and Type | Method and Description |
|---|---|
void |
beginRecord()
Begins recording.
|
void |
endRecord()
Halts recording.
|
java.lang.String |
filePath()
Returns the full path to the file this is saving to, if it exists.
|
boolean |
isRecording()
Returns the current record state.
|
AudioRecordingStream |
save()
Saves the recorded samples, probably to disk.
|
samples, samplesjava.lang.String filePath()
String will be
returned.void beginRecord()
void endRecord()
boolean isRecording()
AudioRecordingStream save()