Take the 2-minute tour ×
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.

Just came across this question while trying to connect a webcam. If the webcam encapsualted 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

2 Answers 2

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
1  
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 at 7:30
1  
@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 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 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

 
discard

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.