Questions tagged [mfcc]

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

56 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
759 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 ...
5
votes
2answers
740 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 ...
4
votes
0answers
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 ...
3
votes
0answers
11k 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 ...
3
votes
0answers
532 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? ...
3
votes
0answers
442 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 ...
2
votes
0answers
153 views

How to calculate MFCCs over a narrow frequency range?

I have a bunch of brief (~1 second each) wave files, some of which contain a frequency-modulated sound of interest between about 3900-4500 Hz. I thought I might run MFCC calculations on these sound ...
2
votes
1answer
815 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 ...
2
votes
0answers
54 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 ...
2
votes
0answers
253 views

MFCC help: Same sound, different coefficients?

Problem: I'm getting totally different MFCC coefficients for identical and near identical sounds like several finger snaps or several desk taps. What am I missing? I thought since the timbre doesn't ...
2
votes
0answers
281 views

Most efficient algorithm for comparing two paths

I'm working with a Continuous Hidden Markov Model, and using the Viterbi Decoder which finds the best possible path for a given sequence. Here is how my algorithm works: ...
1
vote
0answers
29 views

Understanding MFCC

I am not from electrical or electronic background so my knowledge will be lacking. MFCC is represented by 39 values for each window frame. 12 values are the mel filter-bank and we get 13th value by ...
1
vote
0answers
20 views

Alone MFCC can identify difference between sound?

I am doing a project to identify different drum beats. There are lots of features like MFCC, Chroma Values, Spectral Bandwidth, Spectral Centroid, Zero Crossing Rate, etc. But most of the projects are ...
1
vote
0answers
674 views

How to overcome different MFCC coefficients distributions from different speech datasets?

I am using MFCC values as features for a machine learning model of speech, detecting age from a voice recording of a person. I work with voice datasets I found on the web: common-voice and vctk. ...
1
vote
0answers
224 views

How to use frame based audio features for machine learning

