f2mel: Convert between frequency in Hz and in mel units

f2melR 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

f2st, st2f, f2bark, bark2f.

Examples

f2mel( seq( 250, 1000, by= 250) )
f2mel( seq(1000, 3000, by=1000) )
mel2f( seq( 500, 2500, by= 500) )

hqmisc documentation built on May 9, 2022, 5:08 p.m.

Related to f2mel in hqmisc...