- Based on pyttsx, click pyttsx to learn more about and get examples.
- Translate text to voice by play chinese.
Before use pyttsx, we need install lib:
pip install pyttsx
There are three voices belongs to Chinese
'com.apple.speech.synthesis.voice.mei-jia',
'com.apple.speech.synthesis.voice.sin-ji.premium',
'com.apple.speech.synthesis.voice.ting-ting'
We should assign them by use API.