INNER CODE UNIT · Python

chroma_cqt

libAudioFlux/audioFlux · python/audioflux/core.py:1358

def chroma_cqt(X, chroma_num=12, 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 chromagram

    .. 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.

    chroma_num: int
        Number of chroma bins to generate.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…