Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

29
linux/arecord Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# arecord
> 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`