Expand description
Tap tempo state machine: computes BPM from press intervals.
Call tap(now_ms) on each button press. Returns Some(bpm) once enough
taps are received. Resets automatically after a 2-second idle timeout.
Structsยง
- TapTempo
- Tap tempo state. Tracks timestamps of recent taps and computes BPM.