Last updated:
0 purchases
pyfreetts 0.1.1
Features
Support text to speech with many pretty voices options
Support download file mp3 from TTS
Installation
Windows
python -m pip install pyfreetts
Linux
pip install pyfreetts
macOS
sudo pip3 install pyfreetts
How does it work?
Setup Language for Converting
To setup language and voice using the method setup_voice(language_code), where language_code :
English US : am
English UK : br
Portuguese (Brazil): pt-br
Portuguese (Portugal): pt
The other languages : ISO LANGUAGE CODE 639-1
from pyfreetts import Text2Speech
module = Text2Speech()
module.setup_voice("am")
module.convert("how are you?")
module.save_to_file("test.mp3")
module.close()
Output
>> All voices for your language:
>> 1. Joey - Male - SAPI5
>> 2. Justin - Male - SAPI5
>> 3. Matthew - Male - SAPI5
>> 4. Salli - Female - SAPI5
>> 5. Joanna - Female - SAPI5
>> 6. Ivy - Female - SAPI5
>> Make your choice: 3
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.