Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [speech-processing]

Speech processing is the study of speech signals and the processing methods of these signals.

0
votes
1answer
32 views

Silence removal from the audio

Suppose i've a mp3 file. I performed FFT of that mp3 file. Then is it good to state the following: 1. Silence occurs by that particular DFT point whose magnitude is lesser than some threshold. 2. ...
0
votes
0answers
33 views

Audio signal similarity percentage

My problem is to find a way to classify audio files, and after that I need to test my machine with an audio file whose similarity percentage I need to find. I tried to do it using MFCCs first ...
0
votes
1answer
13 views

MATLAB & Power Spectral Density - Error - Getting the same range of values regardless of sound type?

I wrote code [attached at end of question] to take .wav files of child vocalizations and tried to see if there are valid ranges for the formants F1:F2:F3 for the 5 ...
1
vote
1answer
127 views

Mel Cepstral Distortion

I am working on a speech synthesis model and I am looking to evaluate my synthesized speech. I found that most people use the Mel Cepstral Distortion (MCD) which can be calculated by the formula: $$\...
0
votes
2answers
385 views

Quantify the difference between two audio spectrograms

I have two speech signals of the same length. They contain the exact same speech content but are recorded from two different microphones. I want to compare the differences between them. 1) Assuming ...
3
votes
1answer
130 views

How to prevent Octave Jumping in ACF of Speech Signal?

I'm working with speech signals and my aim is to estimate the fundamental frequency $\ F_0$ of this signal often called as "pitch". The main idea is taking small blocks of the speech signal such ...
4
votes
2answers
306 views

Matching LPC frequency response to raw sample data frequency response

Background: The intention is feature/formant extraction from speech input. I have used an FFT on raw samples in the past and have done simple peak picking from a weighted average of frequencies over ...
0
votes
1answer
185 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
272 views

Dynamic Time Warp through SPTK tool

I'm an IT student and got an assignment to do about Dynamic Time Warping(DTW) using the Speech Signal Processing Toolkit (SPTK) and comparing some words spoken by 2 speakers and finding the ...
0
votes
1answer
123 views

Pesq numbers and clean speech comparison to processed speech

I am trying to evaluate my processed speech for my DSP project. My project is an implementation of an MMSE algorithm proposed by Y.Ephraim and D. Malah, "Speech Enhancement Using a Minimum Mean Square ...
0
votes
2answers
262 views

Long term spectral flatness measure voice activity detection

This is the Long term spectral flatness measure code that I have written so far. Can someone please help me, I don't know if I'm writing it correctly. It is working fine and gives high peak for ...
1
vote
2answers
63 views

Cleaning telephone audio

I have telephone audio at 16kHz and I am trying to use it with a speech transcription engine that converts spoken letters to text. However, the engine has some difficulty transcribing certain letters ...
0
votes
1answer
119 views

Normalize speech features per dimensions or across dimensions

I am working on pipelines for audio processing (audio features that will go into a neural net to create some embeddings). We are using two features : Filter banks, or MFCC. I was wondering what was ...
0
votes
0answers
9 views

How to perform a speaker normalization of features before model training?

I am building a model using a supervised machine learning based on features I extract from speech signals. The features include MFCC, auto correlation and energy derivatives. According to this paper,...
0
votes
2answers
2k views

What are some python packages I can use to cut audio files

I have a project in which I have a batch of audio files and I need to remove the audio in it from say time 2secs to 5secs i.e. I have a set duration to be removed. How can I do this in python?
0
votes
1answer
104 views

audio filter designing

I know the basic filtering techniques available in signal processing.Does audio signal specifically have any different filtering method?.My application is to filter out the background noise in speech ...
1
vote
1answer
266 views

autoregressive moving average code implementation

I am new to DSP and i am trying to take a wav (human speech) file and apply ARMA filter and plot its PSD graph in python. I see that there are a lot of AR implementations but almost none ARMA. I ...
1
vote
1answer
468 views

Real time background noise reduction or removal

I am trying to build a real time simple audio recognition that can recognize few keywords. Following this tensor flow tutorial i was able to train a simple neural network. Currently the signal flow ...
0
votes
1answer
38 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. ...
2
votes
1answer
277 views

MFCC Classification

I'm working on gender estimation from speech signal and I completed MFCC feature extraction. So now I'm trying to estimate gender from these features. But I have frames for an audio file and I ...
1
vote
2answers
216 views

Harmonics to Noise Ratio Estimation

I'm willing to estimate the Harmonics to Noise Ratio (HNR) of a speech signal x[k] and using autocorrelation method. Theoretically, HNR is given as, $\ HNR = \frac{R_{xx}[T_0] }{R_{xx}[0]-R_{xx}[...
0
votes
1answer
64 views

Difference between applying a window to a whole signal and frames.

I'm going to do feature extraction using a speech signal. The first step is the windowing of the signal using Hamming window. I'd like to know if I should apply one single window to the whole ...
0
votes
1answer
24 views

Relationship between Frequency response, magnitude spectrum and gain

I have been reading quite a lot of DSP related materials online and offline (books etc.) lately. I come across the terms frequency response and ...
1
vote
1answer
59 views

Split audio file into audio phrases

I have couple of audio recordings of length 5 -7 min. I also have corresponding text to each audio file. I am not subject matter expert on speech to text but I am vaguely aware that much smaller ...
1
vote
2answers
26 views

MATLAB - How do I get the Filter Function to get the output Energy Spectrum?

