use case · multi-model · KittenTTS Nano 0.8 + Moonshine Base ASR · WASM · ~95.6 MB total

TTS → ASR Intelligibility & WER Loopback Lab

Verify speech clarity quantitatively inside the browser. Stage 1 (KittenTTS Nano 0.8, 27.6 MB int8) synthesizes 24 kHz mono speech via ONNX Runtime Web + eSpeak-NG; the page resamples 24→16 kHz in memory and feeds Stage 2 (Moonshine Base ASR, 68 MB q8, reusing the shared Moonshine worker with zero weight duplication) to compute live Word Error Rate (WER) and a word-by-word diff.

1 · Two isolated speech workers (~95.6 MB combined)

Stage 1 · KittenTTS Nano 0.8 (~27.6 MB)

onnxruntime-web@1.21.0 int8 · 24 kHz StyleTTS 2 TTS

Stage 2 · Moonshine Base ASR (~68 MB)

Shared moonshine-asr/worker.js q8 · 16 kHz ASR verifier

2 · Run TTS → ASR loopback verification

Preparing Stage 1 (KittenTTS Nano 0.8) and Stage 2 (Moonshine Base ASR)…

Stage 2 · Moonshine Base heard:

—

Word-by-word diff (expected vs heard):
Run the loopback test to inspect word-level matches, substitutions, insertions, and deletions.
Word match—
WER—
Stage 1 (TTS)—
Stage 2 (ASR)—
Audio length—

3 · Loopback Verification Log

Voice Speed TTS ms ASR ms Match % WER Moonshine Transcript
No loopback checks recorded yet.