nateshmbhat / pyttsx3

Offline Text To Speech synthesis for python
Mozilla Public License 2.0
1.99k stars 321 forks source link

Is this a joke? #282

Closed Marcophono2 closed 1 year ago

Marcophono2 commented 1 year ago

Sorry to ask but: Is this project a joke? The voice "quality" is somewhat from a C64 computer game from 1985! Or did I something wrong? After not bringing it to work on my Windows computer I tried it with Ubuntu with the default example code with that "crazy dog" with all available voices in a loop. Eeehm. No. thank you. :-)

Jiangshan00001 commented 1 year ago

in linux, the default engine is espeak. if you want better quality, you can try:

pip install pyttsx4
pip install TTS
engine = pyttsx4.init('coqui_ai_tts')

engine.say('this is an english text to voice test, listen it carefully and tell who i am.')
engine.runAndWait()

BTW: it uses deeplearning model. the first time you run it, it may take some time to download the model