use case · wild · live DSP stress, WER diff & hallucination traps · WASM q8 · 40.85 MB

Wild: Acoustic Stress & Hallucination Trap Lab

Synthesize calibrated +10 dB / 0 dB white noise, a 300–3400 Hz telephone bandpass, 0.85× / 1.25× speed shifts, and -18 dB quiet gain on jfk.wav — or probe Whisper's decoder on pure silence and a -30 dB 440 Hz tone to catch non-speech hallucinations and measure live WER.

1 · Whisper-Tiny EN worker (40.85 MB q8 WASM)

2 · Apply DSP degradation or hallucination trap

Initialise Whisper-Tiny EN above to run live DSP degradations and hallucination probes.

Loading clip…
WER vs clean–
Word accuracy–
Sub / Del / Ins–
Latency · speed–
NaN count–

Clean Whisper baseline

Run a condition to establish the clean baseline.

Word-level diff (+10 dB white noise)

Run a condition to inspect substitutions, deletions, insertions, or trap output.

Condition scoreboard

Measured WER and latency across all acoustic degradations and hallucination traps
Condition Duration Latency WER vs clean WER vs ref Transcript
Run a condition or full sweep above to populate the stress scoreboard.

3 · Inspect Gaussian SNR noise & Levenshtein WER code

Show the code · whisper-tiny-en-core.mjs — addGaussianNoiseAtSnr() (Box-Muller calibrated SNR noise)
Show the code · whisper-tiny-en-core.mjs — computeWerAndDiff() (Levenshtein word-level alignment)