Questions tagged [speech-processing]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
294 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 ...
2
votes
1answer
684 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
42 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
350 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
252 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
69 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
0answers
34 views

How to find constituent frequencies of a wave? [closed]

I am working on a speech recognition project. For that purpose, i need to get fourier transform of input audio signal wave, so that i have its constituent frequencies. I searched internet and all i ...
1
vote
1answer
44 views

Why is the Hamming and Hanning window the most widely used for speech spectograms?

When taking the Short-Time Fourier Transform of the speech signal, windowing is applied to taper away the signal frame at both ends and mitigate introduced artifact at expense of the maximum ...
0
votes
0answers
25 views

How to calculate spectral slope/tilt of a wav file in Python? [closed]

Is there a Python library or script that can calculate the global spectral tilt/slope of a wav file? I need to calculate it as part of a speech conversion and synthesis project I'm working on. The ...
0
votes
1answer
31 views

Need some references on sound quality evaluation and syncing

I have to do a project where I'm receiving the same sound signal from different channels (with different offsets), but they may not be consistent all the time. At any given time, I should decide which ...
2
votes
1answer
74 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 ...
0
votes
1answer
42 views

Audio Processing Glossary

I'm new to audio processing and I hope here be a good place to ask about the definition of terms in this context. My question is what is difference between sound, audio, voice, speech and tone, from ...
1
vote
1answer
347 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: $$\...
1
vote
1answer
21 views

What are i-vectors and x-vectors in the context of Speech Recognition?

I have read that i-vectors and x-vectors are widely used in speaker recognition tasks but I don't get the difference between them and how exactly they work. Can someone explain it starting from the ...
3
votes
3answers
538 views

Signal processing for audio and speech

I have started learning about signals and I am interested in sound signals. There are some questions that I need to resolve. For example in music, difference of notes like 'sol' and 'la' are about ...
1
vote
1answer
17 views

Are delta and double delta features needed when classifying with LSTM

I understand that the combination of MFCCs, deltas and double deltas is a good feature to be used with HMMs for keyword detection problems. HMMs are limited by Markov Property and this limitation is ...
1
vote
2answers
291 views

How to edit audios so that they have the same length

I have a dataset of audio files, which differ on their lengths by a couple of milliseconds. Some are little shorter than 1s and some are little longer than 1s. They all have the same sampling rate, ...
0
votes
1answer
44 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. ...
1
vote
0answers
359 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
1answer
119 views

Mel separated filter banks

I am currently a bit confused. I am currently trying to understand the MFCC extraction process, and don't understand how the Mel filter banks only provide a scalar output from each filter bank. What ...
0
votes
1answer
34 views

how does the Frequency spectrum of a signal change in the logarithmic space?

I am trying to implement basic homomorphic filtering but I can't seem to understand what happens in the frequency domain when you take the natural logarithm of the function. In Matlab I'm getting not ...
0
votes
1answer
198 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 ...
1
vote
1answer
28 views

Is there any way that we can perform speech recognition without using Fourier transforms?

I am trying to research about speech recognition and why everyone uses Fourier transforms in going about the topic. I know that we get information related to the frequency of each sound uttered which ...
0
votes
1answer
18 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
2answers
501 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
156 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
323 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
286 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
124 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
267 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
67 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
133 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
13 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
107 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 ...
0
votes
1answer
30 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
69 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
30 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
135 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
361 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 ...
1
vote
1answer
88 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
13 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
71 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
67 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
36 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
119 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 ...
0
votes
2answers
53 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
104 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
149 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?