Raspberry Pi Recording Audio

Raspberry Pi Recording Audio

At least with the CM-Headphone type adapter, you can also record audio.
 arecord --device=hw:1,0 --format S16_LE --rate 44100 -c1 test.wav

Will record signed 16-bit (S16_LE) audio at 44100 Hz (--rate 44100) mono (-c1) audio to test.wav. We've noted that any audio input will be echoed out the speakers as well

You can have a little VU meter show up if you add to the-V mono command line. Press control-C to quit
 
Once you're done recording you can play back with
aplay --device=plughw:1,0 test.wav


https://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi/recording-audio


No comments:

Post a Comment

Note: only a member of this blog may post a comment.