standard mode | Rhythm category
- signal (vector_real) - the input signal
- onsets (vector_real) - the positions of detected onsets [s]
- onsetRate (real) - the number of onsets per second
This algorithm computes the number of onsets per second and their position in time for an audio signal. Onset detection functions are computed using both high frequency content and complex-domain methods available in OnsetDetection algorithm. See OnsetDetection for more information. Please note that due to a dependence on the Onsets algorithm, this algorithm is only valid for audio signals with a sampling rate of 44100Hz. This algorithm throws an exception if the input signal is empty.