VITS
Collection
VITS voices in ONNX for phoonnx: Piper, MMS, Coqui VITS and VITS2, one voice per repo. • 1,581 items • Updated
A VITS model by Proxecto Nós, from proxectonos/Nos_TTS-icia-extended-vits-phonemes, packaged for phoonnx, our ONNX text-to-speech library.
| Architecture | VITS |
| Upstream | proxectonos/Nos_TTS-icia-extended-vits-phonemes |
| Author | Proxecto Nós |
| Languages | gl-ES |
| Text input | cotovia phonemes, cotovia alphabet |
pip install --pre phoonnx "scriptconv[gl]"
import wave
from phoonnx.model_manager import TTSModelManager
manager = TTSModelManager()
manager.load()
manager.merge_default_voices()
voice = manager.voices["proxectonos/icia-extended-cotovia"].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/icia-extended-cotovia"}}}
phoonnx hands the text to scriptconv, our text conversion library, which normalises it and turns it into the model's input:
cotovia: CotoviaPhonemizer from scriptconv_copyleft.phonemizers.gl, installed by the scriptconv[gl] extra.proxectonos/icia-extended-cotoviaThe upstream declares the licence apache-2.0 in the model card of proxectonos/Nos_TTS-icia-extended-vits-phonemes.