use case · basics · 3/4 vs 4/4 vs 5/4 downbeat grouping & refractory-window ablation · CPU WASM fp32

Basics: Meter Grouping & Peak-Picking Ablation

Beat This! ships with no HMM post-processor: it predicts sharp 50 fps logits and relies on a local-maximum peak picker (threshold = 0.0, peakRadius = 3 frames = 60 ms refractory window). Run 3/4 Waltz, 4/4 Groove, and 5/4 Odd-Meter side by side and interactively sweep threshold & min-distance on the live logits.

1 · Beat This! ONNX worker (warm Cache Storage auto-init)

2 · 3/4 Waltz vs 4/4 Groove vs 5/4 Odd-Meter Downbeat Grouping

Initialise Beat This! ONNX above (auto-inits from Cache Storage on returning visits) to compare meters.

3/4 vs 4/4 vs 5/4 meter detection results from Beat This! ONNX
Groove True Meter / BPM Detected Meter Detected BPM Beats / Downbeats Bar Grouping Infer · NaN
Run the 3/4 vs 4/4 vs 5/4 sweep above to inspect live downbeat grouping.

3 · Peak-Picking Threshold & Refractory-Window (Min-Distance) Ablation

Re-runs postprocessBeatLogits() instantaneously on the live cached [1, 1500] logits of the selected groove — proving why threshold = 0.0 and radius = 3 frames (60 ms) prevent both double-triggering and missed offbeats.

0.0 (σ=0.50)
3 frames (60 ms · k=7)
1 frame (20 ms)
Peak-picking refractory-window ablation metrics on live logits
Setting Threshold / Refractory Beats Downbeats BPM Meter IBI Jitter
Select or run a groove above to compare peak-picking settings.

4 · Inspect peak picking & refractory-window ablation code

Show the code · beat-this-core.mjs — postprocessBeatLogits() (parabolic peak picking & bar grouping)
Show the code · beat-this-core.mjs — runPeakPickingAblation() (threshold & min-distance comparison)