Chatterbox
Collection
Chatterbox models in ONNX for phoonnx. โข 4 items โข Updated
A Chatterbox model by oddadmix, from oddadmix/lahgtna-chatterbox-v1, packaged for phoonnx, our ONNX text-to-speech library.
| Architecture | Chatterbox |
| Upstream | oddadmix/lahgtna-chatterbox-v1 |
| Author | oddadmix |
| Languages | ar-EG, ar-IQ, ar-LB, ar-LY, ar-MA, ar-PS, ar-SA, ar-SD, ar-SY, ar-TN |
| Text input | Unicode codepoints of the text |
pip install --pre phoonnx
import wave
from phoonnx.model_manager import TTSModelManager
manager = TTSModelManager()
manager.load()
manager.merge_default_voices()
voice = manager.voices["chatterbox/lahgtna/eg"].load()
with wave.open("output.wav", "wb") as wav_file:
text = "..." # a sentence in ar-EG
voice.synthesize_wav(text, wav_file)
The voice clones a speaker from reference audio; the phoonnx README shows how to pass it.
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": "chatterbox/lahgtna/eg"}}}
phoonnx hands the text to scriptconv, our text conversion library, which normalises it and turns it into the model's input:
unicode: UnicodeCodepointPhonemizer from scriptconv.phonemizers.base, in scriptconv itself.chatterbox/lahgtna/egchatterbox/lahgtna/iqchatterbox/lahgtna/lbchatterbox/lahgtna/lychatterbox/lahgtna/mochatterbox/lahgtna/pschatterbox/lahgtna/sachatterbox/lahgtna/sdchatterbox/lahgtna/sychatterbox/lahgtna/tnThe upstream declares the licence mit in the model card of oddadmix/lahgtna-chatterbox-v1.