Supertonic-3
यह Soniqo पेज स्थानीय speech-swift / speech-core implementation में Supertonic-3 को दस्तावेज़ करता है। Hugging Face bundle links integration notes के बाद दिए गए हैं।
पहले आंतरिक पेज
Landing cards और docs menus पहले इसी पेज पर आते हैं; source model और bundle links यहीं उपलब्ध रहते हैं।
सारांश
| मॉडल | Supertonic-3 |
|---|---|
| भूमिका | G2P-free multilingual text-to-speech |
| Backend | CoreML (Apple Neural Engine / GPU) and LiteRT |
| Output | 44.1 kHz mono Float32 PCM |
| भाषाएँ | 31 languages plus a neutral na tag |
| लाइसेंस | OpenRAIL-M weights, MIT code |
| स्थिति | Ready for CoreML; LiteRT reference implementation in speech-core |
| Source | Supertone Supertonic-3 |
| Swift product | SupertonicTTS |
| CLI / runtime | Shared TTS pipeline / server integration; LiteRT C++ wrapper for edge runtimes |
उपयोग
नीचे का snippet मौजूदा speech-swift API या command से मेल खाता है।
import SupertonicTTS
let tts = try await SupertonicTTSModel.fromPretrained()
let pcm = try tts.synthesize(
text: "Hello from an on-device voice.",
voiceId: "F1",
language: "en"
)
मॉडल लिंक
implementation notes
- No espeak, phonemizer, or lexicon: text is NFKD-normalized and mapped through a Unicode index table.
- Download uses explicit CoreML package globs for the four graphs plus tokenizer, config, and voice style JSON files.
- The Apple export uses dynamic latent length; the current LiteRT path uses fixed graph shapes and chunks longer text.
- Voices are precomputed style presets F1-F5 and M1-M5; on-device cloning is out of scope because the style extractor is not released.