| javax.swing.JPanel org.sakaiproject.tool.assessment.audio.AudioRecorder
AudioRecorder | public class AudioRecorder extends JPanel implements ActionListener,AudioControlContext(Code) | | Record audio in different formats and then playback the recorded audio. The
captured audio can be saved either as a WAVE, AU or AIFF. Or load an audio
file for streaming playback.
author: Brian Lichtenwalter author: Ed Smiley numerous modifications |
Inner Class :public class Playback implements Runnable | |
Inner Class :class Capture implements Runnable | |
bufSize | final int bufSize(Code) | | |
durationseconds | double durationseconds(Code) | | |
formatControls | FormatControls formatControls(Code) | | |
playback | Playback playback(Code) | | |
samplingGraph | SamplingGraph samplingGraph(Code) | | |
close | public void close()(Code) | | |
createAudioInputStream | public void createAudioInputStream(File file, boolean updateComponents)(Code) | | |
createAudioInputStream | public void createAudioInputStream(String mediaUrl, boolean updateComponents)(Code) | | |
getFormatControlsPanel | public JPanel getFormatControlsPanel()(Code) | | |
saveAndPost | public void saveAndPost(InputStream inputStream, AudioFileFormat.Type audioType, String urlString, int attemptsLeft, boolean post)(Code) | | Post audio data directly.
Parameters: audioType - the audio type string Parameters: urlString - the url (in applets must use getCodeBase().toString() +same-host relative url) Parameters: inputStream - the input stream Parameters: attemptsLeft - attempts left |
|
|