aubio_timestretch_set_pitchscale method

int aubio_timestretch_set_pitchscale(
  1. Pointer<aubio_timestretch_t> o,
  2. double pitchscale
)

set the pitch scale of the time stretching object

\param o time stretching object as returned by new_aubio_timestretch() \param pitchscale new pitch scale of the time stretching object

pitchscale is a frequency ratio. It should be in the range 0.25, 4.

\return 0 if successfull, non-zero otherwise

Implementation

int aubio_timestretch_set_pitchscale(
  ffi.Pointer<aubio_timestretch_t> o,
  double pitchscale,
) {
  return _aubio_timestretch_set_pitchscale(
    o,
    pitchscale,
  );
}