f2mel {hqmisc} | R Documentation |
Convert between frequency in Hz and in mel units
Description
Convert between frequency in Hz and in psychoacoustic mel units.
Usage
f2mel( hz )
mel2f( mel )
Arguments
hz |
a frequency in Hertz (cycles per second). |
mel |
a frequency in mel units. |
Details
These functions convert between the linear Hertz and psychoacoustic Mel scales. The functions use formulas provided by Rietveld & Van Heuven (2009).
A frequency of 1000 Hz equals 1000 mel. For frequencies below 1000 Hz the mel scale is approximately linear; for frequencies above 1000 Hz the mel scale is approximately logarithmic.
Value
Transformed value(s) in mel or hertz units.
References
Rietveld, A. C. M., & Van Heuven, V. J. (2009). Algemene Fonetiek (3rd ed.). Bussum: Coutinho.
See Also
Examples
f2mel( seq( 250, 1000, by= 250) )
f2mel( seq(1000, 3000, by=1000) )
mel2f( seq( 500, 2500, by= 500) )
[Package hqmisc version 0.2-1 Index]