vits-en-wasmdashai-v1-graphemes
A VITS model by wasmdashai, from wasmdashai/vits-en-v1, packaged for phoonnx, our ONNX text-to-speech library.
Model details
| Architecture | VITS |
| Upstream | wasmdashai/vits-en-v1 |
| Author | wasmdashai |
| Languages | en |
| Text input | characters of the text |
How to use
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/wasmdashai/vits-en-v1"].load()
with wave.open("output.wav", "wb") as wav_file:
text = "..." # a sentence in en
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/wasmdashai/vits-en-v1"}}}
Text front end
phoonnx hands the text to scriptconv, our text conversion library, which normalises it and turns it into the model's input:
graphemes:GraphemePhonemizerfromscriptconv.phonemizers.base, in scriptconv itself.
phoonnx voices
hf_community/wasmdashai/vits-en-v1
Licence
The licence is mit. The upstream release states its terms.
Related projects
- phoonnx: runs this model, in Python and in OVOS.
- scriptconv: text normalisation, script conversion and phonemizers for phoonnx.
- The VITS collection: every VITS model packaged for phoonnx.