- README Quick Start: format `duration[0]` instead of the ndarray itself
(numpy refuses `f"{ndarray:.2f}"`; matches official `dur[0]:.2f` pattern)
- py/example_pypi.py: print synthesized duration to mirror the docstring example
- Add `"na"` to AVAILABLE_LANGS / Languages.Available / availableLangs
across all 11 runtimes (Python/Node/Web/Java/C++/C#/Go/Swift/Rust/Flutter/iOS)
so the language-agnostic fallback advertised in the README actually passes
per-runtime lang validation before being sent to the v3 ONNX duration predictor
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Supertonic Flutter Example
This example demonstrates how to use Supertonic 3 in a Flutter application using ONNX Runtime.
Note: This project uses the
flutter_onnxruntimepackage (https://pub.dev/packages/flutter_onnxruntime). At the moment, only the macOS platform has been tested. Although the flutter_onnxruntime package supports several other platforms, they have not been tested in this project yet and may require additional verification.
📰 Update News
2026.04.29 - 🎉 Supertonic 3 released with 31-language support, improved reading accuracy, and v2-compatible public ONNX assets. Demo | Models
2025.12.10 - Added 6 new voice styles (M3, M4, M5, F3, F4, F5). See Voices for details
2025.12.08 - Optimized ONNX models via OnnxSlim now available on Hugging Face Models
2025.11.23 - Added and tested macos support.
Multilingual Support
Supertonic 3 supports 31 languages. Select the appropriate language from the dropdown; see the main README for the full code list.
Requirements
- Flutter SDK version ^3.5.0
Running the Demo
flutter clean
flutter pub get
flutter run -d macos