INNER CODE UNIT · Python

power_arr

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

    power_arr = np.abs(spec_arr) ** 2
    cqcc_arr = cqt_obj.cqcc(power_arr, cc_num=cc_num, rectify_type=rectify_type)
    fre_band_arr = cqt_obj.get_fre_band_arr()
    return cqcc_arr, fre_band_arr


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

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…