nnAudio.librosa_functionsΒΆ

Module containing functions cloned from librosa

To make sure nnAudio would not become broken when updating librosa

Functions

fft_frequencies

Alternative implementation of np.fft.fftfreq :param sr: Audio sampling rate :type sr: number > 0 [scalar] :param n_fft: FFT window size :type n_fft: int > 0 [scalar]

hz_to_mel

Convert Hz to Mels .

mel

This function is cloned from librosa 0.7.

mel_frequencies

This function is cloned from librosa 0.7.

mel_to_hz

Convert mel bin numbers to frequencies .

pad_center

Wrapper for np.pad to automatically center an array prior to padding.