aubio_silence_detection method

int aubio_silence_detection(
  1. Pointer<fvec_t> v,
  2. double threshold
)

check if buffer level in dB SPL is under a given threshold

\param v vector to get level from \param threshold threshold in dB SPL

\return 1 if level is under the given threshold, 0 otherwise

Implementation

int aubio_silence_detection(
  ffi.Pointer<fvec_t> v,
  double threshold,
) {
  return _aubio_silence_detection(
    v,
    threshold,
  );
}