Function aubio_rs::silence_detection [−][src]
pub fn silence_detection<'i, I>(input: I, threshold: Smpl) -> bool where
I: Into<FVec<'i>>,
Check if buffer level in dB SPL is under a given threshold.
Returns true
if the level is under the threshold, false
otherwise.
Note: this is currently the opposite of the official doc, which seems to have a typo in it.
input
Vector to get level fromthreshold
Threshold in dB SPL