Connecting two USB mics to Raspberry-PI

  • Context: Computer 
  • Thread starter Thread starter jedishrfu
  • Start date Start date
  • Tags Tags
    Usb
Click For Summary

Discussion Overview

The discussion revolves around the challenges of connecting two USB microphones to a Raspberry Pi, specifically focusing on processing the audio streams using C or Python. The context includes a summer project by high school students using a Raspberry Pi v3 and USB lapel mics with -30dB sensitivity. Participants explore potential solutions and configurations, particularly regarding the .asoundrc file.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant notes that one of the two USB microphones gets disabled when plugged in, suggesting a possible software configuration issue with the .asoundrc file.
  • Another participant shares various online resources related to configuring microphones and using multiple audio devices, indicating the complexity of the issue.
  • Some participants mention that they have resolved a static noise issue but are still facing challenges with the dual microphone setup.
  • There are suggestions that a sound card extension might be necessary, while others believe it could be addressed through configuration adjustments first.
  • One participant expresses surprise that certain helpful references did not appear in their initial search results.

Areas of Agreement / Disagreement

Participants generally agree that the issue of connecting two USB microphones is complex and may involve both configuration and hardware considerations. However, there is no consensus on whether a sound card is necessary or if the problem can be resolved through software configuration alone.

Contextual Notes

Some limitations include the potential need for specific configurations in the .asoundrc file, the dependency on the particular USB microphones used, and the unresolved nature of the dual microphone setup issue.

Who May Find This Useful

This discussion may be useful for individuals working on audio processing projects with Raspberry Pi, particularly those interested in using multiple USB microphones or facing similar configuration challenges.

Messages
15,681
Reaction score
10,476
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
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.
 
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   Reactions: jedishrfu
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)
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
14
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K