Connecting two USB mics to Raspberry-PI

  • Computer
  • Thread starter jedishrfu
  • Start date
  • #1
11,475
5,000

Main Question or Discussion Point

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.com/questions/64439/pyaudio-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/projects/1250664710/audio-injector-octo-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/article/3120420/internet-of-things/building-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
 

Answers and Replies

  • #3
11,475
5,000
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
Tom.G
Science Advisor
3,052
1,804
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
 
  • #5
11,475
5,000
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 Threads for: Connecting two USB mics to Raspberry-PI

Replies
4
Views
3K
Replies
25
Views
2K
Replies
9
Views
2K
Replies
8
Views
993
Replies
10
Views
768
Top