A Glow-TTS model by Coqui, from github.com/coqui-ai/TTS/releases/download/v0.6.1_models/tts_models--uk--mai--glow-tts.zip, packaged for phoonnx, our ONNX text-to-speech library.
| Architecture | Glow-TTS |
| Upstream | github.com/coqui-ai/TTS/releases/download/v0.6.1_models/tts_models--uk--mai--glow-tts.zip |
| Author | Coqui |
| Languages | uk-UA |
| Text input | characters of the text |
| Vocoder | multiband_melgan-uk_ua-mai |
pip install --pre phoonnx
import wave
from phoonnx.model_manager import TTSModelManager
manager = TTSModelManager()
manager.load()
manager.merge_default_voices()
voice = manager.voices["coqui-uk-mai-glow-tts"].load()
with wave.open("output.wav", "wb") as wav_file:
text = "..." # a sentence in uk-UA
voice.synthesize_wav(text, wav_file)
The model makes a spectrogram, and the vocoder in Model details turns it into audio. phoonnx downloads the vocoder with the voice.
In OVOS, phoonnx installs the ovos-tts-plugin-phoonnx plugin. Select the voice in mycroft.conf:
{"tts": {"module": "ovos-tts-plugin-phoonnx", "ovos-tts-plugin-phoonnx": {"voice": "coqui-uk-mai-glow-tts"}}}
phoonnx hands the text to scriptconv, our text conversion library, which normalises it and turns it into the model's input:
graphemes: GraphemePhonemizer from scriptconv.phonemizers.base, in scriptconv itself.coqui-uk-mai-glow-ttsThe upstream declares the licence MIT in the Coqui TTS model list.