A VITS model by HirCoir, from HirCoir/piper-sorah-neuronal, packaged for phoonnx, our ONNX text-to-speech library.
| Architecture | VITS |
| Upstream | HirCoir/piper-sorah-neuronal |
| Author | HirCoir |
| Languages | es-419 |
| 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/HirCoir/piper-sorah-neuronal"].load()
with wave.open("output.wav", "wb") as wav_file:
text = "..." # a sentence in es-419
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/HirCoir/piper-sorah-neuronal"}}}
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/HirCoir/piper-sorah-neuronalThe licence is mit. The upstream release states its terms.