Instructions to use aoiandroid/supertonic-2-coreml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Supertonic
How to use aoiandroid/supertonic-2-coreml 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
File size: 605 Bytes
1566c3d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # Upstream Provenance (HF)
This CoreML package is derived from the original Supertonic 2 release.
## Sources
- Hugging Face: `Supertone/supertonic-2`
- GitHub: `supertone-inc/supertonic`
## License summary
- **Model weights:** OpenRAIL-M (see `LICENSE`)
- **Sample code:** MIT (see upstream repo)
## Modifications
- CoreML ML Program conversion and packaging
- >=8-bit quantization variants
- iOS/macOS demo app (hosted in GitHub repo)
## Provenance notes
- Upstream revision: unknown (local snapshot without VCS metadata).
- Quantization recipe: `scripts/compress_coreml.py` in the GitHub repo.
|