use case · basics · Conversational threshold & slice duration tuner · WASM fp32 · 3.87 MB

Basics: Conversational Threshold & Slice Duration Tuner

Hold the voice recording constant and slice it across five speech durations — from a crisp 350 ms backchannel burst up to a 1.8 s sustained turn grab — then slide the Floor Barge-In decision threshold to find the operating band where brief acknowledgments let the agent keep talking while real interruptions stop it.

1 · Pipecat Backchannel Detector worker (3.87 MB fp32 WASM)

2 · Compare 350 ms acknowledgments vs 1.8 s turn grabs

Initialise Pipecat Backchannel Detector above to sweep speech durations from 250 ms to 1,800 ms.

350 ms Ack verdict–
1,800 ms Grab verdict–
Clean separation band–
Custom probe–
Total compute · NaN–

Peak p(Backchannel) vs p(Floor Barge-In) across slice durations

Peak p(Backchannel) Peak p(Floor Barge-In) Active decision threshold
Select any slice row below to audition.

Duration ladder results

Per-duration backchannel vs floor barge-in metrics
Slice duration Verdict Peak p(Backchannel) Peak p(Floor) Trigger latency Compute · NaN Audition
Run the 5-duration sweep to populate live per-duration scores.

Threshold sweep matrix (350 ms Ack vs 1,800 ms Turn Grab)

Decision threshold sensitivity matrix from 0.30 to 0.90
Threshold 350 ms Ack 1,800 ms Grab Clean separation?
Threshold sweep updates immediately after running the duration ladder.

3 · Inspect duration slicing & threshold sweep logic

Show the code · bc-core.mjs — buildDurationSliceClip() (cosine-ramped duration slice extraction)
Show the code · bc-core.mjs — buildThresholdSweep() (350 ms vs 1.8 s separation-band analyzer)