Repository navigation
TTS v1.3.0 (tts.computer)
Human-level phonetic clarity and 4.05+ unseen naturalness — still computed purely from a physical model of the human vocal tract in a single self-contained WebAssembly file (tts.wasm, ~1.74 MB raw, ~591 KB gzipped): zero external WASM imports, zero models, zero audio samples, with the complete JavaScript TTS SDK embedded inside it.
| Benchmark (male / female) | v1.0 | v1.1 | v1.2 | v1.3 | Human recordings |
|---|---|---|---|---|---|
| Phoneme error rate — CMU Arctic | 9% / 8% | 8% / 8% | 7% / 7% | 8.3% / 6.9% | 8.5–9.5% |
| Phoneme error rate — blind unseen held-out | — | — | 7.9% / 6.5% | 5.4% / 6.2% | 6–9% |
Phoneme error rate — conversational (style) |
— | — | 8.9% / 6.4% | 6.5% / 5.4% | 6.1–6.6% |
| Predicted naturalness (UTMOS, 1–5) — CMU Arctic | 3.55 / 3.59 | 3.61 / 3.63 | 3.78 / 3.78 | 3.91 / 3.97 | 4.3 |
| Predicted naturalness (UTMOS, 1–5) — blind unseen held-out | — | — | 3.77 / 3.86 | 4.05 / 4.06 | 4.3–4.4 |
Predicted naturalness (UTMOS, 1–5) — conversational (style) |
— | — | 3.57 / 3.61 | 3.93 / 3.99 | 4.4 |
Non-intrusive speech quality (SQUIM) — arctic / style |
— | — | 3.79 / 4.15 | 4.25 / 4.78 | 4.5–4.9 |
What's New
- Voiced-only phase dispersion & per-gender tone curves. Four causal all-pass sections (~1 ms round-trip delay of a 14–17.5 cm vocal tract) relax zero-phase glottal wavetable peakiness on the voiced path alone, leaving stop bursts and fricatives crisp at the lips. Each gender now has its own 10-band voiced tone curve paired with calibrated
F4/F5/F6laryngeal speaker's formant clusters (3451 / 3941 / 4489 Hzmale,3960 / 5060 Hzfemale). - Open-glottis subglottal coupling & smooth laryngeal drift. While the vocal folds are open, tracheal coupling damps
F1and adds windpipe pole-zero coloration (subglottal0.28male,0.34female); uncorrelated per-cycle step jitter is removed from the male source in favour of smooth physiological flutter and walk, and female fold closure is firmer (0.43). - Breath-group pitch declination & natural contour range. Subglottal pressure drifts gently down across each clause (
decl0.38 / 0.40) while phrase-final loudness decay is softened (fade_db1.2,tail_drop0.16) so clause-final words stay clear; short comma clauses share their sentence's pitch centre (~3.1 stF0 SD, matching studio readers). - Rhotic
[ɚ]offglides,/ɑr/vs/ɑ/, and post-liquid coarticulation. Post-vocalic/r/(rare, there, start) uses a vocalic[ɚ]offglide rather than lip-rounded onset[ɹʷ];/ɑr/(start, large, tomorrow) retracts cleanly while non-rhotic/ɑ/(pot, sock) keeps a highF3; and coda/l r/supply proper left-hand formant context to following stops (helps, garbage). - Stop-cluster & juncture clarity. Postalveolar
/tr/affrication (trail, train),/spr/labial burst ceiling (spring), utterance-initial voiced stop pre-vibration (Gad, Gregson), female back-velar burst scaling, pre-velar/ɪ/raising before/ŋ g/, and cohesive pre-tonictə-timing (tomorrow, today) drop conversational zero-LM word error rate down to 7.7% / 9.4%. - Speaker vowel spaces & diphthongs. Per-speaker vowel spaces brought in line with real male and female readers,
/ɔɪ/(joy, voice, boy) holds its rounded start for 40% before gliding front, and/ʊ/(could, good) and male/iː/(keep, each) stay distinct. - Smaller WASM & stronger G2P. Restored 7,700 word-initial letter-to-sound rules (
#.context), raising accuracy on rare words from 66% to 74% while shrinking the embedded exception lexicon from 21,700 to 16,100 entries (tts.wasmis ~150 KB smaller: 1.74 MB raw, 591 KB gzipped). - Everyday talk,
creak, richerrandomVoice(), and four new presets: casual contractions and slang (hiya, g'day, y'know, c'mon, outta, tryna, AI, iOS, arvo), drawn-out spellings (sooo, pleeease), natural times/dates/phone numbers/versions (3:30pm,17/11/2026,+61 412 345 678,v1.3.0), true breathy HNR drop onbreathiness, a newcreakvocal-fry control ([creak=0.9]), anatomicalTTS.randomVoice()diversity, and four new presets (crisp,elder,soft,mellow).
Release Assets
tts.wasm— standalone self-contained WebAssembly binary (~1.74 MB, ~591 KB gzipped) with internal JSTTSglue (tts_glue_ptr/tts_glue_len) and raw C-ABI exportstts.js— optional ES module loader (import init, { TTS } from "./tts.js")tts.d.ts— full TypeScript declarationstts-demo-site.zip— the demo studio as an upload-ready static site
4-Line Single-File HTML Embed (tts.wasm only)
<script type="module">
const { instance: { exports: w } } = await WebAssembly.instantiateStreaming(fetch("./tts.wasm"));
const { TTS } = Function("wasm", new TextDecoder().decode(new Uint8Array(w.memory.buffer, w.tts_glue_ptr(), w.tts_glue_len())))(w);
const voice = new TTS();
await voice.play("Hello from tts.computer!");
</script>Full changelog: v1.2.0...v1.3.0