I have an audio recording (wav file) that is 2 seconds long. That is my sample and it needs to be classified as [class_A] or [class_B]. To extract MFCC features, I divided the sample into frames (183 ...
1
vote
0answers
103 views

Can MFCC consist any zero values?

After extracting audio features using some library, I just realized that sometimes it (MFCC) might or might not have zero values. At what time/event does MFCC could have zero values? Because it's (...
1
vote
0answers
1k views

What does the output of Gaussian Mixture Model (GMM) represents in a HMM-GMM based speech recognition application?

Till now I know that- first the speech is converted frames and feature vectors are calculated for each frame using MFCC. And while training the Acoustic model- HMM model is generate for each phoneme ...
1
vote
0answers
653 views

Dealing with MFCC Feature Vectors of different sizes

I am working on a project where I am classifying coughs of a patient as either positive or negative for a certain pulmonary illness. What I have at the moment is multiple cough events, segmented ...
1
vote
0answers
163 views

Implementation of DCT for MFCC

I am in the process of implementing MFCC and I'm unsure about the DCT part. This is how I implemented it (using DCT II). ...
1
vote
0answers
2k views

Compare two voices and outline their similarity

I am trying to develop an application which records the voice of someone through a microphone. I will have a preset recorded voices for the same words. I then need to compare the real time recorded ...
1
vote
0answers
152 views

Features for speaker recognition

I'm trying to create my own program for speaker identification (text-independent) and have used MFCC features for that. But result of recognition is very poor. My supervisor told me that using MFCC ...
1
vote
0answers
236 views

Extract Word Information From MFCC

I am making a pronunciation Scoring system, and I need to know how to separate the pronunciation information of an MFCC of a given spoken word, so that later i can match this MFCC with the MFCC of ...
1
vote
1answer
418 views

How to average MFCCs from different speakers saying the same word?

I am trying to create a simple recognition system. i have recordings of several speakers saying the same word, let's say "west". I compute the MFCC feature vectors of word "west" from each speaker. If ...
1
vote
1answer
584 views

Principal Component Analysis as a step between STFT and MFCC

For computing Mel Frequency Cepstral Coefficients you can use already calculated STFTs as a basis and perform the Mel frequency mapping on it. My question: Does it make a significant difference if I ...
0
votes
0answers
14 views

How do I extract n-dimensional cepstral coefficients with a sliding Hamming window in PyTorch?

I am trying to replicate the features from this paper, described as follows: MFCCs of speech frames are computed using a mel-scale filterbank. We extract 20-dimensional cepstral coefficients with a ...
0
votes
0answers
20 views

In audio analysis, is the first rahmonic from the cepstrum equivalent to the first partial of a pitched sound?

I was reading this text from Oppenheim and Schafer, briefly explaining the concept of the cepstrum. I'm new to this concept. He explains that the cepstrum is useful to quantize the distance between '...
0
votes
0answers
24 views

Compare two spoken words with MFCC and DTW

Processing of the speech signal is done using Matlab. I want to use MFCC (Mel-frequency cepstral coefficients) is implemented using HTK and DTW (dynamic time warping v2.1) algorithms to make a speech ...
0
votes
0answers
6 views

Help understand MFCC extraction in SPTK toolkit

The algorithm for MFCC extraction is: Compute the Fourier transform of (a windowed excerpt of) a signal. Map the powers of the spectrum obtained above onto the mel scale, using triangular overlapping ...
0
votes
0answers
42 views

How to save MFCC features and frame energy of several wav files to one .npz file for machine learning training?

I am creating a English-Italian corpus of around 100 hours of English audio from LibriVox aligned with their Italian textual translation. The alignment is at a sentence level and the corpus consist of ...
0
votes
0answers
7 views

Alternatives to MFCCs for Sonar Classification?

Currently I am processing sonar (.wav) files into MFCC features using the librosa library. I use these features as input for sonar classification. Are there any alternatives to MFCCs -- other ...
0
votes
0answers
7 views

Using delta MFCC for signal segmentation

Hello I am focused on implementing a method of speech segmentation into syllables based on delta mfcc. After the calculating of delta, I extracted their maximum local and the next step is to determine ...
0
votes
0answers
45 views

How do I interpret these mfcc graphs?

The first graph represents mfcc plot for female and the second for male. How do I interpret this graph with colors. and what is that color scale on the right? How do I differentiate gender from these ...
0
votes
0answers
26 views

MFCCs: magnitude spectrum vs power spectrum

As I know, the magnitude spectrum and power spectrum have the same information in this step before applying Mel-Filterbank, and the power spectrum may work slightly better in noise. However, I don't ...
0
votes
0answers
212 views

Understanding liftering as the final step in MFCCs features extraction

In the book here, they apply liftering, as a final step of MFCCs features extraction, to isolate the system component by multiplying the whole cepstrum by a rectangular window centred on lower ...
0
votes
0answers
32 views

Why do we use the term “cepstral” in MFCCs, and how does it related to the cepstral domain?

As I know, we can get the cepstrum by taking the Inverse Discrete Fourier Transform (IDFT) of the log of the power spectrum. And we can get the Mel-frequency cepstral coefficients (MFCCs) by taking ...
0
votes
0answers
12 views

What features capture the semantics of a sentence from a gien audio?

I have been thinking lately and looking up on what could be the possible features that capture the semantics of an audio and came across MFCC: MFCC features represent phonemes (distinct units of sound)...
0
votes
0answers
84 views

extracting mfccs after beamforming

I have a deep network for sound classification with mfccs as features. I wish to go through the process of beamforming before applying the classification. The original network uses ...
0
votes
1answer
59 views

Audio Activity Detection and Classification

I am starting a new project. Actually, my real intention is to learn speech recognition but for warming up I want to improve in audio signal processing. In my project, I aim to record sounds except ...
0
votes
0answers
186 views

issue with the MFCC and GMM for audio recognition

i am working on a project related to audio events recognition in real time like a door bell, baby crying, footstep, I have 9 categories of sound events so the first step i did was getting many wav ...
0
votes
0answers
270 views

issue in the mfcc function in java and matlab,not the same

I am working on a project for recognizing and identifying the sounds in real time(like baby crying, birds, door knocking...)by java, so I made a model by using audio files for 9 categories of sound by ...
0
votes
0answers
332 views

Why MFCC have varying length dimensions?

I have recently started to use MFCC as a feature for a project. However, I am unable to understand why MFCC have varying 2nd dimension size even when I chose the number of coefficients to be 40.
0
votes
1answer
48 views

Speech Processing applications: stereo data for features

I am working on speech databases that have a stereo format. I want to extract spectral information (Mel-filterbanks, MFCC, LPCC) and also some other prosody features like the fundamental Frequency F0. ...
0
votes
1answer
389 views

Machine Learning - any suggestions to solve Python rounding errors?

I am working with Python to isolate voiced segments from music using the Jamendo corpus for singing detection. Training a model, I break my audio into frames, and have a label (0,1) for each frame. ...
0
votes
0answers
93 views

non-Mel Frequency Cepstral Coefficients

I'm trying to summarize the frequency domain information of an electrical signal as a feature engineering step for a machine learning algorithm. My hypothesis is that an anomaly will appear in the ...
0
votes
0answers
479 views

How to combine/append mfcc features with rmse and fft using librosa in python 2.7

I have an audio file say myfile.wav I trained a neural network based on fft features, and it is giving pretty good results for detecting particular classes of sounds. I want to expand above ...
0
votes
2answers
267 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 ...
0
votes
2answers
803 views

Using k Nearest Neighbour & Dynamic Time Warping for keyword spotting

As stated in the title, I am currently researching a method using k-NN, specifically, as either an alternative or as a supplement to the DTW algorithm in keyword spotting based on MFCC. I have read ...
0
votes
1answer
805 views

Comparing band-pass filters and convolutional kernels?

I am currently working on extracting features for speech recognition purposes. I wanted to try an approach similar to MFCC features in which the center frequency of each band pass filters are placed ...
0
votes
1answer
916 views

Verification of all steps needed to extract MFCCs from raw audio data

I need some verification on steps required to extract MFCCs from raw audio as I'm finding that some sources outline them slightly differently. Get raw audio frame Run window function (eg Blackman) on ...
0
votes
0answers
1k views

Using MFCCs in kNN classification

I'm working on adding MFCCs to my kNN classifier. Originally my kNN classifier was using the zero-crossing-rate, centroid, bandwidth, skew, kurtosis. This was about 80% accurate for drum tracks using ...