Features
This is an implementation of the CQT1992v2 from nnAudio in JAX.
cqt_transform
cqt_transform (x, cqt_instance, output_format=None)
JIT-compiled CQT transform function.
CQT1992v2
CQT1992v2 (sr=22050, hop_length=512, fmin=32.7, fmax=None, n_bins=84, bins_per_octave=12, filter_scale=1, norm=1, window='hann', center=True, pad_mode='reflect', trainable=False, output_format='Magnitude')
JAX implementation of CQT1992v2 from nnAudio.
conv1d_efficient
conv1d_efficient (x, kernel, stride=1)
create_cqt_kernels
create_cqt_kernels (Q, fs, fmin, n_bins=84, bins_per_octave=12, norm=1, window='hann', fmax=None, topbin_check=True, gamma=0)
Create CQT kernels in time domain.
get_window_dispatch
get_window_dispatch (window, N, fftbins=True)
Get the window function.
broadcast_dim
broadcast_dim (x)
nextpow2
nextpow2 (A)