MFCC Explorer
MFCC Explorer
Visualizes all the MFCC extraction steps: frames, windowing, FFT, Mel filterbank, logarithm, DCT, and then the coefficients.
Learning Objective
Understand each stage of MFCC and why we often keep the first 13 coefficients.
Experiment
Audio is processed inside your browser and is not sent to the server. The microphone is opened only when you press it.
Experiment Details
Prerequisites
- Audio file or recording
Inputs
An audio file you upload from your device or a microphone recording; processing happens inside your browser and nothing is sent to the server.
Method
Optional pre-emphasis → frames → Hann window → |FFT|² → Mel filters (HTK) → $10\log_{10}$ → orthonormal DCT-II. Our results match librosa/SciPy with the same settings (see the test report).
Results
The Log-Mel matrix and the MFCC coefficients for each frame, with control over the number of Mel filters and the number of coefficients.
Charts
A heatmap for each step.
Scientific Interpretation
The first coefficients summarize the spectral envelope, while the higher ones carry fine details; coefficient 0 relates to the total energy.
Questions for Reflection
- Why do we apply the logarithm before the DCT?
- What does MFCC coefficient number 0 represent?
References
- Davis, Mermelstein. Comparison of parametric representations for monosyllabic word recognition in continuously spoken sentences. IEEE Trans. ASSP 28(4):357-366 (1980). DOI
- McFee, Raffel, Liang, Ellis, McVicar, Battenberg, et al.. librosa: Audio and Music Signal Analysis in Python. Proceedings of the 14th Python in Science Conference (2015). DOI
Audio processing in the experiments takes place inside your browser. Audio, texts, and conversations are not saved on the server. Privacy Policy
