pub const SPARSE_ONSETS_MAX: f64 = 0.8;Expand description
The most onsets per beat for which the sparse periodicity trusts a tempo.
A dense grid lines up with any spacing that is a whole number of its steps: sixteenth notes at 70.3 BPM read a sparse periodicity of 0.98 at 16/15 of the tempo, where 4 beats are 15 sixteenths. Generated parts with one kick a bar read 0.19 to 0.26 onsets per beat, kicks on every other beat 0.48 to 0.52, and leads 1.23 or more; the threshold sits between them.