1 · Two isolated speech workers (41.6 MB combined)
Stage 1 · Kitten TTS 2 Pico (13.46 MB int8 · Apache-2.0)
KittenML/kitten-tts-2-pico · 24 kHz neural TTS (../worker.js).
Stage 2 · Moonshine Tiny ASR (28.18 MB q8 · MIT)
onnx-community/moonshine-tiny-ONNX · 16 kHz RoPE ASR (../../moonshine-tiny/worker.js).
2 · Synthesize → 24→16 kHz Resample → Transcribe & Diff
Initialise the 2-stage TTS → ASR Pack above (41.6 MB total) to verify synthesized speech locally.
Stage 1 · Synthesized 24 kHz Audio
Run Stage 1 to synthesize 24 kHz PCM and resample to 16 kHz.
Stage 2 · Moonshine Tiny ASR Transcript & Diff
Run the 2-stage round-trip (or Stage 2 on synthesized audio) to transcribe speech back into text.
Word alignment: –