new_aubio_specdesc method

Pointer<aubio_specdesc_t> new_aubio_specdesc(
  1. Pointer<char_t> method,
  2. int buf_size
)

creation of a spectral description object

\param method spectral description method \param buf_size length of the input spectrum frame

The parameter \p method is a string that can be any of:

  • onset novelty functions: complex, energy, hfc, kl, mkl, phase, specdiff, specflux, wphase,

  • spectral descriptors: centroid, decrease, kurtosis, rolloff, skewness, slope, spread.

Implementation

ffi.Pointer<aubio_specdesc_t> new_aubio_specdesc(
  ffi.Pointer<char_t> method,
  int buf_size,
) {
  return _new_aubio_specdesc(
    method,
    buf_size,
  );
}