Detects onsets using an energy based detection function, and then assesses the nature of the attack slope in various ways.
control rate feature extraction
input |
audio input |
windowsize |
Size in samples of the operating window for detection |
peakpicksize |
parameter of onset detection |
leak |
parameter of onset detection |
energythreshold |
parameter of onset detection |
sumthreshold |
parameter of onset detection |
mingap |
Do not retrigger for detected onsets unless this number of control periods has elapsed |
numslopesaveraged |
number of slopes to average (number of previous slopes to store) |
(describe returnvalue here) //[0] onset trigger (can be used as an onset detector) //[1] corrected to minima time of last onset //[2] most recent slope measurement //[3] average slope calculation //[4] raw detection function //[5] raw peakpick function