Views
No views yet
exaggeration control. See
docs/training/engines/chatterbox.md
and docs/cloning.md.eg), Saudi Arabia (sa), Morocco (mo), Iraq (iq),
Lebanon (lb), Sudan (sd), Libya (ly), Syria (sy), Tunisia (tn), and
Palestine (ps). All map to the same underlying language_model_q4.onnx
graph in this repository; the dialect selection happens in text
normalization/tokenization, not a different model per dialect.pip install phoonnx[cloning].1import wave
2from phoonnx.model_manager import TTSModelManager
3
4manager = TTSModelManager()
5manager.load()
6manager.merge_default_voices()
7
8voice = manager.voices["chatterbox/lahgtna/eg"].load()
9with wave.open("out.wav", "wb") as wav_file:
10 voice.synthesize_wav(
11 "أهلاً، إزيك؟",
12 wav_file,
13 speaker_reference="reference.wav", # optional: clone this speaker
14 )phoonnx itself is Apache-2.0.