Questions tagged [mfcc]

Related to the calculation, verification, usage, and requirements for Mel Frequency Cepstral Coefficients.

Filter by
Sorted by
Tagged with
30 votes
2 answers
16k views

How do I interpret the DCT step in the MFCC extraction process?

In most audio processing tasks, one of the most used transformations is MFCC (Mel-frequency cepstral coefficients). I mostly know the math that's behind the MFCC: I understand both the filterbank ...
Andrea Spadaccini's user avatar
20 votes
1 answer
14k views

Cepstral Mean Normalization

Can anyone please explain about Cepstral Mean Normalization, how the equivalence property of convolution affect this? Is it must to do CMN in MFCC Based Speaker Recognition? Why the property of ...
mun's user avatar
  • 215
19 votes
1 answer
26k views

Help calculating / understanding the MFCCs: Mel-Frequency Cepstrum Coefficients

I've been reading bits and pieces online but I just can't piece it all together. I have some background knowledge of signals / DSP stuff which should be enough prerequisites for this. I'm interested ...
YoungMoney's user avatar
18 votes
4 answers
35k views

Feature extraction for sound classification

I'm trying to extract features from a sound file and classify the sound as belonging to a particular category (eg : dog bark, vehicle engine e.t.c). I'd like some clarity on the following things : 1) ...
Kevin Martin Jose's user avatar
11 votes
3 answers
11k views

Is this a correct interpretation of the DCT step in MFCC calculation?

This is a continuation of the discussion here. I would comment there, but I don't have 50 rep so I'm asking a new question. Here's how I understand the DCT step in the MFCC calculation process: The ...
orangebanana3's user avatar
8 votes
1 answer
9k views

Speech comparison algorithm for rating on similarities

