aubio_hztomel_htk method

double aubio_hztomel_htk(
  1. double freq
)

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/

Implementation

double aubio_hztomel_htk(
  double freq,
) {
  return _aubio_hztomel_htk(
    freq,
  );
}