Closed schmouk closed 3 years ago
Finally, found that library pyttsx3
was fine: (pip install pyttsx3
, pypi project https://pypi.org/project/pyttsx3/
, github repository: https://pypi.org/project/pyttsx3/
). Works also with Python 3.8 while developed w. Python 3.7 max.
Installed, played a little bit with it. Ok for numbers, in French and in English!
Preferred to use library pyttsx3
rather than Google one gTTS
because pyttsx3
is directly callable in Python while gTTS
generates first files that can then be played on demand by os.system()
calls (which is less easy to use and which could later lead to security concerns!)
Search for such a free library, then download it for it to be accessible from application AVT.