use case · basics · IPA pipeline & speed-prior sweep · WASM · ~27.6 MB

IPA Phoneme & Speed-Prior Inspector

KittenTTS Nano 0.8 does not read raw characters — it converts normalized English text into eSpeak-NG IPA, maps each IPA glyph through a 178-symbol TextCleaner table, picks row ref_id = min(len, 399) from voices.npz, and scales your speed by the voice's speed_prior (0.8 for most voices, 0.9 for Hugo). Inspect every stage live and sweep 0.75× / 1.00× / 1.25×.

1 · Model

2 · Inspect every stage & run 3-point speed sweep

Preparing KittenTTS Nano 0.8 (~27.6 MB)…

Stage A · Normalized Text & Prosodic Chunks —

Run Inspect pipeline above to trace every transformation.

Stage B · eSpeak-NG en-us IPA (stress + punctuation) —

—

Stage C · StyleTTS 2 Token IDs ([0, ...TextCleaner, 10, 0]) —
Token ID chips appear after synthesis.
Stage D · voices.npz Style Row (ref_id) & Speed Prior —

—

Stage E · Synthesized 24 kHz Waveform (last 5,000 samples trimmed) —

3 · Live Speed Sweep (0.75× · 1.00× · 1.25×)

Click Run 3-point speed sweep above to hear and measure how speed scaling affects duration and RTF.

Requested Speed Prior Effective Latency Duration RTF RMS
No speed sweep recorded yet.

4 · Show the code

Show TextCleaner & IPA tokenization code (kitten-core.mjs)
Show eSpeak-NG phonemizer & ONNX inference helper (worker.js)