arecord
Sound recorder for ALSA soundcard driver. More information: <https://manned.org/arecord>.
Install
- All systems
-
curl cmd.cat/arecord.sh
- Debian
-
apt-get install alsa-utils
- Ubuntu
-
apt-get install alsa-utils
- Alpine
-
apk add alsa-utils
- Arch Linux
-
pacman -S alsa-utils
- Kali Linux
-
apt-get install alsa-utils
- CentOS
-
yum install alsa-utils
- Fedora
-
dnf install alsa-utils
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install alsa-utils
- Raspbian
-
apt-get install alsa-utils
- Dockerfile
- dockerfile.run/arecord
- Docker
-
docker run cmd.cat/arecord arecord
powered by Commando
Sound recorder for ALSA soundcard driver. More information: <https://manned.org/arecord>.
-
Record a snippet in "CD" quality (finish with Ctrl-C when done):
arecord -vv --format=cd path/to/file.wav
-
Record a snippet in "CD" quality, with a fixed duration of 10 seconds:
arecord -vv --format=cd --duration=10 path/to/file.wav
-
Record a snippet and save it as an MP3 (finish with Ctrl-C when done):
arecord -vv --format=cd --file-type raw | lame -r - path/to/file.mp3
-
List all sound cards and digital audio devices:
arecord --list-devices
-
Allow interactive interface (e.g. use space-bar or enter to play or pause):
arecord --interactive
© tl;dr; authors and contributors