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 microphone is not supported #8

Open
gardners opened this issue Jan 26, 2014 · 0 comments
Open

Stereo microphone is not supported #8

gardners opened this issue Jan 26, 2014 · 0 comments

Comments

@gardners
Copy link
Owner

The stereo microphone is likely very easy to add support for. We can just map the left and right samples to a couple of registers.

The ADMP421 outputs in Pulse Density Modulation (PDM), which would need conversion to 8-bit samples.

The first stage is to simply clock the unit at 1MHz - 5MHz. Higher frequencies are probably preferable for improving audio quality.

Then pull the audio bits out for left and right channels alternately.

Finally, the samples need to be integrated from the pulse stream. We need to find a suitable algorithm for this. It might be as simple as counting the 1s in the most recent x pulses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant