aubio_timestretch_set_stretch method

int aubio_timestretch_set_stretch(
  1. Pointer<aubio_timestretch_t> o,
  2. double stretch
)

set the stretching ratio of the time stretching object

\param o time stretching object as returned by new_aubio_timestretch() \param stretch new time stretching ratio of the time stretching object (should be in the range 0.025; 10.)

\return 0 if successfull, non-zero otherwise

Implementation

int aubio_timestretch_set_stretch(
  ffi.Pointer<aubio_timestretch_t> o,
  double stretch,
) {
  return _aubio_timestretch_set_stretch(
    o,
    stretch,
  );
}