ESP32-audioI2S icon indicating copy to clipboard operation
ESP32-audioI2S copied to clipboard

Slow reading

Open kevinderome opened this issue 1 year ago • 0 comments

Hello,

First of all, thank you very much for the work done with this library!

I tested all the tags to see if there was a faster one, but unfortunately, there wasn't. I need to quickly read small .mp3 or .wav files stored on the SPIFFS or SD card, and currently, there is an average delay of about 2300 ms before the sound is heard.

For example, I press a button that triggers a sound feedback, and it needs to be able to start about 300 ms after the press. I have tested on the ESP32 S3 N16R8 as well as on the XIAO S3 with 8 MB of PSRAM. For the code, I rely on the basic examples. I tested with .mp3 and .wav files (thinking the latter would be faster to read since no decoding is necessary).

Do you experience a delay at startup, or are you able to achieve near real-time response?

Thank you very much in advance,

Kevin

kevinderome avatar Oct 14 '24 09:10 kevinderome