Skip to main content

SHARPNESS_MIN

Constant SHARPNESS_MIN 

Source
pub const SHARPNESS_MIN: f64 = 0.9;
Expand description

The lowest onset sharpness that trusts a refined tempo.

A pad under a smooth tremolo repeats as well as a drum part does, so its beat or sparse periodicity reads near 1. Its onsets are swells, not hits: the rise of each band spreads over 180 ms or more. Generated tremolo pads whose shares pass read 0.80 at most, and chord pads 0.76; generated drum, hat, bass, lead and kick parts, swung or humanised, read 0.985 or more, and a bass with an 80 ms attack 0.92. The threshold sits between them.