Package snap.swing
Class SoundRecorder
java.lang.Object
snap.swing.SoundRecorder
A class to record sounds.
-
Constructor Details
-
SoundRecorder
public SoundRecorder()
-
-
Method Details
-
getBytes
public byte[] getBytes()Returns the bytes. -
setBytes
public void setBytes(byte[] theBytes) Sets the bytes. -
getSoundFile
Returns the temporary file that holds the last recorded bytes. -
isRecording
public boolean isRecording()Whether file is recording. -
startRecording
public void startRecording()Start recording. -
stopRecording
public void stopRecording()Stop recording.
-