ESP32-audioI2S icon indicating copy to clipboard operation
ESP32-audioI2S copied to clipboard

TTS

Open optimaxch opened this issue 3 years ago • 2 comments

wolle, working fine till about 5 words - than continues in " scratchy sound "

danke rudi

optimaxch avatar Sep 08 '22 07:09 optimaxch

s o r r y, i overstressed ESP32 pico with additional Serial.print cmd -- this caused the scratch-sound

ALL WORKING FINE ALSO STREAM

thanks rudi

failure: while (connect ==true) { audio.loop(); //Serial.print("audio loop sleep "); }
without Serial.print WORKING!

optimaxch avatar Sep 08 '22 09:09 optimaxch

Hello, Serial.print is too slow to be called continuously in a loop. Maybe it goes like this:

int i = 0;
while(connected){
    audio.loop();
    if(!i) Serial.Print("sleep");
    i++;
    if(i == 1000) i = 0;
}

schreibfaul1 avatar Sep 08 '22 10:09 schreibfaul1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 14 '23 01:04 stale[bot]