vits-hu_hu-imre-medium-espeak
A VITS model by Rhasspy, from rhasspy/piper-voices/hu/hu_HU/imre/medium, packaged for phoonnx, our ONNX text-to-speech library.
Upstream retrained this voice on the Piper 1.5 base models. The retrained voice is Phoonnx/vits-hu_hu-imre-medium-espeak-v2, which replaces this repository.
Model details
| Architecture | VITS |
| Upstream | rhasspy/piper-voices/hu/hu_HU/imre/medium |
| Author | Rhasspy |
| Languages | hu-HU |
| Text input | espeak phonemes, IPA alphabet |
How to use
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/hu_HU-imre-medium"].load()
with wave.open("output.wav", "wb") as wav_file:
text = "..." # a sentence in hu-HU
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/hu_HU-imre-medium"}}}
Text front end
phoonnx hands the text to scriptconv, our text conversion library, which normalises it and turns it into the model's input:
espeak:EspeakPhonemizerfromscriptconv_copyleft.phonemizers.mul, installed by thescriptconv[espeak]extra.
phoonnx voices
piper/hu_HU-imre-medium
Licence
The upstream declares the licence mit in the model card of rhasspy/piper-voices.
Related projects
- phoonnx: runs this model, in Python and in OVOS.
- scriptconv: text normalisation, script conversion and phonemizers for phoonnx.
- phoonnx.js: runs VITS voices with espeak or unicode input in the browser; live demo at tigregotico.pt/demo.
- The VITS collection: every VITS model packaged for phoonnx.
- Downloads last month
- 60