Anava logo
Anava Detector Lab

Waveform Playground

Load a recording, play time forward, and rewrite the detector live.

The default script below contains the full detector flow directly in the editor. Edit it and rerun to compare behavior instantly.

Drop a recording JSON here
No file loaded yet

Works with `recording-578-2.json`, `recording-579-1.json`, and `recording-580-2.json`.

Timeline

Amplitude + Detection Playback

Sequential pairing view
00:00.0 / 00:00.0
Raw amplitude Smoothed amplitude Threshold High points Pair completion Playhead

Live State

Readout + Events

High Points So Far 0
Pairs So Far 0
Pending High No
Threshold 0.0000

When It Fires

Detection Events

    Load a recording to inspect detector output.

    Editable Algorithm

    Detector Source

    Ready

    The editor must define a function named detector(samples, helpers) and return an object with threshold, smoothed, acceptedHighs, and pairEvents. The default implementation is fully inlined, mirrors the live sequential pairing flow, and does not hide the pairing logic in a helper wrapper.