aubio_zero_crossing_rate method

double aubio_zero_crossing_rate(
  1. Pointer<fvec_t> v
)

zero-crossing rate (ZCR)

The zero-crossing rate is the number of times a signal changes sign, divided by the length of this signal.

\param v vector to compute ZCR from

\return zero-crossing rate of v

Implementation

double aubio_zero_crossing_rate(
  ffi.Pointer<fvec_t> v,
) {
  return _aubio_zero_crossing_rate(
    v,
  );
}