nnAudio.Spectrogram

Module containing all the spectrogram classes

Classes

CQT

An abbreviation for CQT1992v2().

CQT1992

This alogrithm uses the method proposed in [1].

CQT1992v2

This function is to calculate the CQT of the input signal.

CQT2010

This algorithm is using the resampling method proposed in [1].

CQT2010v2

This function is to calculate the CQT of the input signal.

DFT

Experimental feature before torch.fft was made avaliable.

Griffin_Lim

Converting Magnitude spectrograms back to waveforms based on the “fast Griffin-Lim”[1].

MFCC

This function is to calculate the Mel-frequency cepstral coefficients (MFCCs) of the input signal.

MelSpectrogram

This function is to calculate the Melspectrogram of the input signal.

STFT

This function is to calculate the short-time Fourier transform (STFT) of the input signal.

iSTFT

This class is to convert spectrograms back to waveforms.