chatterbox-ar-lahgtna-v1-unicode

A Chatterbox model by oddadmix, from oddadmix/lahgtna-chatterbox-v1, packaged for phoonnx, our ONNX text-to-speech library.

Model details

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

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["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"}}}

Text front end

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.

phoonnx voices

  • chatterbox/lahgtna/eg
  • chatterbox/lahgtna/iq
  • chatterbox/lahgtna/lb
  • chatterbox/lahgtna/ly
  • chatterbox/lahgtna/mo
  • chatterbox/lahgtna/ps
  • chatterbox/lahgtna/sa
  • chatterbox/lahgtna/sd
  • chatterbox/lahgtna/sy
  • chatterbox/lahgtna/tn

Licence

The upstream declares the licence mit in the model card of oddadmix/lahgtna-chatterbox-v1.

Related projects

  • phoonnx: runs this model, in Python and in OVOS.
  • scriptconv: text normalisation, script conversion and phonemizers for phoonnx.
  • The Chatterbox collection: every Chatterbox model packaged for phoonnx.
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including Phoonnx/chatterbox-ar-lahgtna-v1-unicode