librosa.core.mel_to_hz¶
-
librosa.core.
mel_to_hz
(mels, htk=False)[source]¶ Convert mel bin numbers to frequencies
Parameters: - mels : np.ndarray [shape=(n,)], float
mel bins to convert
- htk : bool
use HTK formula instead of Slaney
Returns: - frequencies : np.ndarray [shape=(n,)]
input mels in Hz
See also
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])