vits-bbb-mms-graphemes

A VITS model by Meta, from facebook/mms-tts-bbb, packaged for phoonnx, our ONNX text-to-speech library.

Model details

Architecture VITS
Upstream facebook/mms-tts-bbb
ONNX conversion willwade/mms-tts-multilingual-models-onnx/bbb
Author Meta
Languages bbb
Text input characters 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["facebook/mms-tts-bbb-Barai"].load()

with wave.open("output.wav", "wb") as wav_file:
    text = "..."  # a sentence in bbb
    voice.synthesize_wav(text, wav_file)

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": "facebook/mms-tts-bbb-Barai"}}}

Text front end

phoonnx hands the text to scriptconv, our text conversion library, which normalises it and turns it into the model's input:

  • graphemes: GraphemePhonemizer from scriptconv.phonemizers.base, in scriptconv itself.

phoonnx voices

  • facebook/mms-tts-bbb-Barai

Licence

The upstream declares the licence cc-by-nc-4.0 in the model card of facebook/mms-tts-bbb.

Related projects

  • phoonnx: runs this model, in Python and in OVOS.
  • scriptconv: text normalisation, script conversion and phonemizers for phoonnx.
  • The VITS collection: every VITS model packaged for phoonnx.
Downloads last month
25
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support