Juliangresh
New member
Hi,
I am running into some issues while using the Audio Shield on the Teensy 4.0.
I am trying to make a simple Audio Player to be controlled over UART by an ESP32.
Here is my code:
All seems to work fine but every couple of minutes, when playing a file, it sounds like some data gets dropped and there is a loud audio glitch for about a second (paired with the device LED getting much brighter) before returning to playing the audio.
Initially thought that this might relate to the UART communication either from the ESP32, or from the laptop I am using to monitor it, though this keeps happening even after both are disconnected and the audio file just plays uninterrupted.
Note: The Audio file is 8 min long.
I am new to working with both the Teensy board and C++, since I usually work with the ESP32 an C, But I did follow the examples on the Github from which I got most of my code.
I did find a similar thread (describing what I think is the exact same issue) posted over 2 years ago but I didn't really understand if it was resolved.
Does anything seem obviously wrong? What should I try?
Thank you!!
I am running into some issues while using the Audio Shield on the Teensy 4.0.
I am trying to make a simple Audio Player to be controlled over UART by an ESP32.
Here is my code:
All seems to work fine but every couple of minutes, when playing a file, it sounds like some data gets dropped and there is a loud audio glitch for about a second (paired with the device LED getting much brighter) before returning to playing the audio.
Initially thought that this might relate to the UART communication either from the ESP32, or from the laptop I am using to monitor it, though this keeps happening even after both are disconnected and the audio file just plays uninterrupted.
Note: The Audio file is 8 min long.
I am new to working with both the Teensy board and C++, since I usually work with the ESP32 an C, But I did follow the examples on the Github from which I got most of my code.
I did find a similar thread (describing what I think is the exact same issue) posted over 2 years ago but I didn't really understand if it was resolved.
Does anything seem obviously wrong? What should I try?
Thank you!!