Caution

You're reading the documentation for a development version. For the latest released version, please have a look at 0.10.2.

librosa.mel_to_hz

librosa.mel_to_hz(mels, *, htk=False)[source]

Convert mel bin numbers to frequencies

Parameters:
melsnp.ndarray [shape=(n,)], float

mel bins to convert

htkbool

use HTK formula instead of Slaney

Returns:
frequenciesnp.ndarray [shape=(n,)]

input mels in Hz

See also

hz_to_mel

Examples

>>> librosa.mel_to_hz(3)
200.
>>> librosa.mel_to_hz([1,2,3,4,5])
array([  66.667,  133.333,  200.   ,  266.667,  333.333])