pub const PERIODICITY_MIN: f64 = 0.4;Expand description
The lowest share of the onset strength that repeats at the refined beat.
The share is the best score over the lags times the zero-lag autocorrelation. Onsets on every beat read near 1, one onset and a steady tone near 0. Generated drum, bass and lead parts read 0.78 to 0.99 and pad chords that change once a bar 0.04 at most; the threshold sits between them.