fastpitch-en_us-ljspeech_speedyspeech-gruut
A FastPitch model by Coqui, from github.com/coqui-ai/TTS/releases/download/v0.6.1_models/tts_models--en--ljspeech--speedy-speech.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--speedy-speech.zip |
| Author | Coqui |
| Languages | en-US |
| Text input | gruut phonemes, IPA alphabet |
| Vocoder | BSC-LT/vocos-mel-22khz (Apache-2.0) |
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-speedy-speech"].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-speedy-speech"}}}
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-speedy-speech
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.