Heart
The originalAmerican · female
Kokoro-82M's af_heart voice, distilled into Paradee. The voice this page launched with, and still the fastest.
- From
- Kokoro-82M af_heart
- Size
- 2.7 MB
- Speed
- 185× realtime*
- Natural
- 4.45 vs 4.52 original
Free · runs on your device · no sign-up
Type anything and hear it right away, in any of 10 voices. Each voice is one small file (2.3 to 6.9 MB) running in this tab on a WebAssembly engine I wrote, so your text never leaves your device. Heart is Paradee, a student of Kokoro-82M that I made 12.9× faster in the browser; the nine new voices are students of Phonon-31m-en. Meet them below, hear them perform a radio play, race the engines, and take the files home.
Meet the voices
Tap a voice and it speaks, made on your device right then. Each one is a single file that downloads the first time you play it, then stays in your browser's cache. Switch to one line for all to compare them side by side.
Every play is synthesised on your device when you press it; nothing is pre-recorded. The time under a voice runs from the text to the last sample, on this device, not counting the one-time download. The bench speeds (*) are one core of a desktop i7-14700K, single-threaded. The voices are synthetic: please don't use them to pass as a real person.
Four voices, one scene
A short scene for four voices, synthesised line by line as it plays. Recast it with any of the ten voices.
Recast any part; the play is made again from the text with the voices you pick.
Each line is synthesised when the play reaches it, by the voice cast for it. The first line starts as soon as it's made, and the rest are ready long before they're needed.
It was a quarter past midnight when the bell above the bakery door rang.
Right. Nobody move. Somebody has eaten the last croissant.
Whoa, whoa. I just got here! I only came in to ask for directions.
He's telling the truth, Inspector. He's been holding that map upside down for ten minutes.
Then tell me, who has crumbs on their sleeve?
Everyone looked down. Everyone had crumbs on their sleeve.
Okay. In my defence, they were really good croissants.
I'll put another batch in the oven.
And that, as they say, was the end of the case.
A JavaScript port of misaki, the phonemizer Kokoro was trained on, looks words up in a lexicon it fetches in small pieces: about 90 kB before the first sentence.
The phonemes go to the voice's 2-7 MB model running on pdn, a WebAssembly engine built for these models, in a background worker so the page stays smooth.
Sound starts after the first slice of a sentence is ready, a few tens of milliseconds, and plays while the rest is made. Download the whole thing as a WAV.
Live, on your hardware
Same passage, same phonemes, one CPU thread each. These numbers come from your browser, not my benchmark box.
The passage every engine reads
“I started with a voice model that ran about fifteen times faster than real time in a browser. Then I rebuilt its sound engine, slimmed down every layer, and wrote a tiny WebAssembly runtime just for it. Now the same voice starts talking before you can blink.”
Each engine runs in its own fresh Web Worker, one after another, on one CPU thread, with a short warm-up first. Speed is seconds of speech per second of compute. First sound is how long the first sentence takes before it can play: pdn streams, so it's the first chunk; onnxruntime-web can't, so it's the whole sentence. onnxruntime-web is 1.22.0-dev (the build Chickadee ships), loaded from jsDelivr; v1.1 is the published file from Hugging Face. onnxruntime-web needs several hundred MB of memory, so on a phone the tab may reload.
The speed-up, step by step
Every step below is a real model file, measured in the same run as v1.1 on one desktop core (i7-14700K) in Node, which runs WebAssembly on the same V8 engine as Chrome. Every step that changed the weights had to keep quality: 400 dev sentences × 3 seeds, 1,600 more held-out sentences, and a second speech recogniser as a guard. The test set got one look per release.
Paradee-8M v1.1: Kokoro-82M's af_heart voice distilled into 7.6M parameters. It sounds great, but in onnxruntime-web it ran at 15× realtime and took 3.6 s from a cold start to its first sound.
A closed-form sine bank instead of a running-sum oscillator, radix-4 block STFTs, and DSP tables rebuilt when the session starts instead of stored in the file.
A smaller text model, and every layer stored at the fewest bits it can take (4, 6 or 8), unpacked at load. The file went from 8.46 MB to 4.60 MB.
I laid out the head's tensors so the STFT stages never copy data between them. Same function, less memory traffic.
A new head with a 300-point noise path, trained adversarially. It sounds better than v1.1's and does less work.
The decoder trunk went from 256 to 192 channels, distilled from the wider one.
Fine-tuned for its own 4-bit weights and 8-bit compute, so the biggest matrix multiplies run in int8 without costing quality.
A second distillation round. The trunk is now half as wide as v1.1's.
Harmonics computed on the noise path's grid so one inverse STFT makes both, noise drawn by rows from a small table, and only ops a GPU backend supports.
A narrower text encoder: 0.8 MB smaller and about 15% faster, for a small word-error cost. It's the generator's default.
A convolutional text side with a sentence vector, and a decoder with fixed per-channel norms. Both run in chunks, so audio can start after about 10 ms.
A C to WebAssembly engine written for exactly this model: 136 kB instead of onnxruntime-web's 21.6 MB, SIMD128 and relaxed-SIMD builds with int8 dot products, FFT-based DSP, its own noise generator, and streaming. Same v2g weights, 2.1× faster again. (v2f on pdn: 149×, 9.6× v1.1.)
v2f on pdn is already in production as the read-aloud voice of a web-novel reading site. The browser numbers above are on one thread, because a normal web page can't count on more: the 4-thread onnxruntime-web build needs cross-origin isolation, and pdn doesn't need any of it.
Phone speed, emulated
The same files on a desktop core slowed down to phone speed with Chrome's CPU throttling. The lanes start talking at their measured time.
A median 7.4 s sentence, played back at real speed
× realtime, one thread, 30 test sentences
These are pdn's relaxed-SIMD numbers (Chrome on Android has it). With plain SIMD128, as on Safari and Firefox, v2g gets 35× and 55 ms to first sound.
This is an emulation, not a real phone. I don't have a phone lab, so I used Chrome's standard CPU throttling (4× is Lighthouse's “mid-tier mobile”, 6× is low end) with Chrome pinned to one desktop core. It doesn't model ARM chips, heat or memory bandwidth, so trust the ratios more than the absolute numbers. The race above runs on your actual device. First visit on slow 4G at mid-tier speed, from page load to the first sound: v2g 11.6 s, v2f lite 13.2 s, v2f 16.5 s. Nearly all of that is the download (2.1, 2.4 and 3.1 MB); after that it's cached.
Download, memory, start-up
The squares are drawn to scale by area. Cold start means a fresh process to the first sound of a short sentence: 3.6 s with v1.1 on onnxruntime-web, most of it compiling a 21.6 MB WebAssembly runtime.
WebGPU
I measured it once, on a desktop graphics card in Chrome.
One core of a desktop CPU running pdn beat a desktop RTX 4070 Ti running onnxruntime-web's WebGPU backend, in the same Chrome session. The GPU also needed 1.75 s to start (session plus shader compilation) and can't stream, and a laptop's integrated GPU or a phone would be slower still. So the CPU is the right default for a model this small. v1.1 can't take the GPU route at all. This is one measured run, so read it as a direction, not a decimal.
Quality
No. Faster and smaller didn't cost quality: the naturalness score went up and word errors stayed within noise. Listen for yourself.
“White dwarf stars, if they have a near companion, may then become Type Ia supernovae.”
Held-out test sentences, rendered with the released files. 96 kbps MP3.
| Model | UTMOS (higher) | WER (lower) |
|---|---|---|
| Kokoro-82M | 4.520 | 5.67% |
| Paradee v1.1 | 4.391 | 5.85% |
| v2f lite | 4.453 | 5.64% |
| v2f | 4.462 | 5.65% |
| v2g | 4.453 | 5.48% |
UTMOS predicts how natural speech sounds; v2f's gain over v1.1 is statistically significant. Word error rate is what Whisper mishears, and those differences are within noise. A stronger recogniser, Whisper large-v3-turbo, shows no regression against v1.1 on two larger sets, and on 1,600 more held-out sentences v2f's error rate there came out lower than Kokoro's own. v2f lite, the generator's default, ties v2f on these 200 sentences, but on 400 dev sentences and 1,600 more held-out ones its error rate runs about 0.1 to 0.3 points higher. In exchange it's 0.8 MB smaller and 15-25% faster, depending on the runtime.
Each student is compared with Phonon-31m-en speaking in the same voice, on 400 development sentences: the student rendered 3 times, the original twice, paired by sentence, with 95% bootstrap intervals. These voices haven't had a held-out test yet.
| Voice | Naturalness (UTMOS, this / original) | Word errors (vs original) | Voice match (original vs itself) | Download | Speed* |
|---|---|---|---|---|---|
| Wren | 4.42 / 4.45 | +0.16 pp same | 0.86 (0.92) | 4.8 MB | 80× |
| Everly | 4.35 / 4.43 | −0.13 pp same | 0.88 (0.94) | 4.8 MB | 80× |
| Hadley | 4.47 / 4.50 | +0.05 pp same | 0.88 (0.94) | 4.8 MB | 80× |
| Bryony | 4.17 / 4.33 | −0.31 pp same | 0.86 (0.93) | 4.8 MB | 80× |
| Maeve | 4.39 / 4.44 | +0.11 pp same | 0.88 (0.94) | 4.8 MB | 80× |
| Miles | 4.26 / 4.37 | −0.07 pp same | 0.88 (0.93) | 4.8 MB | 80× |
| Trevor | 4.32 / 4.42 | +0.13 pp same | 0.85 (0.94) | 4.8 MB | 80× |
| Edwin | 4.22 / 4.39 | −0.11 pp same | 0.87 (0.94) | 5.9 MB | 55× |
| Hugh | 4.27 / 4.37 | +0.16 pp same | 0.88 (0.95) | 4.8 MB | 80× |
UTMOS predicts how natural speech sounds (1 to 5); every student sits 0.03 to 0.17 below its original. Word errors are Whisper-base's, capped at 3 per sentence; no student is significantly worse than its original. Voice match is speaker-embedding similarity to the original on the same sentence; in brackets, the original against a second take of itself. *Realtime factor on one core of a desktop i7-14700K, single-threaded, relaxed SIMD, 200 test sentences. The scores are a machine's; your ears are the real test.
Do it yourself
It's all static files: no server, no API key, no GPU. These are the release files byte for byte, with checksums.
Drop this into any page. The engine, model and lexicon load from mesmer.tools (CORS is open), so it works from a static site, a CodePen or a local file. Synthesis runs on the page's thread here, which is fine for short text.
hello.html 2 kB<script type="module">
import { loadParadee } from "https://mesmer.tools/paradee/v2/paradee.mjs";
const tts = await loadParadee({
model: "v2f_lite", // or "v2f", "v2g"
espeakUrl: "https://mesmer.tools/paradee/espeak.mjs", // optional, see the licence note
});
document.querySelector("#speak").onclick = async () => {
const audio = await tts.synth("Hello from my own page."); // Float32Array, 24 kHz
const ctx = new AudioContext({ sampleRate: tts.sampleRate });
const buf = ctx.createBuffer(1, audio.length, tts.sampleRate);
buf.copyToChannel(audio, 0);
const src = ctx.createBufferSource();
src.buffer = buf; src.connect(ctx.destination); src.start();
};
</script>
<button id="speak">Speak</button>| File | What it is | Size | SHA-256 |
|---|---|---|---|
| paradee-web-v2.zip | The browser bundle: pdn engine (SIMD128 and relaxed-SIMD builds), v2f, v2f lite and v2g weights, the misaki-lite phonemizer and lexicon, worker, player, example.html | 10 MB | |
| paradee_v2f_lite.onnx | v2f lite, the default here: v2f with a smaller text model | 2.6 MB | |
| paradee_v2f_lite_noint8.onnx | v2f lite with fp32 compute | 2.6 MB | |
| paradee_v2f.onnx | v2f: best scores; 4-bit weights, int8 compute | 3.4 MB | |
| paradee_v2f_noint8.onnx | v2f with fp32 compute, for WebGPU | 3.4 MB | |
| paradee_v2g.onnx | v2g: smallest and fastest, streamable | 2.3 MB | |
| paradee_v2g_noint8.onnx | v2g with fp32 compute, for WebGPU | 2.3 MB | |
| config.json | Phoneme vocabulary and model facts | 3 kB | |
| tokenizer.json | The same vocabulary for transformers.js / kokoro-js | 3 kB | |
| hello.html | One-file page that loads everything from mesmer.tools | 2 kB | |
| say.mjs | Node command line (needs the unzipped bundle) | 1 kB | |
| say.py | Python with onnxruntime and misaki | 1 kB |
Every file inside the bundle has its hash in /paradee/v2/SHA256SUMS; the ONNX files in /paradee/onnx/SHA256SUMS. Check with sha256sum -c SHA256SUMS.
Licences. The models are Apache-2.0. They're derived from Paradee-8M v1.1 by Sahil Mahendrakar (Apache-2.0), which is distilled from Kokoro-82M by hexgrad (Apache-2.0); please keep both credits. The engine and JavaScript are Apache-2.0, and misaki's lexicons are Apache-2.0. The nine new voices are Apache-2.0 too, trained on the speech of Phonon-31m-en and gradium/phonon-voices by Gradium (both Apache-2.0); see their notice.
eSpeak NG is not in the bundle. It's GPL-3.0-or-later. Without it, the phonemizer reads every word in its lexicon (96.5% of words in my test set) and throws on the rest, mostly rare names. To add it, pass espeakUrl as above (it loads from jsDelivr only when needed) or npm i phonemizer with a bundler or Node. Check the GPL fits your project first. This page uses it for unknown words.
The voice is Paradee: Paradee-8M v1.1 by Sahil Mahendrakar (Apache-2.0) is the model I started from, and it was distilled from Kokoro-82M by hexgrad (Apache-2.0), whose af_heart voice it speaks. Text goes through a JavaScript port of hexgrad's misaki phonemizer and its lexicons (Apache-2.0). Words outside the lexicon go through eSpeak NG (GPL-3.0-or-later), which your browser loads from jsDelivr only when it's needed. The comparisons use onnxruntime-web (MIT) from jsDelivr and the Kokoro-82M ONNX export by onnx-community. The v2 models, the pdn engine and this page are mine.
The nine new voices are students of Phonon-31m-en by Gradium (Apache-2.0), which builds on Kyutai's Pocket TTS and Mimi codec. Eight learned from voices in gradium/phonon-voices (Apache-2.0), and Wren from the model's built-in voice. They are my own smaller models trained to sound like Phonon, not Phonon's weights, and they run on a build of pdn with a text side for them. Wren's sound model started from Paradee's Heart decoder. The voice descriptions paraphrase Gradium's catalogue. All voices on this page are synthetic: please don't use them to pass as a real person or to mislead listeners about who is speaking.