I want to give my Linux robot the ability to locate a sound source and drive towards it. I am reading a paper on sound localization that seems to cover the theory well enough, but I'm at a loss as to how do I implement it. Specifically I would like to know:

  1. How do I connect two microphones to a Linux PC?
  2. How do I record from two microphones simultaneously?
  3. Is there any library of sound processing algorithms (similar to how OpenCV is a library of computer vision algorithms) available for Linux?
  • $\begingroup$ Does the sound processing need to be done in software instead of in hardware? To break left/right ambiguity, you would need at least 3 microphones. $\endgroup$ – Ian Jun 2 '14 at 21:41
  • $\begingroup$ I'd rather not use custom hardware if possible. And I'm OK with the robot having to turn and wait for further input in order to resolve any ambiguous cases. $\endgroup$ – xperroni Jun 3 '14 at 0:51
  • $\begingroup$ Even without custom hardware, each audio input will require its own hardware parts - specifically, additional audio processor PCI cards or USB converters. There are numerous open source audio processing applications (many for music mixing) that can record audio from multiple sources. As for the libraries, I am unaware of any. The best solution will likely be a custom, external one. $\endgroup$ – Kurt E. Clothier Oct 18 '15 at 5:45
  • $\begingroup$ Just in case you don't know this little fellow mykeepon.com. $\endgroup$ – Marian Paździoch Jul 19 '16 at 13:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.