INNER CODE UNIT · Python
vqt
libAudioFlux/audioFlux · python/audioflux/core.py:1045
def vqt(X, num=84, samplate=32000, low_fre=note_to_hz('C1'), bin_per_octave=12,
factor=1., beta=0.5, thresh=0.01,
window_type=WindowType.HANN, slide_length=None,
normal_type=SpectralFilterBankNormalType.AREA,
is_scale=True):
"""
Variable-Q transform (VQT)
.. Note:: We recommend using the :ref:`CQT <transforms/cqt:CQT>` class, you can use it more flexibly and efficiently.
Parameters
----------
X: np.ndarray [shape=(..., n)]
audio time series.
num: int
Number of frequency bins to generate, starting at `low_fre`.