Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-20 00:20:58 +00:00
parent 846fc1563d
commit a360d4dc45
153 changed files with 493 additions and 434 deletions

View File

@@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
- Record a snippet in "CD" quality (finish with `<Ctrl c>` when done):
`arecord -vv --format=cd {{path/to/file.wav}}`
`arecord {{[-vv|--verbose --verbose]}} {{[-f|--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}}`
`arecord {{[-vv|--verbose --verbose]}} {{[-f|--format]}} cd {{[-d|--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}}`
`arecord {{[-vv|--verbose --verbose]}} {{[-f|--format]}} cd {{[-t|--file-type]}} raw | lame -r - {{path/to/file.mp3}}`
- List all sound cards and digital audio devices:
`arecord --list-devices`
`arecord {{[-l|--list-devices]}}`
- Allow interactive interface (e.g. use `<Space>` or `<Enter>` to play or pause):
`arecord --interactive`
`arecord {{[-i|--interactive]}}`
- Test your microphone by recording a 5 second sample and playing it back:
`arecord -d 5 test-mic.wav && aplay test-mic.wav && rm test-mic.wav`
`arecord {{[-d|--duration]}} 5 test-mic.wav && aplay test-mic.wav && rm test-mic.wav`