~163 MB CPU WASM 3 Chained Workers 0 Bytes Uploaded
About & Code

Standalone App & PWA

Launch Sound Lab on its dedicated origin to install it as an offline PWA with audio/* file handlers (.wav, .mp3, .ogg, .webm, .flac).

Open foley.webai.show ↗

Honest cache note: browsers isolate Cache Storage per origin, so foley.webai.show stores its own local ONNX weights (~163 MB). Staying on webai.show shares cached weights with the GTCRN, Silero VAD, and CLAP model pages.

Stage 1 · GTCRN Separator (1 MB fp32 · Apache-2.0)

bitsydarel/gtcrn-onnx · Speech vs residual stem

Stage 2 · Silero VAD v5 (2 MB fp32 · MIT)

onnx-community/silero-vad · 32 ms speech regions

Stage 3 · CLAP Event Tagger (160 MB q8 · Apache-2.0)

Xenova/clap-htsat-unfused · 48 kHz zero-shot

0 bytes uploaded. Load the 3 audio workers above to separate speech from residual foley, map VAD windows, and tag sound events locally.

8.0s · 16 kHz / 48 kHz · 0 bytes uploaded
Source Audio–
GTCRN Denoise–
Silero VAD–
Residual Foley–
Latencies & NaN–

Spectrogram Scrubber, Stem Separation & A/B/C Audition

Window 00:00.00 – 00:02.50
00:00.00 / 00:08.00

A/B/C Stem Monitor (Muted by Default)

Speech-Noise Profiler (Float32 Stem Separation Metrics)

Acoustic Metric Original Mix Isolated Speech Residual / Delta

Stage 3 · Zero-Shot CLAP Sound-Event Studio

Awaiting Stage 3 CLAP

Editable Zero-Shot Event Vocabulary

3-Stem Zero-Shot Comparison (Mix vs Speech vs Residual)

CLAP Sound-Event Timeline Ledger

0 slices
Window Stem Top Sound Event Prob VAD Speech

Real Local Exports (Formula-Safe CSV · Audacity Labels · SRT · JSON)

How Sound Lab Works

Three audited CPU WebAssembly audio workers chained strictly off the main thread — GTCRN Speech Enhancer (~0.54 MB fp32 · Apache-2.0), Silero VAD v5 (~2.2 MB fp32 · MIT), and LAION CLAP Zero-Shot Audio (160 MB q8 · Apache-2.0) — totaling ~163 MB with zero WebGPU required and zero bytes leaving your device.

Float32 Residual Stem Math

Subtracting GTCRN's isolated 16 kHz speech estimate from the 48 kHz original mix yields a full-bandwidth residual foley stem that keeps high-frequency transients intact for CLAP classification.

VAD-Routed Timeline Sweep

Each 2.0 s sliding window checks Silero VAD overlap before dispatching to CLAP — routing voice-dense windows through the speech stem and quiet/background windows through the residual foley stem.

Zero Bundled Media

Four deterministic procedural scenes synthesize vowel-formant speech alongside rain, mechanical switches, sirens, barks, and chimes in-memory, while local uploads decode cleanly via OfflineAudioContext.

Show the code — synthesizeSceneAudio() deterministic procedural 48 kHz / 16 kHz testbed synthesis
Show the code — computeStemSeparation() Float32 speech vs residual foley extraction
Show the code — computeStftSpectrogram() radix-2 FFT log-magnitude spectrogram
Show the code — deriveVadRegions() hysteresis speech & foley gap segmentation
Show the code — escapeCsvCell() OWASP formula-injection neutralization for RFC 4180 CSV
Show the code — StageWorkerClient coalesced load, FIFO queue, and terminate-safe disposal
Show the code — createMicGuard() startGen abort guard and deterministic MediaStream cleanup
Show the code — registerSoundLabWebMcpTools() 2-arg WebMCP registration with AbortController