Skip to main content

mel_to_hz

Function mel_to_hz 

Source
pub fn mel_to_hz(mel: f32) -> f32
Expand description

Convert a value on the HTK mel scale back to Hertz.

Inverse of 2595 * log10(1 + hz/700), i.e. hz = 700 * (10^(mel/2595) - 1). Round-trips hz_to_mel to within ~1e-3 relative error over the audible band.