Steer family · speak
steer-tts
A tiny English text-to-speech model you steer with numbers: 12 speaker-relative controls, 51 style tags and inline markup, compiled into one request you can read.
In → out
In
- Text, with optional markup: emphasis, pauses, whisper
- A voice and a style tag
- Controls: rate, loudness, pitch, pitch range, final rise or fall…
Out
- Audio, rendered sentence by sentence for streaming
wav = tts("Well, *that* was fast. [pause 400ms] <whisper>Don't tell anyone.</whisper>", markup=True)Three ways to run it
Hybrid
RecommendedEvery build takes the same request, so an app can speak instantly with the edge build on the device and send cloned voices to the full model on a server. Today you wire the routing yourself.
Edge
The edge build is about 12 MB and runs from a dependency-free C11 library in about 27 MB of memory, on x86-64 or ARM64, Raspberry Pi included. It ships inside the Steer apps on Mac and Android.
Cloud
Run the full model (fp32 or int8) from Python on a GPU or CPU server today. A speech container with a standard /v1/audio/speech route is coming.
As a container Coming
A steer-tts container with a speech endpoint is planned. Today the repo carries only an evaluation container.
Quickstart
Edge, Python
# pip install "steertts-edge[hub] @ git+https://github.com/WhissleAI/steer-tts#subdirectory=edge"
from steertts_edge import OnnxTTS
tts = OnnxTTS.from_pretrained("WhissleAI/steer-tts-edge")
wav = tts("Well, *that* was fast. [pause 400ms] <whisper>Don't tell anyone.</whisper>", markup=True)
tts.save(wav, "out.wav")C library
cd c && cmake -B build && cmake --build build -j
hf download WhissleAI/steer-tts-edge --local-dir models/steer-tts-edge \
--include config.json --include "*.safetensors" --include voices.json --include "native/*"
./build/steertts --model models/steer-tts-edge "Hello from C." -o hello.wavFull model
pip install "steertts[all] @ git+https://github.com/WhissleAI/steer-tts"
steertts say "I can't believe it worked." --tag happiness --ctrl rate=1,f0_iqr=1.5 -o happy.wavCopied from the repository's README; the README is the reference.
More in the Steer family
Models under 1M parameters that choose the action, its timing and its arguments, with a confidence.
event or token stream → action, timing, end of turn
Licence
Code and weights are CC BY-NC 4.0 plus the Whissle terms: free for research, evaluation and personal projects. Using it in a product, a hosted service or for business needs a commercial licence.
Talk to us about a commercial licenceRuns on
- macOS
- Linux
- Raspberry Pi 4 / 5
- Android (JNI)
- Swift package