Skip to main content

ONSET_FLOOR

Constant ONSET_FLOOR 

Source
pub const ONSET_FLOOR: f32 = 1e-5;
Expand description

Silence floor for onset. An order of magnitude lower because spectral flux is an order of magnitude smaller: the same groove peaks at 0.0167 with a 0.0016 mean, so this keeps the same ~1000x margin.