ESP32_MP3_Decoder icon indicating copy to clipboard operation
ESP32_MP3_Decoder copied to clipboard

Wake up lag in Bluetooth audio path

Open digsub opened this issue 6 years ago • 2 comments

I've replicated this excellent project using an ESP32 Dev Board and Adafruit MAX98357A Breakout #3006 such that continuous music streamed from my Android phone to ESP_SPEAKER sounds fine.

My issue, however, is that short, intermittent sound clips from the phone are initially somewhat truncated e.g. "Welcome to Android" might be heard "come to Android." The same audio thru the phone's native speaker is not truncated.

So, judging wake up lag to be at fault, I might prime the Bluetooth audio path by sending brief silence before each sound clip. This seems kludgy though and I'm hoping for deeper understanding and perhaps a better solution. Any thoughts?

Thanks!

digsub avatar Apr 16 '18 11:04 digsub

I noticed this as well, but haven't investigated. Good luck in your investigation!

MrBuddyCasino avatar Apr 17 '18 12:04 MrBuddyCasino

I'm glad I'm not the only one with this issue and assuming you won't mind I'll also post to the ESP32 forums for help. I'll update this thread with any solution. Keep up the great work!

digsub avatar Apr 17 '18 13:04 digsub