Open MartinThoma opened 1 year ago
In my case, it doesn't really generate anything unless I specify a format different from MP3 and the files seem to be broken...
If someone still needs it, I found gtts that has the function.save()
that will accomplish the task correctly.
Bump I have this same issue on Mac OS Ventura Python 3.11.2
@joemama0s Did you try using gTTS?
I've noticed that
save_to_file
silently fails for slightly longer texts.I guess that some people coming to https://github.com/nateshmbhat/pyttsx3/issues/7 / https://github.com/nateshmbhat/pyttsx3/issues/71 / https://stackoverflow.com/q/67625515/562769 might have the same issue.
Environment
pyttsx3
: Tried with latest on pip (2.90) and with current master ( https://github.com/nateshmbhat/pyttsx3/commit/5d3755b060a980f48fcaf81df018dd06cbd17a8f )Code
Works
Doesn't work