Sunday, September 4, 2011

SimpleAudioRecorder

Recording to an audio file (simple version)

Purpose. Records audio data and stores it in a file. The data is recorded in CD quality (44.1 kHz, 16 bit linear, stereo) and stored in a .wav file.
Usage. 
java SimpleAudioRecorder -h
java SimpleAudioRecorder audiofile
Parameters. 

-h
print usage information, then exit
audiofile
the file name of the audio file that should be produced from the recorded data
Bugs, limitations.  You cannot select audio formats and the audio file type on the command line. See AudioRecorder for a version that has more advanced options. Due to a bug in the Sun jdk1.3/1.4, this program does not work with it.

Source code.  SimpleAudioRecorder.java

Source : http://www.jsresources.org 

No comments:

Post a Comment