fastpitch-en_us-ljspeech-gruut
A FastPitch model by Coqui, from github.com/coqui-ai/TTS/releases/download/v0.6.1_models/tts_models--en--ljspeech--fast_pitch.zip, packaged for phoonnx, our ONNX text-to-speech library.
Model details
| Architecture | FastPitch |
| Upstream | github.com/coqui-ai/TTS/releases/download/v0.6.1_models/tts_models--en--ljspeech--fast_pitch.zip |
| Author | Coqui |
| Languages | en-US |
| Text input | gruut phonemes, IPA alphabet |
| Vocoder | hifigan-en_us-ljspeech-v2 |
How to use
pip install --pre phoonnx "scriptconv[gruut]"
import wave
from phoonnx.model_manager import TTSModelManager
manager = TTSModelManager()
manager.load()
manager.merge_default_voices()
voice = manager.voices["coqui/en-ljspeech-fast_pitch"].load()
with wave.open("output.wav", "wb") as wav_file:
text = "..." # a sentence in en-US
voice.synthesize_wav(text, wav_file)
The model makes a spectrogram, and the vocoder in Model details turns it into audio. phoonnx downloads the vocoder with the voice.
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": "coqui/en-ljspeech-fast_pitch"}}}
Text front end
phoonnx hands the text to scriptconv, our text conversion library, which normalises it and turns it into the model's input:
gruut:GruutPhonemizerfromscriptconv.phonemizers.mul, installed by thescriptconv[gruut]extra.
phoonnx voices
coqui/en-ljspeech-fast_pitch
Licence
The upstream declares the licence apache 2.0 in the Coqui TTS model list.
Related projects
- phoonnx: runs this model, in Python and in OVOS.
- scriptconv: text normalisation, script conversion and phonemizers for phoonnx.
- The FastPitch collection: every FastPitch model packaged for phoonnx.