Skip to content
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

Stereo. Could it be done? #11

Open
dimwap opened this issue Feb 15, 2022 · 2 comments
Open

Stereo. Could it be done? #11

dimwap opened this issue Feb 15, 2022 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@dimwap
Copy link

dimwap commented Feb 15, 2022

2 mic => stereo...
How many reworks will it take to make the sound stereo?

@dimwap dimwap changed the title Stereo? Could it be done? Stereo. Could it be done? Feb 15, 2022
@sandeepmistry sandeepmistry added the question Further information is requested label Mar 23, 2022
@sandeepmistry
Copy link
Member

Hi @dimwap,

Did you want this feature for the analog microphones or PDM microphones?

I anticipate a few changes needed to support this feature:

  1. The context would need to be updated so that it is passed into each API. Currently this is one static instance.

  2. For PDM microphones, there are two options:

    1. Have two instances of the microphone

    2. Or update the PIO state machine code to clock in data on both rising and falling edges, using the mic's SEL pin to select if the microphone is right or left.

There could be some performance issues for PDM microphones, as the filtering algorithm needs to run fast enough to process the raw data in real-time. For i) a work around could be to have one microphone per core.

Maybe we can use #3 to track this request?

@dimwap
Copy link
Author

dimwap commented Mar 24, 2022

Did you want this feature for the analog microphones or PDM microphones?

I understand that difficulties are possible.
Therefore, it will suit any option where a stereo microphone is possible, Analog or otherwise.

@sandeepmistry sandeepmistry added enhancement New feature or request help wanted Extra attention is needed and removed question Further information is requested labels Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants