aubio_level_detection method

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

get buffer level if level >= threshold, 1. otherwise

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

\return level in dB SPL if level >= threshold, 1. otherwise

Implementation

double aubio_level_detection(
  ffi.Pointer<fvec_t> v,
  double threshold,
) {
  return _aubio_level_detection(
    v,
    threshold,
  );
}