aubio_onset_set_threshold method

int aubio_onset_set_threshold(
  1. Pointer<_aubio_onset_t> o,
  2. double threshold
)

set onset detection peak picking threshold

\param o onset detection object as returned by new_aubio_onset() \param threshold new peak-picking threshold

Implementation

int aubio_onset_set_threshold(
  ffi.Pointer<_aubio_onset_t> o,
  double threshold,
) {
  return _aubio_onset_set_threshold(
    o,
    threshold,
  );
}