pub fn describe(
samples: &[f64],
rate: SampleRate,
params: StftParams,
f0: Option<Hz>,
hard_limited: bool,
) -> Result<Descriptors, ConfidenceError>Expand description
Computes the descriptors of a mono signal.
Frames are periodic Hann of params.frame_len() samples with hop
frame_len / 4. f0 is the median fundamental of the note list, if one
was given. hard_limited is the flat-top flag of the stem; the levels
carry it as a reason.
ยงErrors
Returns a ConfidenceError only if a reason cannot be built, which
the counts here never cause.