new_aubio_pitch method

Pointer<aubio_pitch_t> new_aubio_pitch(
  1. Pointer<char_t> method,
  2. int buf_size,
  3. int hop_size,
  4. int samplerate,
)

creation of the pitch detection object

\param method set pitch detection algorithm \param buf_size size of the input buffer to analyse \param hop_size step size between two consecutive analysis instant \param samplerate sampling rate of the signal

\return newly created ::aubio_pitch_t

Implementation

ffi.Pointer<aubio_pitch_t> new_aubio_pitch(
  ffi.Pointer<char_t> method,
  int buf_size,
  int hop_size,
  int samplerate,
) {
  return _new_aubio_pitch(
    method,
    buf_size,
    hop_size,
    samplerate,
  );
}