use case · multi-model · Smart-Turn v3 (8.6 MB) → Moonshine Base ASR (68 MB) · ~76.6 MB total

Zero-Interruption Voice Agent Pipeline

Chain two real on-device speech models in isolated Web Workers: Stage 1 (Smart-Turn v3, 8.6 MB q8) scans a conversational utterance containing a mid-thought hesitation pause to locate the true semantic end of turn; Stage 2 (Moonshine Base ASR, 68 MB q8, reusing the shared Moonshine worker with zero weight duplication) transcribes both the premature naive-VAD cutoff and the completed semantic turn so you see the exact words saved from interruption.

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

Stage 1 · Smart-Turn v3 (~8.6 MB q8)

onnxruntime-web@1.21.0 WASM · Semantic end-of-turn detector

Stage 2 · Moonshine Base ASR (~68 MB q8)

Shared moonshine-asr/worker.js · 16 kHz speech-to-text

2 · Run Smart-Turn v3 → Moonshine Base ASR comparison

Prepare Stage 1 (Smart-Turn v3) and Stage 2 (Moonshine Base ASR) above to run the full voice-agent pipeline.

Naive Acoustic VAD Cutoff → Moonshine ASR

Waiting for Stage 1 & Stage 2…

—

Smart-Turn v3 Semantic Handoff → Moonshine ASR

Waiting for Stage 1 & Stage 2…

—
Stage 1 (Smart-Turn)—
Stage 2 (Moonshine)—
Naive cutoff time—
Semantic handoff—
Words saved—