I am trying to compare 2 speech samples and rate them on similarities. Think of someone trying to repeat a phrase, and then comparing those 2 audio files. I started by implementing the MFCC (http://...
YoungMoney's user avatar
8 votes
1 answer
7k views

What's the correct graphical interpretation of a series of MFCC vectors?

I'm studying speech-recognition, in particular the use of MFCC for feature extraction. All examples I've found online tend to graph a series of MFCC extracted from a particular utterance as follows (...
jotadepicas's user avatar
7 votes
1 answer
4k views

MFCC feature extraction

I have a block of audio and I have performed an FFT on it. Now what I want to do is convert this FFT into a set of MFCCs, however while I know I need to do something with weighting the FFT samples ...
Goz's user avatar
  • 475
7 votes
2 answers
4k views

Using DTW on the MFCC's to match a spoken word to a template

I am trying to code a simple algorithm in MATLAB that would be used to detect a single word. The goal would be to have a user record the word one time to act as a template, then make the user repeat ...
user5907's user avatar
6 votes
1 answer
2k views

MFCC process confusion

I have read through many papers related to the Mel-frequency cepstrum coefficient (MFCC): I have some confusion about the MFCC process: Many of the papers say that I have to do a FT (Fourier ...
user avatar
6 votes
2 answers
4k views

How to stitch together MFCCs from multiple frames?

I am trying to record a sound two times and compare the two recordings. I am playing exactly the same sound both times (for example, play a small .wav file twice and record it each time), so I hoped ...
Ioanna's user avatar
  • 175
6 votes
3 answers
4k views

Sinusoidal liftering in implementations of MFCC

Some implementations of MFCC apply sinusoidal liftering as the final step in calculations of MFCC. It is claimed that speech recognition can be significantly improved. For instance, if $\text{MFCC}_i$ ...
Celdor's user avatar
  • 452
6 votes
2 answers
4k views

Gentle request for explanation on LPC and LPCC coefficients :)

If I understand what LPC does, I think. It predicts the next sample by taking into account previous $p$ samples. I don't understand why it is useful in DPS and speech recognition. I also came across ...
Celdor's user avatar
  • 452
5 votes
1 answer
3k views

What is the purpose of the log when computing the MFCC?

The steps of computing the Mel-Frequency Cepstrum Coefficients (MFCC) are: ...
Morten's user avatar
  • 333
5 votes
1 answer
9k views

Mel filter in MFCC - is it necessary?

Is it necessary to use filter bank in MFCC process? Can anyone explain what is the Mel filter? I know that frequency in hertz is converted into Mel scale but is this formula can be directly applied ...
purple's user avatar
  • 69
5 votes
2 answers
8k views

what is the mel scale?

I am not sure I understand what the Mel Scale is. Googling doesn't give me various answers. I seem to be getting the same response again and again. Which would be something like: "The mel scale ...
Bob Burt's user avatar
  • 359
5 votes
2 answers
3k views

Using MFCC in spoken words recognition

We're trying to implement a "simple" speech recognition application in MATLAB (isolated words from a very limited dictionary). We've been trying the following methods: Extract MFCC coefficients for ...
Ofir's user avatar
  • 71
5 votes
1 answer
1k views

Acoustic features distinguishing the male and female voice?

I would like to use MFCC analysis to distinguish between a male voice and a female voice. Are there any particular quantifiable characteristics consistent with, and exclusive to, either gender? (E.g....
rurouniwallace's user avatar
5 votes
2 answers
1k views

Dynamic Time Warping - Comparing Values

Ok, so I'm trying to compare two different speech signals and I have come into a problem. Here goes: I have split the signal into blocks, and I have computed the MFCC coefficients of each block. I ...
Phorce's user avatar
  • 485
5 votes
0 answers
1k views

Zero-padding of MFCC coefficients

I am trying to implement speech recognition using backpropagation algorithm, and I have been following this paper. I have followed it all the way, except that it tells me to zero-pad the coefficients ...
motiur's user avatar
  • 414
5 votes
1 answer
400 views

how to handle different durations of audio data?

I am new to signal preprocessing, I read about mel_spectrograms, MFCC's. Now I want to apply it and use the CNN model, But the data which I have for practice is having audio of different durations, ...
Ravi Teja's user avatar
4 votes
2 answers
12k views

MFCC - Significance of number of features

I have been doing some readings on the computation of Mel-Frequency Cepstral Coefficients (MFCC) and further use of Vector Quantizers (VQ) for recognition purposes. I am however stumped by the method ...
Thai Monk's user avatar
4 votes
1 answer
3k views

From MFCC to Machine learning. What are the steps?

I was able to get a dataset with MFCC coefficients. However, depending on the length of my sound file I get a different sized matrix. As in, 13 (13 MFCC coefficients) by XXX, where XXX will vary ...
Ryan's user avatar
  • 51
4 votes
0 answers
3k views

Verifying MFCC Final Result

I have created a Octave code for MFCC calculation for speech recognition, which takes a wav file as input and then gives the MFCC as the output. But the final results are a bit confusing, so I am ...
Mohit's user avatar
  • 173
3 votes
1 answer
5k views

Normalizing a vector with Mel Cepstrum Coefficients, Delta Coefficients and Log Energies for both

This is my very first signal processing exercise so I'm very new to this space. That being said the goal is to do isolate voice recognition in identifying someone saying yes and no.As the title ...
user481610's user avatar
3 votes
1 answer
982 views

If MFCC vectors are speaker independent, then how can we reconstruct unique speech signals from them?

Reconstructing a speech signal from a collection of MFCC vectors seems to work pretty well, but I've heard that one advantage of MFCCs is speaker-independence i.e. they are more-or-less the same ...
orangebanana3's user avatar
3 votes
2 answers
2k views

Difference Between MFCC of speech and speaker recognition

I am doing my project on speaker recognition. One of my friends is doing his project on speech recognition. Both of us need to calculate the MFCC for feature extraction. Is the MFCC going to be the ...
santh's user avatar
  • 31
3 votes
1 answer
10k views

MFCC feature vector from wav file

I am trying to implement a spoken language identifier from audio files, using Neural Network. I need to generate one feature vector for each audio file. From what I have read the best features (for ...
SameOlds's user avatar
3 votes
2 answers
2k views

Vowel detection using MFCC

Does anybody know a simple way to recognize vowels from MFCCs? (not words, just phonemes: a,e,i,o,u). I heard this is a vastly known problem in DSP with several solutions like SVM, GMM and cosine ...
JMFS's user avatar
  • 336
3 votes
1 answer
2k views

Onset Detection for Audio Signals

I am having a problem understanding how the author gets the onset envelope of an audio song in this paper. The entire section in question has been quoted below: First the input sound is resampled ...
KillaKem's user avatar
  • 326
3 votes
2 answers
1k views

Algorithm to detect if a spoken phrase matches a previously spoken phrase

I would like to create a very simple system that allows a user to train (once or multiple times) a spoken phrase (from 1 word to a whole sentence.) Then the (same) user would speak the phrase back, ...
hagope's user avatar
  • 131
3 votes
2 answers
3k views

MFCC window size at different sampling rates

The general recommendation for window size when calculating MFCC seems to be 20-40 msec. This is most often recommended in a context of 16000 samples per second, so leading to a window containing 320-...
EddieM's user avatar
  • 43
3 votes
3 answers
3k views

Using MFCC to an ANN Speech Recognition System

I'm developing an Artificial Neural Network based Speech Recognition System using MFCCs. Suppose I have 260 input nodes in the ANN, and this number of nodes corresponds to the number of MFCCs that I ...
Romelio Tavas Jr.'s user avatar
3 votes
0 answers
58 views

Supervised instrument recognition

Is it possible to use NMF for a sort of supervised polyphonic instrument recognition? I have training data for a timpani and training data for a bongo (or a bongo, snare and box drum). How can I ...
Andrew B.'s user avatar
3 votes
0 answers
14k views

MFCC calculation

I've got a project and need to calculate MFCCs. I tried to read some tutorials and then make a MATLAB function but I seem to have wrong answers. I'd like to feed MFCCs to one of the classification ...
Celdor's user avatar
  • 452
3 votes
0 answers
631 views

Questions about Bark scale filter bank implementation for bfcc's

I have a few questions regarding the implementation of Bark scale filter banks for the calculation of bark frequency cepstral coefficients. 1) Which filter shape is most commonly used and why? ...
melinnde's user avatar
  • 155
3 votes
0 answers
459 views

Finding similar fragment in recorded speech

I use MFCC algorithm for calculation of Mel-frequency coefficient for 2 files and DTW algorithm with Euclidean distance for finding similarity. I have results values around 400-600 on the files with ...
Vbif's user avatar
  • 131
2 votes
2 answers
3k views

Is it possible to apply a frequency filter a time domain signal?

Is it possible to frequency filter a time domain signal, without converting the signal to a frequency domain.. My question comes in regards how MFCC according to wiki and other pages describe the ...
Bob Burt's user avatar
  • 359
2 votes
2 answers
4k views

How to apply a mel-filterbank to a signal?

I found this description. According to this, the next step is a "binning" where binning means that each FFT magnitude coefficient is multiplied by the corresponding filter gain and the results ...
Jan's user avatar
  • 135
2 votes
1 answer
685 views

MFCC extraction last step DCT or IDCT

I'm confused with the last step of extraction MFCC where we have to take DCT or IDCT. Cepstrum is defined as IDFT of log(power spectrum). Since MFCC are cepstral coefficients so I think we have to ...
Long Smith's user avatar
2 votes
1 answer
697 views

Why are MFCCs of two equivalent signals completely different?

I have an audio file, of which I calculate 16 (actually 15 because I omit the first one) MFCCs in R. When I stream this file via VLC-Player and Icecast2-Server, receive it in Java (with the Player of ...
msc's user avatar
  • 23
2 votes
1 answer
616 views

Regarding MFCC feature of a speech signal

I am trying to implement speech recognition but I'm struck with a few questions: There are 12 Coefficients of MFCC. What are their names? What is the range of values of MFCC coefficients? If I ...
user117268's user avatar
2 votes
1 answer
1k views

Applying DTW on MFCC frames

I want to use MFCC (Mel-frequency cepstral coefficients) and DTW (dynamic time warping) algorithms to make a speech comparison script. I calculated MFCC and got 13 coefficients for each frame. How ...
Ana Mandic's user avatar
2 votes
1 answer
5k views

Speech recognition using MFCC and DTW(Dynamic Time Warping)?

I know basics about DSP, and now trying to complete a project on Speech recognition. So I read as many resources as I found, and got some ideas. They are like: take a sample sound and break it into ...
Nafis's user avatar
  • 31
2 votes
1 answer
948 views

How to compare 2 matrices of MFCCs, keeping the time information

I have a corpus of several thousand sounds. Now I pick a sound sample S, and I want to find in my corpus the sound S' that is the most similar to S. The application is for music, for a composition ...
sebpiq's user avatar
  • 283
2 votes
1 answer
114 views

MFCC: Does the DCT discard the information on pitch?

Given that the pitch harmonics of speech, are higher frequency features than the spectral envelope (of the pitch harmonics), I had an idea that computing the DCT of a spectrogram and discarding the ...
Tom Huntington's user avatar
2 votes
1 answer
109 views

Standardize MFCCs Before or After Computing Deltas?

I want to create a feature space that includes MFCCs, MFCC deltas, and MFCC delta-deltas concatenated along the time axis which I will then feed into a CNN for speech emotion recognition. After ...
AlePouroullis's user avatar
2 votes
2 answers
418 views

MFCC in Speech Recognition and ANN

I have a dataset with over 2000 examples of digits (0 to 9) recorded on wav files. I'm trying to process these files with MFCC so that later I could train an Artificial Neural Network (ANN). My ...
Ernani's user avatar
  • 131
2 votes
1 answer
1k views

MFCC delta: How to compute delta, in real time, with no future frames?

I am trying to compute Delta coefficients for real-time audio analysis. As far as I know, a valid formula is: $$d_t= \frac{\displaystyle\sum_{n=1}^{N}n\left(c_{t+n}-c_{t-n}\right)}{2\displaystyle\...
Marvin Ler's user avatar
2 votes
3 answers
1k views

Synchronization of two audio tracks via Mel-frequency cepstral coefficients (MFCCs)

I am trying to solve the (common) problem of synchronizing (i.e. measuring the delay between) two audio tracks recorded from different sources during a conference talk (about 1h of audio). One track ...
charlie80's user avatar
  • 121