NAME
wavr - record a wave audio file
SYNOPSYS
wavr [ -f filename ] [ -r samplerate ] [ -d sampledepth ]
[ -c numchans ] [-s l | m | c ]
DESCRIPTION
wavr will record a PCM encoded wav file from /dev/dsp. The sample format, length and source of the recording can all be supplied at the command line. If a mixer program is running, it can be used to set the recording source and volume levels of that source. Without arguments, wavr will output a short message describing its usage.
OPTIONS
- -f filename
-
Uses filename as the name of the recorded wave file. The default is untitled.wav which will be used if -f is not given.
- -r samplerate
-
Asks for samplerate to be used as the number of samples per second to be recorded. Common values are 44100 , 22050 , 11025 , 8000
- -d sampledepth
-
Uses sampledepth as the number of bits to use for each sample. Valid values are 16 , and 8 .
- -c numchans
-
Uses numchans channels in recording. Valid values are 2 for a stereo recording, and 1 for a mono recording.
- -l length
-
Stops recording after length seconds. This is not required as you can simply press ^C to stop recording and the program will exit gracefully.
- -s m|l|c
-
Sets the mixer to the appropriate recording source. l = line, m = mic, and c = cd-rom. If a mixer is already running, it can be used to specify recording source and volume levels.
SEE ALSO
wavp (1)
AUTHOR
Colin Ligertwood ([email protected])