Simple python3 wrapper for Festival TTS Voice Synthentizer, with installer script for debian based distributions and optimized for catalan and spanish
Note: you can use it any linux system, but the installer script only work on debian based systems with apt, dpkg and wget, and festival on its repositories
A ) bash install.sh
Other way if fails
B ) sudo bash installer-script-sudo.sh
text -t
--text
language -l
--lang
(ca, es, en) more can be added
gender -g
--gender
(male or female)
voice -x
--voice
(select voice instead language and gender)
list voices -s
--list-voices
(list available voices)
help -h
version -v
--version
Print Festival and Python3 versions
The voices are defined in configuration.json
,
if you want to install more voices,
you need to reference new voice in its own lang-gender property.
If you not sure about the voice name, list voices with the command option -s
python3 tts_engine.py -t 'Aixo es una prova' -l ca -g female
python3 tts_engine.py --text 'Esto es una prueba' --lang es --gender male
python3 tts_engine.py -t 'This is a test' -l en -g male
or
python3 tts_engine.py -t 'This is a test' -x cmu_us_slt_arctic_hts
catalan (male & female)
spanish (male & female)
english (male & female)
You can modify current voices, download more for current and other languages simply installing them (usually are packaged in .deb), or extracting its content in festival system folder.
Note: Italian voices don't work with my festival version