pub const KNEE_RISE_FRAMES: usize = 20;
The frames of the mean that the rise reads past its start, so that a noise floor’s wobble after the note-off does not count as a level that comes back.