aubio_pitchshift_set_pitchscale method

int aubio_pitchshift_set_pitchscale(
  1. Pointer<aubio_pitchshift_t> o,
  2. double pitchscale
)

set the pitch scale of the pitch shifting object

\param o pitch shifting object as returned by new_aubio_pitchshift() \param pitchscale new pitch scale of the pitch shifting 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_pitchshift_set_pitchscale(
  ffi.Pointer<aubio_pitchshift_t> o,
  double pitchscale,
) {
  return _aubio_pitchshift_set_pitchscale(
    o,
    pitchscale,
  );
}