f2mel | R Documentation |

Convert between frequency in Hz and in psychoacoustic mel units.

f2mel( hz ) mel2f( mel )

`hz` |
a frequency in Hertz (cycles per second). |

`mel` |
a frequency in mel units. |

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.

Transformed value(s) in mel or hertz units.

Rietveld, A. C. M., & Van Heuven, V. J. (2009). Algemene Fonetiek (3rd ed.). Bussum: Coutinho.

`f2st, st2f, f2bark, bark2f.`

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.