Timeline
Amplitude + Detection Playback
Raw amplitude
Smoothed amplitude
Threshold
High points
Pair completion
Playhead
Timeline
Live State
When It Fires
Load a recording to inspect detector output.
Editable Algorithm
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.