Skip to main content

Module max_to_total

Module max_to_total 

Source
Expand description

MaxToTotal — position of the envelope maximum, normalised to length.

Functions§

max_to_total
Position of the maximum of envelope, normalised to [0, 1) by the total length (argmax / len). A value near 0 indicates an early peak (percussive onset); near 1, a late peak.