-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support mic array? #3
Comments
Hi @nanfang2000, This should be possible to do for stereo PDM microphone input, however it is currently not supported by this library. |
Happy to review a pull request for this feature. At this time there are no plans for our team to develop this feature. |
Hey @nanfang2000 , did you make any progress here? @sandeepmistry I am trying to do this and will PR if successful, any idea if we could go past two microphones, given that the microphone uses RP2040 PIO, which there are only two of? |
I have done this here: https://github.com/CaydenPierce/MSA Modifying the system to support multiple microphones at once with a master PIO state machine for data and clock and slave PIO state machines for just data. Currently I have 4 microphones streaming data in. @sandeepmistry my repo is a fork of a fork, but I would be up to PR this stuff if we can make it work, checkout the repo |
Caydan that is really cool you also managed 48k x4 ? This is really cool as respeaker do a collection of hats using TDM on the single pi port and there is no way to guarantee the channel order and in my mind totally useless even if sold by various vendors. On the Pi I molested some code to do a delay-sum beamformer where really the only load is the GCC-PHAT to get TDOA. Invensense did a great app note on simple beamforming https://invensense.tdk.com/download-pdf/an-1140-microphone-array-beamforming/ Where at 48Khz your 2 channel broadside should be approx 60-75mm which works in my above code molestation and if anyone is capable of providing a better neon optimised FFT then please do. |
I have built according to your git. But when copying to Pico it doesn't work. Although when building for 1 mic pdm thep git in the main branch it still works. Can you help me find out what's wrong? |
@CaydenPierce I am also interested in how to get this working. I built your firmware and wired my mics up similar to the pcb schematic (I changed mics 3 and 4 to GPIO 14 and 15), but the usb device doesn't show up. Did you need to overclock the pico? When I overclock mine, the device shows up but doesn't work as an audio device. |
Is it possible to support multiple PDM microphone and as USB microphone?
The text was updated successfully, but these errors were encountered: