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 kirys79, from kirys79/piper_italiano/Aurora, packaged for phoonnx, our ONNX text-to-speech library.
| Architecture | VITS |
| Upstream | kirys79/piper_italiano/Aurora |
| Author | kirys79 |
| Languages | it-IT |
| Text input | espeak phonemes, IPA alphabet |
pip install --pre phoonnx
The phonemes come from the espeak-ng program, so install it too (for example
apt install espeak-ng). Without it, pip install --pre "phoonnx[espeak]" gives
phoonnx the espyak port of espeak-ng. Some espyak phonemes differ from those of
espeak-ng, so the voice can say some words wrong with espyak.
import wave
from phoonnx.model_manager import TTSModelManager
manager = TTSModelManager()
manager.load()
manager.merge_default_voices()
voice = manager.voices["piper_community/kirys79/it-IT_Aurora"].load()
with wave.open("output.wav", "wb") as wav_file:
text = "..." # a sentence in it-IT
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": "piper_community/kirys79/it-IT_Aurora"}}}
phoonnx hands the text to scriptconv, our text conversion library, which normalises it and turns it into the model's input:
espeak: EspeakPhonemizer from scriptconv_copyleft.phonemizers.mul, installed by the scriptconv[espeak] extra.piper_community/kirys79/it-IT_AuroraThe upstream declares the licence cc-by-4.0 in the model card of kirys79/piper_italiano.