mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-03 20:35:32 +02:00
arecord: add page (#4307)
This commit is contained in:
parent
716224a6d8
commit
6c405df735
1 changed files with 16 additions and 0 deletions
16
pages/linux/arecord.md
Normal file
16
pages/linux/arecord.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# arecord
|
||||
|
||||
> Sound recorder for ALSA soundcard driver.
|
||||
> More information: <https://linux.die.net/man/1/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 mp3 (finish with Ctrl-C when done):
|
||||
|
||||
`arecord -vv --format=cd --file-type raw | lame -r - {{path/to/file.mp3}}`
|
Loading…
Add table
Reference in a new issue