Processing audio over I2S choosing the right MCU #11522
Replies: 4 comments 8 replies
-
It is nice article about using esp32 in audio ( using I2S ) ESP32 Audio Input - MAX4466, MAX9814, SPH0645LM4H, INMP441 with [youTube video demonstration] (https://www.youtube.com/watch?v=pPh3_ciEmzs) , so at least You can see how it is work. but its all coded in C/C++ but cover typical hardware problems (noise source, etc) |
Beta Was this translation helpful? Give feedback.
-
Assuming you don't need wifi, a Teensy 4.1 would be my choice. The Teensy 4.1 will have at least twice the raw processing power compared to an ESP32-S3. I would select a Teensy 4.1 over a Teensy 4.0 because the Teensy 4.1 includes a built-in SD card slot can use the very fast |
Beta Was this translation helpful? Give feedback.
-
The external memory slots are not supported by MicroPython. It's on my list, but not done, and I'm not sure whether it will. The external RAM is much slower than the internal RAM. |
Beta Was this translation helpful? Give feedback.
-
@miketeachman @robert-hh I would question whether MP was capable of the throughput required for implementing FX in real time. I wrote an fir filtering module which did realtime audio frequency filtering on a Pyboard. However the audio sampling was on a single ADC channel, and the code is in assembler. See performance: a 44.1KHz sample rate would be borderline. Implementing an FIR filter is extremely simple compared to the DSP required for some audio FX. Admittedly modern platforms are faster than a Pyboard 1.1, but I do have questions over whether this can be done without extensive use of C/Asm. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Should I go for a mimxrt/Teensy or an ESP32-S3 for audio processing using Micropython? The idea is to create a FX module taking audio in using an external ADC (like 24bit, 44.1 kHz), process it and send it back out using an external DAC (same quality specs) as fast as possible.
Anyone suggestions or experience with both MCU's in audio?
The work of @miketeachman for I2s processing for Micropython is fantastic, now I need to choose the right work horse.
Cheers,
Sara
Beta Was this translation helpful? Give feedback.
All reactions