new_aubio_onset method

Pointer<_aubio_onset_t> new_aubio_onset(
  1. Pointer<Int8> method,
  2. int buf_size,
  3. int hop_size,
  4. int samplerate,
)

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<ffi.Int8> method,
  int buf_size,
  int hop_size,
  int samplerate,
) {
  return _new_aubio_onset(
    method,
    buf_size,
    hop_size,
    samplerate,
  );
}