use case · basics · cutoff explorer & 8 s framing alignment · q8 WASM · ~8.6 MB

Complete vs Interrupted Cutoff Explorer

Scrub anywhere from 15% to 100% of a real spoken sentence to watch P(END_OF_TURN) drop mid-phrase and jump at true completion — then compare left-padded (correct) against right-padded (broken) 8-second framing side by side on the exact same audio.

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

2 · Scrub cutoff & compare 8-second window framing

Uploaded audio and optional microphone capture stay entirely in your browser — nothing is uploaded.

Prepare Smart-Turn v3 above to scrub speech cutoffs and test left vs right 8-second framing.

Left-padded 8 s window (canonical · correct)

Zeros precede speech so the speaker's latest phoneme ends at frame 800 (t = 0.0 s).

— Awaiting run

Right-padded 8 s window (naive · misaligned)

Default WhisperFeatureExtractor right-padding appends zeros after speech — shifting the end of turn away from frame 800.

— Awaiting run

Run both framings above to measure the live alignment delta between left-padded and right-padded input windows.

3 · Cutoff Sweep Comparison

Clip Cutoff % Duration Left-pad P(EOT) Right-pad P(EOT) Left verdict Latency
Click “Run 4-point cutoff sweep” or evaluate any cutoff above.

4 · Inspect the exact browser implementation

Open either panel to load the live ES module code running on this page — zero pseudo-code, zero hidden wrappers.

Show the code: 8-second left-padding & sigmoid scoring
Show the code: Whisper log-mel extraction + ONNX Runtime Web inference