adafruit / circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers
https://circuitpython.org
Other
4.02k stars 1.19k forks source link

audiobusio.I2SIn support #5456

Open nruffilo opened 2 years ago

nruffilo commented 2 years ago

I2S out support works great, but it would be wonderful to have I2S IN support - similar to PDM. The Adafruit i2s microphone breakout board is I2S and I cannot utilize it with CircuitPython.

shulltronics commented 1 year ago

@nruffilo -- Any progress on this? I may would love to see this feature and might start working on it, so I'm wondering if you've tried anything yet

nruffilo commented 1 year ago

@nruffilo -- Any progress on this? I may would love to see this feature and might start working on it, so I'm wondering if you've tried anything yet

sadly it seems to be in "long term" but no work done. I switched to arduino / c for my code...

matthewbal commented 1 year ago

I'm pretty disappointed that I can't use the Adafruit I2S MEMS Microphone Breakout in circuit python, I guess I should have picked up the PDM microphone. I assumed that since circuit python supported I2S out it would have supported I2S in, this would be good to make clear on the product page that there is no support in circuit python and no planned support.

dhalbert commented 1 year ago

@matthewbal you can use the recently-added analogbufio on RP2040 boards to sample with an analog microphone. It is in 8.0.0-beta.5. See https://docs.circuitpython.org/en/latest/shared-bindings/analogbufio/index.html

matthewbal commented 1 year ago

@dhalbert Thank you for the tip, I'm trying to get audio in + audio out + a wifi connection on a Pico W, but that combination of features is turning out to be difficult! I'll pick up a few different microphone types and figure out which one will work best in circuitpython :)

bjohas commented 1 year ago

Hello all,

I've very interested in i2s input, which we're using for https://opendeved.net/ilce, a project in Tanzanian schools.

Is there any way this integration could be accelerated? We'd be happy to offer a bounty.

shulltronics commented 1 year ago

@bjohas -- I'm on travel this summer and don't have the hardware I would need to work on this, unfortunately :( I think the soonest I could get around to helping here will be in August.

bjohas commented 1 year ago

Hi @shulltronics - I've connected with you on LinkedIn. Let's exchange details, and then we can see where we are in August?

ebad84 commented 9 months ago

hi meme's microphones are very good for voice recognition and word detection projects is there any way to get some value from an memes microphone, like INMP441?

bmoren commented 2 months ago

Chiming in here for ask for access to I2s in for microphones! Thank you all :)