Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just came across this question while trying to connect a webcam. If the webcam encapsulated audio that is fine. But what if I want to attach a microphone in another location / locations.

Question: How can I record audio using a microphone?

share|improve this question
Here is how to record with microphones: instructables.com/id/… – Bay Mar 8 at 20:54

There is no microphone input in the Raspberry Pi. Raspberry Pi's sound chip only supports audio output, not input. If you want to record some audio using RPi you will have to use some external microphone device, like USB microphone. Some USB webcameras also have build in microphones so you could use it.

share|improve this answer
Note that there's some kind of bug in the USB firmware that prevents it from recording without glitches/overruns for more than about 20 seconds. – scruss Aug 10 '12 at 13:35
Are there non-USB options? – Aleksandr Levchuk Mar 15 '15 at 7:30
@AleksandrLevchuk: Sure there are but they are not that easy to use and/or cheap. You can buy dedicated sound card for RaspberryPI (of which there are few now) - I know at least one which is based on wolfson chipset which has microphone input. The one I'm thinking about also has two built-in microphones. But it costs almost as much as RaspberryPi itself. Another option is to use some microphone (for example electret one) directly (you will need an amplified, though, but you can buy a module with integrated one) but since RaspberryPi does not have ADC, you will also need one. – Krzysztof Adamski Mar 15 '15 at 22:09
Krzysztof, thank you. For Pi2, I ended up using a USB sound card amazon.com/gp/aw/d/B001MSS6CS and a 3.5mm mic amazon.com/gp/aw/d/B005DJOIPQ, it had some sound glitches at first (soft pops every 2 to 5 second), but then they suddenly stopped and I have clear sound recordings now. Sound is very clear and highly sensitive. The only concern I have now is that the USB sound card will draw a lot of power however I have not verified that hypothesis. – Aleksandr Levchuk Mar 21 '15 at 16:31

You can plug Sony Singstar usb microphones into the RPi and record using Audacity. The sound quality is not the best, but it's not too bad and it does work.

P.S. I've found the Sony Eye-Toy usb camera with a mic doesn't work well like this.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.