pub fn min_to_total(envelope: &[f32]) -> Result<f32, AudioError>Expand description
Position of the minimum of envelope, normalised to [0, 1) by the total
length (argmin / len).
ยงErrors
AudioError::InvalidParameterifenvelopeis empty.
pub fn min_to_total(envelope: &[f32]) -> Result<f32, AudioError>Position of the minimum of envelope, normalised to [0, 1) by the total
length (argmin / len).
AudioError::InvalidParameter if envelope is empty.