Supertonic-3
이 Soniqo 페이지는 로컬 speech-swift / speech-core 구현의 Supertonic-3을 설명합니다. Hugging Face 번들 링크는 통합 메모 뒤에 있습니다.
내부 페이지 우선
랜딩 카드와 문서 메뉴는 먼저 이 페이지로 이동하고, 원본 모델과 번들 링크는 이 페이지 안에 둡니다.
개요
| 모델 | Supertonic-3 |
|---|---|
| 역할 | G2P-free multilingual text-to-speech |
| 백엔드 | CoreML (Apple Neural Engine / GPU) and LiteRT |
| 출력 | 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 |
| 소스 | Supertone Supertonic-3 |
| Swift 제품 | SupertonicTTS |
| CLI / 런타임 | Shared TTS pipeline / server integration; LiteRT C++ wrapper for edge runtimes |
사용
아래 스니펫은 현재 speech-swift 저장소의 API 또는 명령과 일치합니다.
import SupertonicTTS
let tts = try await SupertonicTTSModel.fromPretrained()
let pcm = try tts.synthesize(
text: "Hello from an on-device voice.",
voiceId: "F1",
language: "en"
)
모델 링크
구현 메모
- 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.