Arecord

De Linuxmemo.

arecord is a command-line sound recorder for ALSA(Advanced Linux Sound Architecture) sound card drivers.

arecord [flags] [filename]

If the filename is not specified then it uses Standard input.

Options:

   -h, –help : It is used to show the help messages and exit.
   –version : Print current version.
   -l, –list-devices : List all soundcards and digital audio devices.
   -L, –list-pcms : List all PCMs(Pulse Code Modulation) defined.
   -D, –device=NAME : Select PCM by name.
   -q –quiet : Quiet mode. Suppress messages (not sound :).
   -t, –file-type TYPE File type (voc, wav, raw or au). If this parameter is omitted the WAVE format is used.
   -c, –channels=# : The number of channels. The default is one channel. Valid values are 1 through 32.
   -f –format=FORMAT : If no format is given U8 is used.
   -r, –rate=# : Sampling rate in Hertz. The default rate is 8000 Hertz.
   -d, –duration=# : Interrupt after # seconds.
   -s, –sleep-min=# : Min ticks to sleep. The default is not to sleep.
   -M, –mmap : Use memory-mapped (mmap) I/O mode for the audio stream. If this option is not set, the read/write I/O mode will be used.
   -N, –nonblock : Open the audio device in non-blocking mode. If the device is busy the program will exit immediately.
Outils personnels