nnAudio.utilsΒΆ
Module containing helper functions such as overlap sum and Fourier kernels generators
Functions
Auto broadcast input so that it can fits into a Conv1d  | 
|
Auto broadcast input so that it can fits into a Conv2d  | 
|
Since PyTorch does not support complex numbers and its operation.  | 
|
Automatically create CQT kernels and convert it to frequency domain  | 
|
Create cqt kernels in time-domain  | 
|
This function creates the Fourier Kernel for STFT, Melspectrogram and CQT.  | 
|
Calculate the highest frequency we need to preserve and the lowest frequency we allow to pass through.  | 
|
A helper function that downsamples the audio by half.  | 
|
A helper function that downsamples the audio by a arbitary factor n.  | 
|
Extending the number of frequency bins from n_fft//2+1 back to n_fft by reversing all bins except DC and Nyquist and append it on top of existing spectrogram  | 
|
A helper function to calculate the next nearest number to the power of 2.  | 
|
A helper function to calculate the next nearest number to the power of 2.  | 
|