the fft signal (buffer) to analyze
what strength of detection signal from Hainsworth metric (0 to 1) to use.
what strength of detection signal from normalized Foote metric (0 to 1) to use.
threshold level for detection
after an onset is detected, further detections are suppressed for this period in seconds, preventing multiple rapid triggers
An FFT based onset detector UGen using a balance of two features. It is based on work described in Hainsworth (2003), "Techniques for the Automated Analysis of Musical Audio," PhD thesis, University of Cambridge. See especially p. 128. The Hainsworth metric is a modification of the Kullback Liebler distance.
Examples
PV_JensenAndersen
Onsets