Function bliss_audio_aubio_rs::hz_to_mel_htk[][src]

pub fn hz_to_mel_htk(freq: Smpl) -> Smpl
Expand description

Convert frequency (Hz) to mel

  • freq Input frequency to convert, in Hz

Converts a scalar from the frequency domain to the mel scale, using the equation defined by O’Shaughnessy, as implemented in the HTK speech recognition toolkit:

m = 1127 + ln(1 + f / 700)

See also mel_to_hz_htk(), hz_to_mel().

See:

  • Douglas O’Shaughnessy (1987). Speech communication: human and machine. Addison-Wesley. p. 150. ISBN 978-0-201-16520-3.
  • HTK Speech Recognition Toolkit: http://htk.eng.cam.ac.uk/