-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Playing mp3 files in a function on ESP32 #463
Comments
Same problem-- how to manage various audio files and trigger them as part of other code. Seems so basic, but managing the memory and file loading is immediately confusing. Also, I'm failing to understand how we need to manage The only thing like this is the example was the speech synthesis source. The audio quality is horrific, but it's looped. |
This will play an mp3 file by name... There seem to be a lot of click/pop issues though... |
Thanks for tis :)= sorry for the delay. I have built a case structure that allows me at least to loop through the list o files I have on the ESP32, and I am hoping to get that included in the main structure, but I will surely take a look at your solution. |
Hi,
I wanted to thank you for building this library. I am hoping to build a talking clock, with MP3 files for the sounds of "oh one"... "oh nine" and then "one" to "fifty nine". I have the files made already and they all fit under 2MB of SPIFFS memory on the ESP32.
What I am struggling with is trying to build a method for running a function that actually plays the sound. The example has only one sound file, and while I can play my own sound, adding more than one doesn't work.
So, what should the structure be in the loop that would allow for a sound to be played and then wait for the next?
The text was updated successfully, but these errors were encountered: