Parlando-5M: A Lightweight TTS Model with Tag-Based Intonation Control
2 min readupdated
Parlando-5M is a compact English text-to-speech (TTS) model by DanielSuncost that lets you direct intonation directly within the text. Weighing just 18.2 MB in total including the vocoder (4.5M parameters), the model was trained from scratch without pretrained weights and runs right in the browser on a single CPU thread at 10–20x faster than real-time. Unlike typical lightweight synthesizers with monotonic delivery, it allows you to specify stresses, pitch, pauses, and a blend of 12 emotional delivery styles. It is ideal for web developers, game creators, and voice interface designers who need expressive speech synthesis without a server-side GPU.
Key features
- Precise prosody control: Text tags let you stress specific words, shift pitch in semitones, stretch or slow down syllables, and insert pauses in milliseconds.
- 12 delivery styles and voice effects: Available modes include neutral, happy, sad, angry, loud, soft, slow, fast, tender, excited, tired, and whisper, which can be blended together.
- Three American English voices: A warm low female voice (EN_F1), a brighter female voice (EN_F2), and a deep male voice (EN_M1) with 24 kHz mono output.
- High CPU performance: In PyTorch, it generates audio at roughly 80x faster than real-time on a single thread (and up to 200x on four threads), and around 35x in ONNX Runtime.
What you can do
- Client-side web speech synthesis: Embed the
model.fp16.onnxversion (14.7 MB) into a website or web app to generate speech entirely on the user's side. - Character dialogues and interactive stories: Markup lines with whisper, pause, and tone-shift tags to voice NPCs or visual novels without relying on cloud APIs.
- Local assistants and prototypes: Run speech generation on low-end devices or in offline mode under the open Apache-2.0 license.
Example
An example of text markup with pauses, stress, and pitch shifts applied to individual words and syllables:
Attention, please! The last train leaves at nine fifteen.
Read more
DetailsParameters: 4,543,344 (trained from scratch, without pretrained weights)
Files:
parlando.pt (18.2 MB, float32), onnx/model.onnx (23.8 MB), onnx/model.fp16.onnx (14.7 MB), dizione phonemizer data (5.4 MB)Output format: 24 kHz mono, English only (American English)
License: Apache-2.0










Comments