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 Projecte AINA, from projecte-aina/tts-ca-coqui-vits-multispeaker/model, packaged for phoonnx, our ONNX text-to-speech library.
| Architecture | VITS |
| Upstream | projecte-aina/tts-ca-coqui-vits-multispeaker/model |
| Author | Projecte AINA |
| Languages | ca-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["hf_community/projecte-aina/tts-ca-coqui-vits-multispeaker"].load()
with wave.open("output.wav", "wb") as wav_file:
text = "..." # a sentence in ca-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": "hf_community/projecte-aina/tts-ca-coqui-vits-multispeaker"}}}
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.hf_community/projecte-aina/tts-ca-coqui-vits-multispeakerThe upstream declares the licence gpl-3.0 in the model card of projecte-aina/tts-ca-coqui-vits-multispeaker.