ITADN

"Adapting" the Front End of ESP32-audioI2S Library

#1290Opengfvalvo 创建于 2026-04-23
G
gfvalvocommented
This isn’t a problem / issue but a question. I’ve built a system that includes a Teensy 3.6 processor, VS1053 hardware CODEC, and an I2S power amplifier. Basically, the Teensy reads .mp3 files from an SD card, and transfers the bytes to the VS1053 via SPI. The VS1053 decodes the mp3 and sends decoded audio back to the Teensy via I2S. The audio then runs through the Teensy Audio Library where filtering and other effects can be applied. Finally, it’s sent the I2S power amp. So, the question … I’d like to have an internet radio source in addition to the SD card with .mp3 files. My idea is to use the “front end” of ESP32-audioI2S Library to handle all the online stuff (connecting the host, the HTTP Kabuki Dance, authorization, etc), format identification, reading from the client, buffering the data. Then I’d integrate my own “CODEC” class into the library. Instead of decoding the buffered data and sending audio to the ESP32 I2S interface, it would simply transfer the raw data to the Teensy (probably over UART at ~2Mbaud). The Teensy would then send it to the VS1053 as above. So, does this sound like a viable thing to do? Thanks.
0 条评论