aubio_pitch_set_tolerance method

int aubio_pitch_set_tolerance(
  1. Pointer<aubio_pitch_t> o,
  2. double tol
)

change yin or yinfft tolerance threshold

\param o pitch detection object as returned by new_aubio_pitch() \param tol tolerance default is 0.15 for yin and 0.85 for yinfft

Implementation

int aubio_pitch_set_tolerance(
  ffi.Pointer<aubio_pitch_t> o,
  double tol,
) {
  return _aubio_pitch_set_tolerance(
    o,
    tol,
  );
}