Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

-1
votes
1answer
15 views

audio signal reconstruction from MFCC

Transforming an audio signal to Mel Frequency Cepstral Coefficients is broadly used in tasks involving learning on audio. I was wondering, is this transform invertible with some good approximability ...
0
votes
0answers
18 views

Code for Generating Spectrum (MFCC) vs. Time Images

I am trying to do speech wake up (hot) word recognition by transforming it into an image recognition problem. The images are some kind of spectrum (MFCC) vs. time, made from a wave signal. I recall ...
0
votes
0answers
17 views

MFCC feature vector

I want to extract the MFCC feature vector of PCM data into a wav file. Is there a way to extract pitch intensity from MFCC feature vectors?
-1
votes
0answers
26 views

Real-time baby cry detection

i want to detect baby cry in real-time and i am using windows system. I had extracted the mfcc features of baby cry and trained a neural network model. i got model accuracy 99%. This model i export to ...
1
vote
1answer
43 views

Fast Fourier Transform using numpy

I am a computer science student and didn't really have signal processing as a subject. Maybe I should be clear on the concepts of sampling rate and frequency of the signal but I am a little confused. ...
-1
votes
0answers
15 views

DTW MFCC pronunciation similarity

There are two wav files with the same word recorded. To compare this, we extracted the wav file pcm, MFCC (Mel frequency factor) and obtained the Euclidean distance value through DTW. (1) and (2) are ...
1
vote
1answer
82 views

Two voice pronunciation comparison similarity MFCC + DTW

Calculate each MFCC to compare wave file A and wave file B, and then use FastDTW to measure the distance after two sets of MFCCs. We compared the four wave files and obtained the Euclidean distance ...
0
votes
0answers
25 views

fastDTW voice pronunciation comparison question

Calculate each MFCC to compare wave file A and wave file B, and then use FastDTW to measure the distance after warping between two sets of MFCCs. I compared four wavefiles but got a distance value. ...
0
votes
0answers
12 views

Constants in Triangular Filter Bank

In various implementation for the triangular filterbanks for MFCC computations, I see the following constants but they are not commented/annotated. E.g. in https://github.com/alvations/...
0
votes
0answers
15 views

MFCC Feature Reduction for Similarity Search

I'm working on creating song level features for music tracks. ...
0
votes
0answers
9 views

Praat Script for Speaking rate

I am using below code for speaking rate in Praat. vcd_frames = Count voiced frames tot_frames = Get number of frames vcd2tot_frames = vcd_frames / tot_frames Is that right?
1
vote
1answer
31 views

How does a telephone change your voice? [closed]

Is it due to vocal length normalization during MFCC? Please be kind enough to explain.
1
vote
1answer
55 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-...
0
votes
1answer
63 views

Given MFCC values for some wav’s, how can I easily tell if all speakers are the same?

Context: for a research project I have at regular times a batch of wav files with recordings of voice. The hypothesis is that all speakers in a batch are the same, but there might be 1 or a few “...
0
votes
0answers
47 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
45 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
66 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
0answers
15 views

How to calculate the time from the frame number in mfcc. would be helpful if any formula is suggested. fs=16000,overlap=10ms

Speech signal processing How to calculate the time from the frame number in mfcc. would be helpful if any formula is suggested. fs=16000,overlap=10ms
0
votes
0answers
16 views

Estimating a distribution of feature of sound based on a factor

I am currently working on creating a model of sound of inside of a car based on speed. To be specific, making a Gaussian distribution of MFCC(13 dim) for each speed, i.e. car running at 30 kmph, ...
0
votes
1answer
34 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. ...
1
vote
2answers
61 views

Is there such thing as harmony independent timbre characteristic of a sound?

I was wondering if any of you know about any technique to extract a harmony (e.g. harmony in a shape of a chromagram) independent timbre characteristic of a sound frame. What I'm after is a version ...
0
votes
0answers
33 views

Derivative of a MFCC matrix

While reading this (see feature extraction section, subsection 4.1), I came across the following: The per-frame values for each coefficient are summarized across time using the following summary ...
0
votes
1answer
196 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
105 views

Rookie Question regarding hop length and MFCC

