matcha-onnx
Small ONNX Runtime wrapper for Matcha-TTS.
wget -O matcha.onnx https://huggingface.co/thewh1teagle/matcha-onnx/resolve/main/matcha.onnx
uv run examples/basic.py
The example writes audio.wav.
import soundfile as sf
from matcha_onnx import MatchaOnnx
tts = MatchaOnnx("matcha.onnx")
samples, sr = tts.create("Hello from Matcha.", speed=0.95)
sf.write("audio.wav", samples, sr)
Pass is_phonemes=True to synthesize raw IPA phonemes directly.
The wrapper reads the symbol table, sample rate, and exported step count from ONNX metadata.
Metadata
Release files for matcha-onnx 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| matcha_onnx-0.1.1.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| matcha_onnx-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / matcha_onnx-0.1.1.tar.gz
| Download URL | matcha_onnx-0.1.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0cfe7fff6c3ca2e58fc05088668b00f63d576263b30181b24251adaec44a4450
|
|
BLAKE2b-256 checksum How to use checksums |
e4fc7091223e2b982f1cb19d201a5da87f2974febaa7eeda37bf66ec9142b0b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / matcha_onnx-0.1.1-py3-none-any.whl
| Download URL | matcha_onnx-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a56cdc0d89135502d07f73076fdf7006f3d4c43b314702faec5ef8f1362f24a
|
|
BLAKE2b-256 checksum How to use checksums |
27fd77f6242ba3f0bb8fa6c5d14731992049c88db36b39937de78d56a33b8846
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|