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
9 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 ...
0
votes
1answer
21 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
44 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
57 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
24 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
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 ...
1
vote
2answers
58 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 ...
2
votes
1answer
51 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
96 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 ...
0
votes
0answers
22 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
44 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
29 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
54 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
159 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
37 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
78 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
104 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?
1
vote
1answer
383 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 ...
2
votes
1answer
45 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
71 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
189 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
316 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-...
-1
votes
2answers
92 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
55 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
445 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.
0
votes
0answers
28 views

how to get pitch score from comparing 2 audio files

I am new in digital signal processing. I have 2 audio (stereo / 2 channels) files that each audio file says "ba a ta" recorded by 2 different people. Example 2 audio files can be heard on this link ...
0
votes
0answers
51 views

What's the relationship between excitation and LPC residual

While studying LPC, I have found something that boggles my mind. I'm studying from some university texts but pretty much everything I need for explanation is summed up here. I'd like someone explain ...
2
votes
0answers
184 views

What are F0 counters in Speech signals? What is represented by F0?

I can't find any dedicated definition for Frequency F0 counters. Can anyone tell me what does F0 exactly mean, I am confused about that.
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
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. ...
1
vote
2answers
193 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
0answers
92 views

filtering 1D signal with very low SNR(<2)

I have recorded speech using a microphone(with 16bit A/D converter). The signal has a frequency range of 300Hz to 1000Hz, I have recorded 3.5 seconds of the speech and 1.5 seconds of the baseline(no ...
0
votes
1answer
61 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 ...
3
votes
1answer
115 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 ...
1
vote
2answers
258 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, ...
1
vote
1answer
753 views

How to convert NIST to RIFF wav file

I have a dataset of audios(namely TIDIGITS, collected at Texas Instruments, Inc.) and they are in .wav format. However, when I try to read them from python, I get the following error: ...
0
votes
1answer
100 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 ...
2
votes
1answer
246 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 ...
-4
votes
1answer
79 views

How do i remove the DC component from an audio signal using Matlab2016?

I have been doing speech processing in matlab2016, and am stack on how to remove DC component. I tried using the the function y=x-x(mean) but it seems not to ...
0
votes
1answer
70 views

Is there a known correlation between human voice (360Hz to 5kHz) and the frequencies above/below that?

Hello SignalProcessing! Given the important frequencies of a human voice (360Hz to 5kHz) to communicate and the frequencies above and below that make the voice sound way better. Imagine we are ...
0
votes
2answers
342 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 ...
0
votes
1answer
109 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 ...
1
vote
1answer
294 views

Cepstrum: IFFT or FFT to enter the cepstral domain?

I'm trying to implement source-filter separation of some pre-recorded speech in Max/MSP. I'm unsure of whether one uses an FFT to enter the cepstral domain, or an IFFT. Some of the textbooks and ...
1
vote
1answer
295 views

Octave: Finding the mean fundamental frequency given an audio signal

I have an audio .wav file of someone's speech of which I want to find the mean fundamental frequency. Till now, all I have managed to do is load the data into a vector and (roughly) filter the silence ...
0
votes
2answers
149 views

How to make the impulse response sparse? How does one know that the channel is sparse?

I am new to sparse channel estimation algorithms and reading research articles. One such paper is blind sparse channel estimation using a modification of the BOMP technique titled, "Blind Acoustic ...
0
votes
1answer
206 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 ...
0
votes
1answer
183 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 ...
2
votes
1answer
52 views

How to correctly classify voice from other sound events?

I have a huge labeled dataset of several thousand sound events, including human voice, dish washing, things falling to the ground, among others. I need to report when a human voice event takes place....
0
votes
1answer
88 views

Pre-emphasis: What is connection between parameter a and 6db/oct?

I know that the standard pre-emphasis function is $y[n] = x[n]-\alpha\cdot x[n-1]$ and $\alpha$ is often set as $0.97$. However, when I was learning speech processing using Praat, the pre-emphasis ...