ESP32-audioI2S
ESP32-audioI2S copied to clipboard
audio.connecttospeech() function not working on long sentences
I get a memory error message when using a long sentence in the audio.connecttospeech() function, is there any way to save that sentence to SD memory instead of Esp32 memory, or is there another way to save it to free memory on Esp32?
Thank you
Even if you have a lot more memory, the long message won't work. This is some kind of error and apparently an additional check for buffer overflow is needed. This is observed in many people. I split the text into lines and send it in batches, otherwise an error reboot occurs.
Google limits the length of the string. I don't know of any equivalent free alternative.