pub unsafe extern "C" fn aubio_hztomel_htk(freq: smpl_t) -> smpl_t
Expand description

convert frequency (Hz) to mel

\param freq input frequency, in Hz

\return output mel

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:

\f$ m = 1127 + ln(1 + \frac{f}{700}) \f$

See also

aubio_meltohz_htk(), aubio_hztomel().

References

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/