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

Added basic Espressif PDM microphone support #7454 #9828

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JetForMe
Copy link

This PR adds basic PDM microphone support to the Espressif port. Only the most basic functionality has been tested: 16-bit, monophonic input seems to generate appropriate data when viewed in the Arduino plotter.

Support required adding implementations in ports/espressif/common-hal/audiobusio/PDMIn.[c|h], as well as a change to shared-bindings/audiobusio/PDMIn.c to allow for clean deinit of underlying ESP-IDF objects.

This PR is not intended to be complete, I just wanted to get it in front of more people to get feedback.

@dhalbert dhalbert marked this pull request as draft November 25, 2024 04:14
@tannewt
Copy link
Member

tannewt commented Nov 26, 2024

Code looks reasonable to me. I say keep going. :-) Thanks!

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

Successfully merging this pull request may close these issues.

2 participants