new_aubio_onset method
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
Implementation
ffi.Pointer<aubio_onset_t> new_aubio_onset(
ffi.Pointer<char_t> method,
int buf_size,
int hop_size,
int samplerate,
) {
return _new_aubio_onset(
method,
buf_size,
hop_size,
samplerate,
);
}