pub unsafe extern "C" fn new_aubio_onset(
    method: *const char_t,
    buf_size: uint_t,
    hop_size: uint_t,
    samplerate: uint_t
) -> *mut aubio_onset_t
Expand description

create onset detection object

\param method onset detection type as specified in specdesc.h \param buf_size buffer size for phase vocoder \param hop_size hop size for phase vocoder \param samplerate sampling rate of the input signal

\return newly created ::aubio_onset_t