I am trying to use the Google Text to Speech API and generate an MP3 file from Google and then play it on the ESP32 with MAX98357A connected. Someone below wrote code to somewhat do that but I keep getting Watchdog errors or other errors:
https://github.com/oroca/oroca_can
https://www.youtube.com/watch?v=lPwdcfhJnrY
Using this library I can generate the URL's for the MP3 file:
https://github.com/horihiro/esp8266-google-tts
Here is an example Hello World URL to play:
https://translate.google.com/translate_ ... ttsspeed=1
I know the hardware works because I load the bluetooth speakers and it plays fine.
Any help would be great!
ESP32 + max98357a + online MP3 for Google TTS
Re: ESP32 + max98357a + online MP3 for Google TTS
I found the answer here:
https://github.com/schreibfaul1/ESP32-audioI2S
Shout out to this person, really great work!
https://github.com/schreibfaul1/ESP32-audioI2S
Shout out to this person, really great work!
Re: ESP32 + max98357a + online MP3 for Google TTS
Even no need any IC
https://youtu.be/Hy_MJePQ33Q
Here is example on a transistor amplifiers for mic and loudspeaker
https://youtu.be/Hy_MJePQ33Q
Here is example on a transistor amplifiers for mic and loudspeaker
-
- Posts: 6
- Joined: Mon Jan 25, 2021 3:54 am
Re: ESP32 + max98357a + online MP3 for Google TTS
@brolly759, I'm trying to do the same thing using Atom Echo Smart Speaker Development Kit. How to play the audio file from google tts url and store the mp3 file for future replay?
Who is online
Users browsing this forum: No registered users and 36 guests