Google TTS speak in Chunks #1926
hammerheaddown
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So i am new to C++ and esp programming but have dabbled in coding so i have a tiny grasp lol
so with that said, please pick apart and clean up. I'm sure there are a ton that can be cleaned up
One thing some may be confused by is so many calls to free heap, i found that these processes take a ton of memory so i try and clean that up so it runs smoother.
I tried to find all the dependencies etc. and put in here, it works great you barely ever notice the pause between audio
I wanted to give back and hope it helps someone else, had to make a few edits i forgot some things lol
ALSO is more for LONG sentences, like what you get back from openAI or gemini or similar
call it like this:
Beta Was this translation helpful? Give feedback.
All reactions