similar to: Leaking audio and AGC/VAD

Displaying 20 results from an estimated 5000 matches similar to: "Leaking audio and AGC/VAD"

2006 Feb 03
0
Leaking audio and AGC/VAD
Hi, The leakage problem you describe is very, very common and you will need to do something to address it. I modified the version of Speex I use to implement an adjustable max gain. If you look at speex_compute_agc in preprocess.c, you will see: if (agc_gain>200) agc_gain = 200; This max of 200 is usually more than enough to amplify leakage which occurs either in the sound
2009 Mar 17
1
VAD speex 1.2rc1
My data is speech sampled as pcm mono 32khz. I want to use vad for regulating the agc gain mechanism. So... if voice is not detected I just reduce the agc value in order to not amplify the 'silence' otherwise we just increase the agc value if it is below the minimum. Thanks, Daniel ----- Original Message ----- De: Jean-Marc Valin <jean-marc.valin at usherbrooke.ca> Para: danflu at
2004 Aug 06
0
Proposed AGC additions
Steve, You're right. The AGC gain does not max out when using VAD (via the preprocessor). So instead of not transmitting when the AGC max gain is reached, I now do this instead: Start the call with VAD enabled and AGC disabled. When speech is detected, disable VAD (if 100% continuous transmission is desired for the call) and enable AGC. This seems to be working reliably so far. However,
2007 Feb 06
2
svn AGC
Hi Jean Marc, I found that the AGC API and algorithm has changed in svn head trunk. Is it safe to use it? Or is it for testing purpose only? You also said that VAD in svn is broken in a previous post, is it related to the AGC change? or can we mix the old VAD algorithm with the new AGC safely? kind regards, fredo
2014 Jan 08
1
Some Speex AGC Questions
I'm attempting to use speex preprocess for automatic gain control in an application I'm working on and could use some help. I'm using Opus as my codec. In order to keep the number of packets down, I'm using 60msec frames. I'm sampling at 48KHz as is recommended for Opus. So, the frame length is 2880 samples and the sampling rate is 48000. The source of the data is a
2005 Mar 08
0
VAD with speex_preprocess()
As I understand it, there are two separate ways to get VAD information from Speex: 1) Using the encoder. 2) Using speex_preprocess(). I present the following observations from an application developer's perspective. They may be wrong, in which case I would appreciate corrections. - The two VAD systems are implemented differently. - speex_preprocess()'s VAD provides more accurate
2014 Jan 04
0
Some Speex AGC Questions
I'm attempting to use speex preprocess for automatic gain control in an application I'm working on and could use some help. I'm using Opus as my codec. In order to keep the number of packets down, I'm using 60msec frames. I'm sampling at 48KHz as is recommended for Opus. So, the frame length is 2880 samples and the sampling rate is 48000. The source of the data is a
2007 May 29
2
Noise suppression less than AGC gain
>> Yes, after I stop speaking, the noise slowly starts climbing again, and >> if I peek at st->agc_gain, that's slowly climbing too. I think part of >> the trouble is that the noise in here isn't uniform white noise; there's >> traffic outside the window and people walking in the hallway outside my >> door. Each little event is enough to cause the AGC
2008 Dec 15
0
preprocessor VAD only rocognize between silence andnot silence
Jesus, Unfortunately, FFT and magic algorithms don't work (yet?). You might want to try this if you're not satisfied with Speex VAD: http://lists.xiph.org/pipermail/speex-dev/2008-August/006860.html It won't perform any miracles, but I think it works pretty well and is easy to tweak. Tom >---- Original Message ---- >From: jmorion at toomeeting.com >To: speex-dev at
2008 Dec 11
1
preprocessor VAD only rocognize between silence and not silence
Hello, in my project im using speex 1.2rc1 and the preprocessor VAD seems to only separate complete silence from not complete silence frames. The Speex Manual, you can read "The voice activity detector (VAD) provided by the preprocessor is more advanced than the one directly provided in the codec." but if you go to the source code in preprocess.c line 995 "/* FIXME: This VAD
2005 Jun 22
1
Speech detection in preprocessor with echo
agc_gain seemed to fit with the idea of what I wanted to do, it was easy to understand its units and behavior, and freezing it produced the desired results. Also I wanted to cap it, so that's done at the same place, and that definitely works. All I want to do is be able to freeze AGC adaptation and put an upper bound on the AGC (for example, 2x amplification). Both of these things seem
2007 May 29
2
Noise suppression less than AGC gain
Jean-Marc Valin wrote: >> I've had a small case with noise suppression and AGC. I have a fairly >> noisy environment here, and with the default parameters, noise >> suppression works fairly well while I talk. However, when I shut up, AGC >> starts slowly increasing the gain until it has amplified whatever noise >> is left to levels about equal to having no
2004 Dec 29
1
Strange speex behaviour
Hi, After trying to use the prebuilt Windows 1.1.6 binaries I've founded that the DLL version doesn't export the mode variables properly, this could probably easily be fixed. Anyways, as for now I've downloaded the 1.1.6 source and built it myself and I'm linking speex statically to my application. I've written an experimental software which just packs 20 ms frames and sends
2006 Dec 25
1
A case including VAD bug
Hi all: I was analysising the speex code these days and learned much from it. Thank you so much! But I have a question about VAD: After preprocess(denoise and agc are off, vad is on),the input pcm speech was distorted seriously.The input speech include ten syllables(one~ ten), but the output speech lost one! Can you tell me why? Please see the attachment about input and output: (See attached
2007 Jun 01
1
Noise suppression less than AGC gain
Jean-Marc Valin escreveu: > > Well, I can change the defaults and then people with different setups > (e.g. no noise and low input volume) will ask me to change it the other > way... In the end, the only fix is to improve the AGC adaptation > decision, including (but not only) the VAD. Could that be a run time variable? So it could be adjusted somehow by a user interface, for
2004 Aug 06
1
Proposed AGC additions
I've been using Speex's AGC in my VoIP program with mixed results. One of the problems I had was: At the beginning of the call, if the user hadn't spoken yet and there weren't any background sounds for the AGC to lock on to, most of the time the AGC would almost immediately jump way up to 200x gain (the default max). This is undesirable and usually results in nasty feedback. If
2007 May 29
2
Noise suppression less than AGC gain
Hi, I've had a small case with noise suppression and AGC. I have a fairly noisy environment here, and with the default parameters, noise suppression works fairly well while I talk. However, when I shut up, AGC starts slowly increasing the gain until it has amplified whatever noise is left to levels about equal to having no filtering at all. As soon as I talk, AGC backs down fairly quick
2007 May 03
0
Re: [Iaxclient-devel] iaxclient & speex
Jean-Marc Valin wrote: >> As you can tell, the AAGC integration with speex was really a classic >> hack. Instead of re-creating the hack, what's probably best here is to >> integrate AAGC back into speex, and have a proper API. >> > > Agreed here. If you can come up with a clean patch to add that feature, > it's something I'd like to see in
2008 May 18
1
preprocesssor questions
Hi Thank you for your work. We are trying to use the speex SW with a C6000 TI DSP. I am working with an HW codec that does AGC by HW inside. Will doing the AGC before the preprocessor make a problem? Does VAD work well in a noisy eviroment? In SW there are some remarks on things to be fixed, can I count on SW as working or are some part still to be improved. I also tried to understand SW but I
2011 Sep 13
2
why VAD modifies my voice data?
Hello, I'm using Speex Preprocessor to supress noise, eliminate echo etc. But I have another preprocessor state that I want to use ONLY to determine voice activity. int res = speex_preprocess_run(m_VADOnly, (spx_int16_t *) pStreamSampleBuffer); pStreamSampleBuffer is modified after call to speex_preprocess_run. I have manually turned off noise suppression and AGC but anyway - VAD modifies