The following options are available:
-a
Append to the specified file, rather than overwriting.
-b balance
Set the balance to balance. This value must be between 0 and 63.
-c channels
Set number of channels to channels.
-d device
Set the audio device to be device. The default is /dev/sound.
-e encoding
Set encoding to either “alaw”, “ulaw” or “linear”, or any other value reported by
audioctl encodings. The default encoding is “ulaw”. If the output format is “sun”, the file will contain slinear_be samples, if it is “wav”, then slinear_le, independent of the argument to
-e. Setting the argument to
-e still may be important since it is used in an
ioctl(2) call to the kernel to choose the kind of data provided.
-F format
Set the output header format to format. Currently supported formats are “sun”, “wav”, and “none” for Sun/NeXT audio, WAV, and no header, respectively.
-f
Force. Normally when appending to audiofiles using the -a option, the sample rates must match. The -f option will allow a discrepancy to be ignored.
-i info
If supported by the -F format, add the string info to the output header.
-m monvol
Set the monitor volume.
-P precision
Set the precision. This value is the number of bits per sample, and is normally either “8” or “16”, though the values “4”, “24”, and “32” are also valid.
-p port
Set the input port to port. The valid values of port are “cd”, “internal-cd”, “mic”, and “line”.
-s rate
Set the sampling rate. This value is per-second. Typical values are 8000, 44100, and 48000, which are the telephone, CD Audio, and DAT Audio default sampling rates.
-t time
Sets the maximum amount of time to record. Format is [hh:]mm:ss[.dddddd].
-v volume
Set the volume (gain) to volume. This value must be between 0 and 255.