From 1839fd6b6d213ab2df50d0d045c393e29c7105b9 Mon Sep 17 00:00:00 2001 From: Ray Voice <33094591+Ray6464@users.noreply.github.com> Date: Tue, 13 Oct 2020 02:28:39 +0500 Subject: [PATCH] arecord: add example list audio devices and intractive interface (#4530) --- pages/linux/arecord.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/linux/arecord.md b/pages/linux/arecord.md index 003873fd1..59f4f1511 100644 --- a/pages/linux/arecord.md +++ b/pages/linux/arecord.md @@ -14,3 +14,11 @@ - Record a snippet and save it as 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`