Skip to content

mfcc

audio · scripts/audio/mfcc.m

MFCC  Mel-frequency cepstral coefficients.
 [COEFFS,DELTA,DELTADELTA,LOC] = MFCC(AUDIOIN,FS)
 ... = MFCC(...,'WindowLength',WL,'OverlapLength',OL,'NumCoeffs',N)

 Name-value: Window, WindowLength, OverlapLength, NumCoeffs, NumBands,
 FFTLength, FrequencyRange, Rectification ('log'|'cubic-root'),
 DeltaWindowLength, LogEnergy ('ignore'|'replace'|'append'),
 SpectrumType ('power'|'magnitude'), DCTType (1|2|3|4).
 Default LogEnergy is 'ignore' so a default call stays NumCoeffs columns.
 COEFFS is frames-by-coefficients (mono) or frames-by-coefficients-by-channels.
 LOC is the last sample index of each analysis window.