use case · multi-model · Silero VAD v5 (2.24 MB fp32 · MIT) → Pipecat Backchannel Detector (3.87 MB fp32 · BSD-2-Clause) · 6.1 MB total

Silero VAD → Pipecat Turn Classifier: 6.1 MB Total

Mirrors Pipecat's production full-duplex voice-agent chain entirely in two isolated CPU WASM Web Workers: Stage 1 (onnx-community/silero-vad, 2.24 MB, MIT, reusing ../../silero-vad/worker.js) gates voiced speech segments and skips silence, then Stage 2 (pipecat-ai/backchannel-detector, 3.87 MB, BSD-2-Clause) classifies each triggered speech segment into Backchannel vs Floor Barge-In.

1 · Two isolated speech workers (6.1 MB combined)

Stage 1 · Silero VAD v5 (2.24 MB fp32 · MIT)

onnx-community/silero-vad · Reuses ../../silero-vad/worker.js (speech-segment trigger).

Stage 2 · Pipecat Backchannel Detector (3.87 MB fp32 · BSD-2-Clause)

pipecat-ai/backchannel-detector · Turn-taking classifier (../worker.js).

2 · Audio → Stage 1 Silero VAD Trigger → Stage 2 Pipecat Turn Classifier

Initialise the 6.1 MB Voice-Agent Turn-Taking Pack above to chain Silero VAD into Pipecat Backchannel Detector locally.

Loading sample…
Combined size6.1 MB
Stage 1 VAD ms–
Stage 2 Pipecat ms–
VAD segments–
Silence skipped–
NaN (S1 / S2)–

Dual-lane pipeline timeline (Stage 1 Silero VAD → Stage 2 Pipecat verdicts)

Stage 1: Silero VAD speech probability & triggers Stage 2: Backchannel segment Stage 2: Floor Barge-In segment

Per-segment VAD → Pipecat classification ledger

VAD speech segments classified by Stage 2 Pipecat Backchannel Detector
Segment Window (s) Stage 2 Verdict Peak p(Backchannel) Peak p(Floor) Stage 2 ms · NaN
Run the 2-stage pipeline above to inspect VAD-triggered turn classifications.

3 · Inspect Silero VAD worker reuse & 2-stage pipeline fusion

Show the code · bc.js — SileroVadStageClient (reusing ../silero-vad/worker.js)
Show the code · bc-core.mjs — fuseVadAndBackchannel() (VAD gating + silence savings report)