multi-model · larger-clap general (207.05 mb) → whisper-tiny asr (40.85 mb)

Zero-Shot Acoustic Triage → Conditional Whisper Transcription

Chain two isolated on-device audio workers (~247.91 MB combined): Stage 1 Larger-CLAP General (207.05 MB q8 WASM at 48 kHz) classifies whether a clip is speech, singing, rain, siren, or music; Stage 2 Whisper-Tiny (40.85 MB q8 WASM reusing ../../whisper-tiny/worker.js at 16 kHz) transcribes speech-gated clips without hallucinating on ambient noise.

1 · Two-Stage Model Pack (~247.91 MB combined)

Stage 1 · Larger-CLAP General (207.05 MB q8)

laion/larger_clap_general → Xenova/larger_clap_general · 48 kHz WASM · Apache-2.0

Stage 2 · Whisper-Tiny Multilingual (40.85 MB q8)

Reuses ../../whisper-tiny/worker.js · Xenova/whisper-tiny · 16 kHz WASM · Apache-2.0

2 · Audio Input, CLAP Triage Labels & Whisper Bridge

Drop, paste, or choose any audio clip — Stage 1 runs at full 48 kHz; Stage 2 downsamples 3:1 to 16 kHz for Whisper-Tiny.
Speak a sentence or record ambient sound to test triage routing.
Loading audio sample… 48 kHz CLAP / 16 kHz Whisper bridge

3 · Stage 1 Triage Distribution & Stage 2 Transcript

Stage 1 · Larger-CLAP Acoustic Triage

Stage 2 · Whisper-Tiny ASR Transcript

Load both stages above to run Stage 1 CLAP triage and conditional Stage 2 Whisper transcription.

Awaiting Stage 2 Whisper-Tiny output…
Whisper-Tiny timestamp chunks
Start (s) End (s) Segment Text
No transcript chunks yet.

Show the Code (Reused Whisper-Tiny Client & Speech Gate)

Show the code: WhisperTinyStageClient reusing ../whisper-tiny/worker.js (clap-general-client.js)
Show the code: evaluateAcousticTriage() speech-vs-ambient gate (clap-general-core.mjs)