Apologies for the basic question but I am a data scientist dipping my toes into the world of digital signal processing for the first time and have ran into an issue which is preventing me from running ...
0
votes
0answers
54 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
120 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
0answers
15 views

MFFC - Source moving towards the recorder in time

I'm doing my master thesis, it's about classifying ships using sonars. I'm using MFCC to extract the features. The question that I have is, since the ship will move towards the sonar in time, will I ...
0
votes
0answers
40 views

merge frame features matrix to one vector that describe the whole signal

I am trying to build a speaker identification system I use mfcc feature and lpcc feature first I split each sound into frames and compute mfcc and lpcc feature for each frame finally I have 379 frames ...
0
votes
1answer
147 views

The origin of constants in mel-scale formula

To convert frequency to mel, we usually use formula: $$\mathrm{mel}(f) = 1127 \ln \left(1 + \frac{f}{700}\right)$$ I wonder where are $1127$ and $700$ came from? I've read the paper which ...
1
vote
1answer
76 views

Mathematical reason for MCPP in audio recognition?

MCPP uses a weird graph of human phychoacoustics measurements called MEL scale to process digital audio. Why is MEL used in DSP voice recognition if it's based on logarithmic human perception, and ...
-1
votes
3answers
77 views

Features Used for Instrument Recognition?

I'm building a neural network for instrument recognition based on the IRMAS data set. However, I'm a bit at a loss for what features to use. MFCC seems to be quite popular but extracting this per ...
0
votes
0answers
84 views

number of FFT points

I have a framed and windowed signal at 320 samples. I was advised that I need to do n-point FFT of 512. But is that possible? What happens. Does it just pad the signal with zeros. I thought I read ...
0
votes
0answers
58 views

Piece Wise Function For Triangular Filter for MFCC

Below is the code I have been writing to try to create a mel triangular filter bank. I start with 300 to 8000 hz range, convert the frequency to mels, and then mels back into frequency to then get ...
-1
votes
1answer
93 views

Synchronizing 2 seperate speech audio signals

I have two speech signals: one with a man reading a passage, and one with a woman reading the same passage. I want to synchronize these signals so that, for each word, their readings line up. The ...
0
votes
1answer
148 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
1answer
59 views

Trouble understanding an article about MFCC

I'm willing to apply the same audio preparation that this article page 3. However, I don't understand the final part : ...
2
votes
2answers
488 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 ...
0
votes
0answers
40 views

Why the $\tt filtbankm$ function returns $\tt 1+floor(n/2)$ samples?

I'm just trying to simulate the MFCC algorithm by different separated blocks in Simulink. so, for applying triangular Mel filters in to $\lvert \mathrm{FFT}\rvert^2$ , I've tried to use ...
2
votes
1answer
493 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\...
1
vote
0answers
163 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 ...
0
votes
2answers
457 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
138 views

Signal Processing and Emotion Recognition

I have to write a paper on emotion recognition. More specifically on how different parameters affect the algorithms effectiveness. I have already read a lot about this and done research using ...
-1
votes
1answer
538 views

Applying dtw on mfcc

I have calculated 26 MFCCs for two sample speech data. My mfcc matrices thus contain 26 columns and 120 rows each, where 120 is the number of frames. Now I want to apply DTW on them and I am doing ...
5
votes
1answer
2k 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 (...
0
votes
1answer
78 views

What is the use of perception calculation in Speaker Identification?

I'm currently trying to find audio features to train a neural network that distinguishes people, and I came across MFCC which is used a lot for speech verification. As far as I understand the ...
1
vote
0answers
67 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
votes
2answers
286 views

Music recommendation by Cepstral coefficients

I have to make a music recommender system by taking signal features. I have decided to take MFCC coefficients as feature vector. So I extracted a dataset of 13 MFCC coefficients for each song. Here ...
0
votes
1answer
368 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
0answers
63 views

Is it possible to classify sounds from one long sound file?

I was successfully able to classify sounds by training and testing MFCC of separate sound files (a short file for each class). My question is whether I can classify sounds (e.g. vehicle engine sounds) ...
1
vote
2answers
1k 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 ...