A Matcha-TTS model by Proxecto Nós, from proxectonos/Nos_TTS-celtia-matcha-graphemes, packaged for phoonnx, our ONNX text-to-speech library.
| Architecture | Matcha-TTS |
| Upstream | proxectonos/Nos_TTS-celtia-matcha-graphemes |
| Author | Proxecto Nós |
| Languages | gl-ES |
| Text input | characters of the text |
pip install --pre phoonnx
import wave
from phoonnx.model_manager import TTSModelManager
manager = TTSModelManager()
manager.load()
manager.merge_default_voices()
voice = manager.voices["proxectonos/celtia-matcha-graphemes"].load()
with wave.open("output.wav", "wb") as wav_file:
text = "..." # a sentence in gl-ES
voice.synthesize_wav(text, wav_file)
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": "proxectonos/celtia-matcha-graphemes"}}}
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.proxectonos/celtia-matcha-graphemesThe upstream declares the licence apache-2.0 in the model card of proxectonos/Nos_TTS-celtia-matcha-graphemes.