Connecting two USB mics to Raspberry-PI

  • Computer
  • Thread starter jedishrfu
  • Start date
  • Tags
    Usb
In summary, the conversation discusses the difficulty of connecting two USB microphones to a Raspberry Pi and processing the audio streams using C or Python. The speaker has searched online for solutions and found various resources, including forum discussions, tutorials, and products specifically designed for multiple microphones on the Pi. The conversation also mentions the possibility of using a sound card extension and the current plan to focus on software configuration before considering purchasing additional hardware.
  • #1
14,800
9,148
Has anyone here managed to connect to two USB microphones to a Raspberry-PI and been able to process the two audio streams via C or Python?

I've been searching online for solutions and of course found others in the same boat but no one apparently can find the paddle. Its for a summer project done by some HS students using a PI v3 and some USB lapel mics with -30dB sensitivity.

Both USB mics are from the same manufacturer but one gets disabled when plugged in. It may require software configuration to the .asoundrc file but I haven't begun the hacking effort yet and hesitate until I see that its really needed.

Some related search pages I've found are:

1) Configuring a mic using .asoundrc
https://www.raspberrypi.org/forums/viewtopic.php?t=162127

2) Someone with the same problem circa 2015
https://www.raspberrypi.org/forums/viewtopic.php?t=113480

3) Using PyAudio from multiple mics:
https://raspberrypi.stackexchange.c...dio-recording-from-multiple-microphones/66593

4) Multiple mics and Jesper using an audio card
https://github.com/jasperproject/jasper-client/issues/53

5) Wireless remote mics:
https://www.raspberrypi.org/forums/viewtopic.php?f=41&t=78185

6) digikey product for multiple mics:
https://www.digikey.com/en/product-highlight/s/seeed/respeaker-2-mics-raspberry-pi-hat

7) Two apps using the same mic (not my plan but could be two apps using separate mics at the same time)
https://www.raspberrypi.org/forums/viewtopic.php?t=180872

8) Connecting 4 mics on the PI (no solution)
https://raspberrypi.stackexchange.com/questions/58170/multiple-microphones/58174

9) Kickstarter project for multiple mics for PI
https://www.kickstarter.com/project...surround-sound-for-the-raspber?token=e465b540

http://shop.audioinjector.net/detail/sound_card/Octo+Raspberry+pi+sound+card

10) ALSA tutorial for PI Barkometer project:
https://www.networkworld.com/articl...a-raspberry-pi-powered-barkometer-part-3.html

11) USB mini mic setup on PI
http://wiki.sunfounder.cc/index.php?title=To_use_USB_mini_microphone_on_Raspbian
 
Physics news on Phys.org
  • #3
These two references look great thanks. I will pass them to my students.

Its curious that they didn't show up during my initial search.
 
  • #4
jedishrfu said:
Its curious that they didn't show up during my initial search.
They were about 5 or 6 deep down a rabbit hole from your reference "10)".

Cheers
 
  • Like
Likes jedishrfu
  • #5
Ahh okay. We've gotten past the static noise issue they were having and now the remaining one is the two mic setup. Some folks have suggested getting a sound card extension while others say it could be a simple configuration issue so we are going the config route first before splurging on a sound card (roughly $10 for two I think)
 

Related to Connecting two USB mics to Raspberry-PI

1. Can I connect two USB mics to Raspberry-PI at the same time?

Yes, you can connect two USB mics to Raspberry-PI simultaneously. However, there are a few things to keep in mind. First, make sure your Raspberry-PI has enough USB ports to accommodate both mics. Second, check if your USB mics are compatible with Raspberry-PI. Some mics may require additional drivers or software to work with Raspberry-PI.

2. Do I need any special equipment to connect two USB mics to Raspberry-PI?

No, you do not need any special equipment to connect two USB mics to Raspberry-PI. As long as your mics have USB connections and your Raspberry-PI has available USB ports, you should be able to connect them without any extra equipment.

3. Can I use two USB mics to record audio separately on Raspberry-PI?

Yes, you can use two USB mics to record audio separately on Raspberry-PI. This is useful for conducting interviews or recording multiple instruments at the same time. You will need to configure your recording software to recognize and use both mics as separate audio inputs.

4. Will connecting two USB mics to Raspberry-PI affect the audio quality?

It depends on the quality of your USB mics and the capabilities of your Raspberry-PI. If your mics are of good quality and your Raspberry-PI can handle multiple audio inputs, then there should be no significant impact on the audio quality. However, if your mics or Raspberry-PI are of lower quality, you may experience some degradation in audio quality.

5. How can I troubleshoot if my Raspberry-PI is not recognizing both USB mics?

If your Raspberry-PI is not recognizing both USB mics, first make sure that both mics are properly connected to the USB ports. You can also try restarting your Raspberry-PI and checking for any updates or drivers that may be needed for your mics. If the issue persists, you may need to seek further technical assistance or consider using a different set of USB mics.

Similar threads

  • Programming and Computer Science
Replies
4
Views
499
  • DIY Projects
Replies
9
Views
2K
  • Computing and Technology
Replies
3
Views
2K
  • Computing and Technology
Replies
10
Views
2K
  • DIY Projects
Replies
5
Views
2K
  • Electrical Engineering
Replies
2
Views
1K
Replies
6
Views
2K
  • Electrical Engineering
Replies
2
Views
985
Replies
3
Views
1K
  • Programming and Computer Science
Replies
4
Views
2K
Back
Top