pub fn snap_scan(rate: Hz, bpm: Bpm) -> Snap
Snaps a rate at the BPM and at tempos within 2 % of it, in 0.1 % steps, and returns the snap with the smallest residual. A drifting tempo shows as a best BPM away from the nominal one.