matcha-ca-central-v2-graphemes
A Matcha-TTS model by BSC-LT, from BSC-LT/matxa-tts-v2-ca-central-graphemes, packaged for phoonnx, our ONNX text-to-speech library.
Model details
| Architecture | Matcha-TTS |
| Upstream | BSC-LT/matxa-tts-v2-ca-central-graphemes |
| Author | BSC-LT |
| Languages | ca |
| 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["OpenVoiceOS/matxa-cat-central-graphemes-v2"].load()
with wave.open("output.wav", "wb") as wav_file:
text = "..." # a sentence in ca
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": "OpenVoiceOS/matxa-cat-central-graphemes-v2"}}}
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
OpenVoiceOS/matxa-cat-central-graphemes-v2
Licence
The upstream declares the licence gpl-3.0 in the model card of BSC-LT/matxa-tts-v2-ca-central-graphemes.
The licence notes for this model:
|
cat-central-graphemes-v2| graphemes | fused Wavenext | apache-2.0 | BSC-LT/matxa-tts-v2-ca-central-graphemes |
Related projects
- phoonnx: runs this model, in Python and in OVOS.
- scriptconv: text normalisation, script conversion and phonemizers for phoonnx.
- The Matcha-TTS collection: every Matcha-TTS model packaged for phoonnx.