Instructions to use Phoonnx/supertonic-multi-unicode with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Supertonic
How to use Phoonnx/supertonic-multi-unicode with Supertonic:
from supertonic import TTS tts = TTS(auto_download=True) style = tts.get_voice_style(voice_name="M1") text = "The train delay was announced at 4:45 PM on Wed, Apr 3, 2024 due to track maintenance." wav, duration = tts.synthesize(text, voice_style=style) tts.save_audio(wav, "output.wav")
- Notebooks
- Google Colab
- Kaggle
Download phoonnx.json from Phoonnx/supertonic-multi-unicode: direct link, hf CLI and curl.
- Browser
- Download file 874 Bytes
-
https://huggingface.co/Phoonnx/supertonic-multi-unicode/resolve/main/phoonnx.json
- Command line
-
hf download hf://Phoonnx/supertonic-multi-unicode/phoonnx.json
-
curl -L -o phoonnx.json https://huggingface.co/Phoonnx/supertonic-multi-unicode/resolve/main/phoonnx.json
874 Bytes
| { | |
| "phoonnx_version": "1.138.2a2", | |
| "engine": "supertonic", | |
| "phoneme_type": "unicode", | |
| "alphabet": "graphemes", | |
| "lang_code": "und", | |
| "audio": { | |
| "sample_rate": 44100 | |
| }, | |
| "hop_length": 256, | |
| "num_symbols": 256, | |
| "num_speakers": 1, | |
| "num_langs": 1, | |
| "speaker_id_map": {}, | |
| "default_speaker_id": null, | |
| "lang_id_map": {}, | |
| "lang_tokens": {}, | |
| "phonemizer_model": null, | |
| "keep_punctuation": false, | |
| "text_casing": "ignore", | |
| "inference": { | |
| "add_diacritics": false, | |
| "diacritizer_model": null | |
| }, | |
| "phoneme_id_map": {}, | |
| "pad": "_", | |
| "blank": "_", | |
| "bos": "^", | |
| "eos": "$", | |
| "blank_word": null, | |
| "add_blank_char": false, | |
| "add_blank_word": false, | |
| "use_eos_bos": false, | |
| "blank_at_start": false, | |
| "blank_at_end": false, | |
| "fold_compounds": true, | |
| "word_sep_token": " ", | |
| "blank_between": "tokens_and_words", | |
| "engine_params": {} | |
| } | |