command-line sound recorder and player for ALSA soundcard driver
Sampling rate in Hertz. The default rate is 8000 Hertz. If the value specified is less than 300,
it is taken as the rate in kilohertz. Valid values are 2000 through 192000 Hertz.
will play the raw file "foobar" as a 22050-Hz, mono, 8-bit, Mu-Law .au file.
will record foobar.wav as a 10-second, CD-quality wave file, using the PCM "copy" (which might be
defined in the user's .asoundrc file as:
Record from the default audio source in monaural, 8,000 samples per second, 8 bits per sample.
Start a new file every 30 seconds. File names are mon-nn.wav, where nn increases from 01. The
file after mon-99.wav is mon-100.wav.
Record in stereo from the default audio source. Create a new file every hour. The files are
placed in directories based on their start dates and have names which include their start times
and file numbers.