arecord Command Examples

Sound recorder for ALSA soundcard driver. More information: https://manned.org/arecord.

arecord -vv --format=cd {{path/to/file.wav}}

arecord -vv --format=cd --duration={{10}} {{path/to/file.wav}}

arecord -vv --format=cd --file-type raw | lame -r - {{path/to/file.mp3}}

arecord --list-devices

arecord --interactive

arecord -d 5 test-mic.wav && aplay test-mic.wav && rm test-mic.wav