Skip to content

Instantly share code, notes, and snippets.

@sagax
Last active June 4, 2016 09:34
Show Gist options
  • Save sagax/5b8ee2cec140534a818a71d78124651b to your computer and use it in GitHub Desktop.
Save sagax/5b8ee2cec140534a818a71d78124651b to your computer and use it in GitHub Desktop.
how to audio record
# Record audio with arecord + twolame + VUmeter + High quality source audio
arecord -V "stereo" -D hw:0 -c 2 -f S16_LE -r 44100 | twolame --talkativity=0 -r -b 256 - record.mp3
# Record audio with arecord + twolame + High quality source audio + without stdin output
arecord -q -D hw:0 -c 2 -f S16_LE -r 44100 | twolame --talkativity=0 -r -b 256 - record.mp3
# Record audio with arecord + lame + High quality source audio + without stdin output + resample
arecord -q -D hw:0 -c 2 -f S16_LE -r 44100 | lame -m m --resample 44.1 -b 256 - record.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment