$ sudo apt-get install sound-recorder
When recording from the command line the command is:
$ sound-recorder -c 2 -b 16 -P -S 5:00 recording.wav
The options set stereo recording (-c 2), 16 bit sampling (-b 16), priority threading (-P) to ensure high priority in CPU usage, and limiting the recording to 5 minutes. The output is written to the file recording.wav.
Many of these options are the default so you can simply:
$ sound-recorder -P recording.wav
arecord: Linux Command to List all Soundcards and Digital Audio Devices
Here is a quick way to list all detected and working soundcards. Use arecord command line sound recorder and player for ALSA soundcard driver. The -l option List all soundcards and digital audio devices. The -L option list all PCMs defined. The information obtained from following command can be used to play various media files [...]
$ arecord filename.ext
$ aplay filename.ext
Enter the email associated with your account and we will send you your username and a temporary password.
That's a pro feature!
Want to go pro?
First step is to sign up.
Already a member?" Login »