INNER CODE UNIT · Python
cqt
libAudioFlux/audioFlux · python/audioflux/core.py:935
def cqt(X, num=84, samplate=32000, low_fre=note_to_hz('C1'), bin_per_octave=12,
factor=1., thresh=0.01,
window_type=WindowType.HANN, slide_length=None,
normal_type=SpectralFilterBankNormalType.AREA,
is_scale=True):
"""
Constant-Q transform (CQT)
.. 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`.