TTS Plugin for MaryTTS
MaryTTS needs to be installed separately and may be running in a different machine
"tts": {
"module": "ovos-tts-plugin-marytts",
"ovos-tts-plugin-marytts": {
"url": "http://0.0.0.0:59125",
"voice": "cmu-slt-hsmm"
}
}
Standalone usage
from ovos_tts_plugin_marytts import MaryTTS
engine = MaryTTS(config={"url": "http://0.0.0.0:59125"})
engine.get_tts("hello world", "test.wav")
Docker text to speech server and a collection of hidden semi-Markov model (HSMM) voices for various languages in a multi-platform Docker image.
Supported Platforms:
-
amd64
- laptops, desktops, servers -
arm/v7
- Raspberry Pi 2/3 -
arm64
- Raspberry Pi 3+/4
$ docker run -it -p 59125:59125 synesthesiam/marytts:5.2
You should now be able to access the server at http://localhost:59125
Beware that this may consume a lot of RAM on a Raspberry Pi!
You can control which voices are loaded with -v
or --voice
arguments:
$ docker run -it -p 59125:59125 synesthesiam/marytts:5.2 --voice cmu-slt-hsmm --voice cmu-rms-hsmm
This will only loaded the necessary JARs for the specified voices, which may help conserve RAM on a Raspberry Pi.
A list of voices can be obtained with:
$ docker run -it synesthesiam/marytts:5.2 --voices
A few tts server projects offer MaryTTS compatible APIs and can be used with this plugin