The image was from a question I posted on reddit, so ignore the title. I'm trying to write a program that plots these graphs I know that the first plot is just a plot of the source-signal so the "...
0
votes
2answers
133 views

Confusion Regarding Bi Linear Transform

I was reading my book where the z-transform of a signal is derived to be ${1-e^{-2bT}z^{-1}}$ . Then it goes on to say that by applying the bilinear transform we can get $$\frac{2(1+bT+(bT-1)z^{-1})}...
0
votes
1answer
158 views

Audio/speech detection, verification

I would like to write a program to compare two '.wav' files, one of which is the original played file with human speech and the other is a recorded '.wav' file. The program I wish to write in python ...
2
votes
1answer
61 views

How to reduce synthesis artifacts produced by phase vocoder?

I implemented the phase vocoder algorithm in Python to time-stretch speech signals by following this paper and referring to this MATLAB tutorial. I can distinguish words in the original signal from ...
1
vote
1answer
84 views

Speech dereverbaration via maximum kurtosis adaptive filtering

I'm trying to code the algorithm described in Speech dereverbaration via maximum-kurtosis subband adaptive filtering by Gillespie, Malvar and Florencio, and the signal looks cleaner in when I plot it. ...
0
votes
0answers
11 views

Analysis by synthesis in speech coding

I am trying to understand the analysis by synthesis in speech coding. In wikipedia it is mentioned for the CELP encoder: The main principle behind CELP is called Analysis-by-Synthesis (AbS) and ...
0
votes
2answers
3k views

removing vocal from audio file

I want to create a program in matlab that could act like karaoke software. At this moment i have following lines of code: ...
0
votes
0answers
28 views

Language detection from audio

I'm trying to do a simple test on language detection on a video input. Basically, given a .mp4 file, I need to process the audio tracks (can have primary and ...
-1
votes
3answers
50 views

How does real-time signal processing work when the signal we deal with is assumed to be known for all times?

One thing that never sat right with me after my signal processing course is that in order to do signal processing, we must know the entire signal $x(t)$. For instance, I cannot take the Fourier or Z ...
0
votes
0answers
30 views

How can I quantify the distortion in a speech signal?

I am working with certain speech enhancement algorithms, for instance to remove stationary noise or impulse noise from a speech signal. Filters such as those can enhance the speech signal, but they ...
1
vote
1answer
73 views

Povey window formula

In Kaldi, "povey" is a window made to be similar to Hamming but to go to zero at the edges, it's: $$g(n) = \left(\frac{1-\cos\left(\frac{n}{N2\pi}\right)}{2}\right)^{0.85}$$ Please, can anyone ...
1
vote
0answers
223 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. ...
0
votes
2answers
38 views

Converting speech audio to telephone audio

I am trying to train a machine learning algorithm on telephony speech audio. However, there isn't really enough data for this anywhere that I can find. My solution is to just use speech audio from ...
0
votes
3answers
90 views

How to determine whether a speech segment is voiced/unvoiced?

I want to determine whether a speech frame is voiced/unvoiced. Out of many methods found while searching, one method said find energy of the frame and if it is above a certain threshold, mark it as ...
0
votes
1answer
120 views

What Is the Point of Doing the Zero Padding? [duplicate]

What are the advantages and disadvantages of doing Zero-padding, in particular the case of speech signals?
2
votes
1answer
49 views

Linear Predictive Coding - Meaning of spectrally Flat

I am a student with very little background on signal processing and am studying the Linear Predictive Coding algorithm. I came across the term spectrally flat in ...
0
votes
1answer
74 views

Frequency detection in audio and what parameter or set of parameters help/limit frequency detection

I'm trying to learn audio and voice/speech processing techniques out of interest. I intend to learn, experiment with algorithms and design, implementation of such systems, frameworks using programming ...
0
votes
2answers
244 views

Negative Signal to Noise Ratio

What is the reason for getting negative snr value when calculating Signal to noise ratio of speech signal using matlab function SNR()?
1
vote
1answer
414 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-...
2
votes
1answer
214 views

Autoregressive modeling (linear prediction) of electrical transmission lines?

I've read that the reflection coefficients in speech processing (as computed by the Levinson-Durbin algorithm for solving the Yule-Walker equations) "represent the fraction of energy reflected back" ...
0
votes
1answer
211 views

taking FFT from DCT

There is a speech signal, $y[n]$, in the time-domain. To take it to the frequency-domain, DCT has been got from $y[n]$ (w = dct(y) in MATLAB). After it, I applied ...
-1
votes
2answers
100 views

Audio Quality Assessment [duplicate]

I need an algorithm to assess the quality of a given audio. The task, is considered to be no-reference. Can anyone help me whether there is any method for quality assessment of any given audio? edit1:...
3
votes
2answers
106 views

Is There a Sparse Representation for Noise?

Is there sparse representation for stationary noise and nonstationary noise? How can I learn dictionary for each noise class? (my mean of noise is noises with which speech signals are often ...
1
vote
1answer
57 views

How many psychoacoustical critical bands are there?

I understand that the human ear works as a band-pass filter and I have doubt regarding the number of such bandpass filters in the filter bank. I came across these two possible explanations of how it ...
1
vote
0answers
526 views

Python scipy.signal.wiener filter for speech processing

As far as I know Wiener filter can be used in Image processing.I wonder that if i can use Python scipy.signal.wiener() for speech processing as well. Thanks in advance.
4
votes
1answer
703 views

Speech recognition: words vs. phonemes

One could train a speech recognizer with words or phonemes. I guess that they both have their pros and cons: with words there would be a lower error rate as phonemes can be put together building a ...