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