diff --git a/README.md b/README.md index 677f228..16f7f06 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,10 @@ https://github.com/user-attachments/assets/64980e58-ad91-423a-9623-78c2ffc13680 ## 📰 Update News +**2025.12.10** - Added `supertonic` PyPI package! Install via `pip install supertonic`. For details, visit [supertonic-py documentation](https://supertone-inc.github.io/supertonic-py) + +**2025.12.10** - Added [6 new voice styles](https://huggingface.co/Supertone/supertonic/tree/b10dbaf18b316159be75b34d24f740008fddd381) (M3, M4, M5, F3, F4, F5). See [Voices](https://supertone-inc.github.io/supertonic-py/voices/) for details + **2025.12.08** - Optimized ONNX models via [OnnxSlim](https://github.com/inisis/OnnxSlim) now available on [Hugging Face Models](https://huggingface.co/Supertone/supertonic) **2025.11.24** - Added Flutter SDK support with macOS compatibility diff --git a/cpp/README.md b/cpp/README.md index 47231f4..424429f 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -4,6 +4,10 @@ High-performance text-to-speech inference using ONNX Runtime. ## 📰 Update News +**2025.12.10** - Added [6 new voice styles](https://huggingface.co/Supertone/supertonic/tree/b10dbaf18b316159be75b34d24f740008fddd381) (M3, M4, M5, F3, F4, F5). See [Voices](https://supertone-inc.github.io/supertonic-py/voices/) for details + +**2025.12.08** - Optimized ONNX models via [OnnxSlim](https://github.com/inisis/OnnxSlim) now available on [Hugging Face Models](https://huggingface.co/Supertone/supertonic) + **2025.11.23** - Enhanced text preprocessing with comprehensive normalization, emoji removal, symbol replacement, and punctuation handling for improved synthesis quality. **2025.11.19** - Added `--speed` parameter to control speech synthesis speed (default: 1.05, recommended range: 0.9-1.5). diff --git a/csharp/README.md b/csharp/README.md index 21aeded..89d97f5 100644 --- a/csharp/README.md +++ b/csharp/README.md @@ -4,6 +4,10 @@ This guide provides examples for running TTS inference using `ExampleONNX.cs`. ## 📰 Update News +**2025.12.10** - Added [6 new voice styles](https://huggingface.co/Supertone/supertonic/tree/b10dbaf18b316159be75b34d24f740008fddd381) (M3, M4, M5, F3, F4, F5). See [Voices](https://supertone-inc.github.io/supertonic-py/voices/) for details + +**2025.12.08** - Optimized ONNX models via [OnnxSlim](https://github.com/inisis/OnnxSlim) now available on [Hugging Face Models](https://huggingface.co/Supertone/supertonic) + **2025.11.23** - Enhanced text preprocessing with comprehensive normalization, emoji removal, symbol replacement, and punctuation handling for improved synthesis quality. **2025.11.19** - Added `--speed` parameter to control speech synthesis speed (default: 1.05, recommended range: 0.9-1.5). diff --git a/flutter/README.md b/flutter/README.md index 9225fea..40dfbb8 100644 --- a/flutter/README.md +++ b/flutter/README.md @@ -7,6 +7,10 @@ This example demonstrates how to use Supertonic in a Flutter application using O ## 📰 Update News +**2025.12.10** - Added [6 new voice styles](https://huggingface.co/Supertone/supertonic/tree/b10dbaf18b316159be75b34d24f740008fddd381) (M3, M4, M5, F3, F4, F5). See [Voices](https://supertone-inc.github.io/supertonic-py/voices/) for details + +**2025.12.08** - Optimized ONNX models via [OnnxSlim](https://github.com/inisis/OnnxSlim) now available on [Hugging Face Models](https://huggingface.co/Supertone/supertonic) + **2025.11.23** - Added and tested macos support. ## Requirements diff --git a/go/README.md b/go/README.md index 48d6d4d..e827f6b 100644 --- a/go/README.md +++ b/go/README.md @@ -4,6 +4,10 @@ This guide provides examples for running TTS inference using `example_onnx.go`. ## 📰 Update News +**2025.12.10** - Added [6 new voice styles](https://huggingface.co/Supertone/supertonic/tree/b10dbaf18b316159be75b34d24f740008fddd381) (M3, M4, M5, F3, F4, F5). See [Voices](https://supertone-inc.github.io/supertonic-py/voices/) for details + +**2025.12.08** - Optimized ONNX models via [OnnxSlim](https://github.com/inisis/OnnxSlim) now available on [Hugging Face Models](https://huggingface.co/Supertone/supertonic) + **2025.11.23** - Enhanced text preprocessing with comprehensive normalization, emoji removal, symbol replacement, and punctuation handling for improved synthesis quality. **2025.11.19** - Added `--speed` parameter to control speech synthesis speed (default: 1.05, recommended range: 0.9-1.5). diff --git a/ios/README.md b/ios/README.md index 9871218..138deb4 100644 --- a/ios/README.md +++ b/ios/README.md @@ -9,6 +9,12 @@ A minimal iOS demo that runs Supertonic (ONNX Runtime) on-device. The app shows: All ONNX models/configs are reused from `Supertonic/assets/onnx`, and voice style JSON files from `Supertonic/assets/voice_styles`. +## 📰 Update News + +**2025.12.10** - Added [6 new voice styles](https://huggingface.co/Supertone/supertonic/tree/b10dbaf18b316159be75b34d24f740008fddd381) (M3, M4, M5, F3, F4, F5). See [Voices](https://supertone-inc.github.io/supertonic-py/voices/) for details + +**2025.12.08** - Optimized ONNX models via [OnnxSlim](https://github.com/inisis/OnnxSlim) now available on [Hugging Face Models](https://huggingface.co/Supertone/supertonic) + ## Prerequisites - macOS 13+, Xcode 15+ - Swift 5.9+ diff --git a/java/README.md b/java/README.md index 53b8de4..5eb45c7 100644 --- a/java/README.md +++ b/java/README.md @@ -4,6 +4,10 @@ This guide provides examples for running TTS inference using `ExampleONNX.java`. ## 📰 Update News +**2025.12.10** - Added [6 new voice styles](https://huggingface.co/Supertone/supertonic/tree/b10dbaf18b316159be75b34d24f740008fddd381) (M3, M4, M5, F3, F4, F5). See [Voices](https://supertone-inc.github.io/supertonic-py/voices/) for details + +**2025.12.08** - Optimized ONNX models via [OnnxSlim](https://github.com/inisis/OnnxSlim) now available on [Hugging Face Models](https://huggingface.co/Supertone/supertonic) + **2025.11.23** - Enhanced text preprocessing with comprehensive normalization, emoji removal, symbol replacement, and punctuation handling for improved synthesis quality. **2025.11.19** - Added `--speed` parameter to control speech synthesis speed (default: 1.05, recommended range: 0.9-1.5). diff --git a/nodejs/README.md b/nodejs/README.md index 7778bb6..390058f 100644 --- a/nodejs/README.md +++ b/nodejs/README.md @@ -4,6 +4,10 @@ Node.js implementation for TTS inference. Uses ONNX Runtime to generate speech f ## 📰 Update News +**2025.12.10** - Added [6 new voice styles](https://huggingface.co/Supertone/supertonic/tree/b10dbaf18b316159be75b34d24f740008fddd381) (M3, M4, M5, F3, F4, F5). See [Voices](https://supertone-inc.github.io/supertonic-py/voices/) for details + +**2025.12.08** - Optimized ONNX models via [OnnxSlim](https://github.com/inisis/OnnxSlim) now available on [Hugging Face Models](https://huggingface.co/Supertone/supertonic) + **2025.11.23** - Enhanced text preprocessing with comprehensive normalization, emoji removal, symbol replacement, and punctuation handling for improved synthesis quality. **2025.11.19** - Added `--speed` parameter to control speech synthesis speed (default: 1.05, recommended range: 0.9-1.5). diff --git a/py/README.md b/py/README.md index b0467cd..6d94e2c 100644 --- a/py/README.md +++ b/py/README.md @@ -4,6 +4,12 @@ This guide provides examples for running TTS inference using `example_onnx.py`. ## 📰 Update News +**2025.12.10** - Added `supertonic` PyPI package! Install via `pip install supertonic` for a streamlined experience. This is a separate usage method from the ONNX examples in this directory. For more details, visit [supertonic-py documentation](https://supertone-inc.github.io/supertonic-py) and see `example_pypi.py` for usage. + +**2025.12.10** - Added [6 new voice styles](https://huggingface.co/Supertone/supertonic/tree/b10dbaf18b316159be75b34d24f740008fddd381) (M3, M4, M5, F3, F4, F5). See [Voices](https://supertone-inc.github.io/supertonic-py/voices/) for details + +**2025.12.08** - Optimized ONNX models via [OnnxSlim](https://github.com/inisis/OnnxSlim) now available on [Hugging Face Models](https://huggingface.co/Supertone/supertonic) + **2025.11.23** - Enhanced text preprocessing with comprehensive normalization, emoji removal, symbol replacement, and punctuation handling for improved synthesis quality. **2025.11.19** - Added `--speed` parameter to control speech synthesis speed. Adjust the speed factor to make speech faster or slower while maintaining natural quality. diff --git a/py/example_pypi.py b/py/example_pypi.py new file mode 100644 index 0000000..26f091f --- /dev/null +++ b/py/example_pypi.py @@ -0,0 +1,16 @@ +from supertonic import TTS + +# Note: First run downloads model automatically (~260MB) +tts = TTS(auto_download=True) + +# Get a voice style +style = tts.get_voice_style(voice_name="M4") + +# Generate speech +text = "This morning, I took a walk in the park, and the sound of the birds and the breeze was so pleasant that I stopped for a long time just to listen." +wav, duration = tts.synthesize(text, voice_style=style) +# wav: np.ndarray, shape = (1, num_samples) +# duration: np.ndarray, shape = (1,) + +# Save to file +tts.save_audio(wav, "results/example_pypi.wav") \ No newline at end of file diff --git a/rust/README.md b/rust/README.md index c1285c9..89a2683 100644 --- a/rust/README.md +++ b/rust/README.md @@ -4,6 +4,10 @@ This guide provides examples for running TTS inference using Rust. ## 📰 Update News +**2025.12.10** - Added [6 new voice styles](https://huggingface.co/Supertone/supertonic/tree/b10dbaf18b316159be75b34d24f740008fddd381) (M3, M4, M5, F3, F4, F5). See [Voices](https://supertone-inc.github.io/supertonic-py/voices/) for details + +**2025.12.08** - Optimized ONNX models via [OnnxSlim](https://github.com/inisis/OnnxSlim) now available on [Hugging Face Models](https://huggingface.co/Supertone/supertonic) + **2025.11.23** - Enhanced text preprocessing with comprehensive normalization, emoji removal, symbol replacement, and punctuation handling for improved synthesis quality. **2025.11.19** - Added `--speed` parameter to control speech synthesis speed (default: 1.05, recommended range: 0.9-1.5). diff --git a/swift/README.md b/swift/README.md index 32e17c8..7d273c7 100644 --- a/swift/README.md +++ b/swift/README.md @@ -4,6 +4,10 @@ This guide provides examples for running TTS inference using `example_onnx`. ## 📰 Update News +**2025.12.10** - Added [6 new voice styles](https://huggingface.co/Supertone/supertonic/tree/b10dbaf18b316159be75b34d24f740008fddd381) (M3, M4, M5, F3, F4, F5). See [Voices](https://supertone-inc.github.io/supertonic-py/voices/) for details + +**2025.12.08** - Optimized ONNX models via [OnnxSlim](https://github.com/inisis/OnnxSlim) now available on [Hugging Face Models](https://huggingface.co/Supertone/supertonic) + **2025.11.23** - Enhanced text preprocessing with comprehensive normalization, emoji removal, symbol replacement, and punctuation handling for improved synthesis quality. **2025.11.19** - Added `--speed` parameter to control speech synthesis speed (default: 1.05, recommended range: 0.9-1.5). diff --git a/web/README.md b/web/README.md index 1daf225..9768084 100644 --- a/web/README.md +++ b/web/README.md @@ -4,6 +4,10 @@ This example demonstrates how to use Supertonic in a web browser using ONNX Runt ## 📰 Update News +**2025.12.10** - Added [6 new voice styles](https://huggingface.co/Supertone/supertonic/tree/b10dbaf18b316159be75b34d24f740008fddd381) (M3, M4, M5, F3, F4, F5). See [Voices](https://supertone-inc.github.io/supertonic-py/voices/) for details + +**2025.12.08** - Optimized ONNX models via [OnnxSlim](https://github.com/inisis/OnnxSlim) now available on [Hugging Face Models](https://huggingface.co/Supertone/supertonic) + **2025.11.23** - Enhanced text preprocessing with comprehensive normalization, emoji removal, symbol replacement, and punctuation handling for improved synthesis quality. **2025.11.19** - Added speed control slider to adjust speech synthesis speed (default: 1.05, recommended range: 0.9-1.5).