aubio_onset_set_awhitening method

int aubio_onset_set_awhitening(
  1. Pointer<_aubio_onset_t> o,
  2. int enable
)

set onset detection adaptive whitening

\param o onset detection object as returned by new_aubio_onset() \param enable 1 to enable, 0 to disable

\return 0 if successful, 1 otherwise

Implementation

int aubio_onset_set_awhitening(
  ffi.Pointer<_aubio_onset_t> o,
  int enable,
) {
  return _aubio_onset_set_awhitening(
    o,
    enable,
  );
}