vits-gl_es-brais-proxecto_nos-graphemes
A VITS model by Proxecto Nós, from OpenVoiceOS/proxectonos-brais-vits-graphemes-onnx, packaged for phoonnx, our ONNX text-to-speech library.
Model details
| Architecture | VITS |
| Upstream | OpenVoiceOS/proxectonos-brais-vits-graphemes-onnx |
| Author | Proxecto Nós |
| Languages | gl-ES |
| Text input | characters of the text |
How to use
pip install --pre phoonnx
import wave
from phoonnx.model_manager import TTSModelManager
manager = TTSModelManager()
manager.load()
manager.merge_default_voices()
voice = manager.voices["proxectonos/brais"].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/brais"}}}
Text front end
phoonnx hands the text to scriptconv, our text conversion library, which normalises it and turns it into the model's input:
graphemes:GraphemePhonemizerfromscriptconv.phonemizers.base, in scriptconv itself.
phoonnx voices
proxectonos/brais
Licence
The licence is mit. The upstream release states its terms.
Related projects
- phoonnx: runs this model, in Python and in OVOS.
- scriptconv: text normalisation, script conversion and phonemizers for phoonnx.
- The VITS collection: every VITS model packaged for phoonnx.