
Supertonic
Open-source, on-device text-to-speech that runs locally via ONNX; archived and no longer maintained.
- Stars
- 13.8k
- Forks
- 1.6k
- Licence
- MIT
- Language
- Swift
- Last update
- 2 months ago
- Type
- App
This repository is archived and no longer maintained.
What it is
Supertonic is a text-to-speech system that turns written text into spoken audio entirely on your own device, using ONNX Runtime, so no cloud service or API call is needed. The README describes a 99M-parameter model supporting 31 languages and outputting 44.1kHz WAV audio. This repository is archived, so it is kept for reference and gets no updates, bug fixes, or support.
- Generate a WAV file of a sentence locally using the Python example in the py folder
- Compare speech output across the 31 supported languages
- Run the model in a Python script to batch-synthesize text
Great for
- Developers who want to experiment with local, offline speech synthesis
- People studying how an ONNX-based TTS pipeline is put together
- Projects that need a fixed, pinned snapshot of the archived Supertonic 3 model
- Multilingual prototypes that can accept the archived model's limits
Not ideal for
- Production systems needing security patches or bug fixes, since the archive states none will be provided
- Users who need active support, since issues and pull requests are no longer monitored
- Anyone wanting hosted demos or Voice Builder services, which the archive does not include
How to get it
- 1
Clone and build from source
You'll need: Python 3.11 · Git
Clone the source
git clone https://github.com/supertone-oss-archive/supertonic.gitInstall the download tool in a virtual environment
python -m pip install huggingface_hubDownload the archived Supertonic 3 model
hf download supertone-oss-archive/supertonic-3 --revision aafc6e32416a594460b32413efc49d7fe4ce6d46 --local-dir assetsInstall Python example dependencies
python -m pip install -r py/requirements.txt - 2
Run it
- Clone the repository and create a Python 3.11 virtual environment
- Install huggingface_hub and download the pinned archived model into assets/
- Install the requirements in py/requirements.txt
- From the py folder, run example_onnx.py with --text and --lang en
- Find the generated WAV in py/results/
- 3
Get the most out of it
- Use the --n-test and --text options of example_onnx.py to control output
- Read py/README.md for voice selection and batch synthesis options
- Use lang="na" when the input language is unknown, per the README
- Try the optional Python SDK with auto_download=False and a local model_dir, as described in the README
Downloads
Strengths
- Runs locally with no network connection needed after models are downloaded, per the README
- Ships examples across many languages and runtimes, including Python, Node.js, Go, Rust, and Swift
- MIT-licensed code, with model weights under their own stated licenses
Trade-offs
- Archived: no updates, security patches, or support from the original authors
- Model downloads depend on the archive's Hugging Face namespace, and the README notes the original hosted services are no longer provided
How it compares
| Project | Stars | Type | Level | Updated | Best for |
|---|---|---|---|---|---|
| supertonic (this) | 13.8k | App | intermediate | 2 months ago | Developers who want to experiment with local, offline speech synthesis |
| calculator | 31.1k | App | intermediate | 13 days ago | Windows 11 users who want to read or modify the built-in calculator |
| CodeEdit | 23.1k | App | beginner | 19 days ago | Developers on a Mac who work on non-Apple projects and want a native macOS editor |
| AudioKit | 11.5k | Library | intermediate | 3 months ago | Swift developers adding synthesizers, effects, or audio analysis to an iOS or macOS app |
| GPT-SoVITS | 64.6k | App | intermediate | 5 days ago | Hobbyists who want to experiment with cloning a voice they have permission to use |
| NativeScript | 25.7k | Framework | intermediate | 4 days ago | JavaScript or TypeScript developers who want to build native iOS or Android apps |
Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.