You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am using the ESP32 to play some sounds from an SD card.
When the files are smaller that the buffer size, the playback is fine, but if a file is longer that the buffer size, there is stuttering for loading the next buffer and crashes after a bit. I have tried to:
up the buffer size, but there is a limit to RAM and I don't want to go to the external RAM route
up the read speed of the SD card, this helped but it was not enough to completely remove the stuttering
use the AudioFIleSourceBuffer class with double the buffer size, with no changes to performance
Is there a better way to avoid the problem without adding external RAM to my project?
Here is part of the code that handles audio playback:
Hello, I am using the ESP32 to play some sounds from an SD card.
When the files are smaller that the buffer size, the playback is fine, but if a file is longer that the buffer size, there is stuttering for loading the next buffer and crashes after a bit. I have tried to:
Is there a better way to avoid the problem without adding external RAM to my project?
Here is part of the code that handles audio playback:
The text was updated successfully, but these errors were encountered: