INNER CODE UNIT · Python
mfcc
libAudioFlux/audioFlux · python/audioflux/core.py:511
def mfcc(X, cc_num=13, rectify_type=CepstralRectifyType.LOG,
mel_num=128, radix2_exp=12, samplate=32000, slide_length=None,
low_fre=None, high_fre=None, window_type=WindowType.HANN):
"""
Mel-frequency cepstral coefficients (MFCCs)
.. Note:: We recommend using the `BFT` and `XXCC` class, you can use it more flexibly and efficiently.
Parameters
----------
X: np.ndarray [shape=(..., n)]
audio time series.
cc_num: int
number of MFCC to return.
rectify_type: CepstralRectifyType
cepstral rectify type