Displaying 20 results from an estimated 3000 matches similar to: "Speech detection in preprocessor with echo"
2005 Jun 20
1
Speech detection in preprocessor with echo
I think you'll have to modify Speex to get the functionality you're
looking for. I've made a few simple modifications to the AGC to prevent
it from 1) exceeding a specified level of amplification and 2) enable
and disable adaptation, so I can freeze it at a certain level while
speech is not detected. It's mostly just a matter of doing this at the
end of speex_compute_agc():
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 03
3
iaxclient & speex
Hi
The latest SVN trunk for speex has changed the SpeexPreprocessState to
an opaque structure, for jolly good software engineering reasons.
However, the Analogue AGC (AAGC) feature of iaxclient (in audio_enode.c)
relies on some members of this. It uses speech_prob to detect when
there is enough speech to consider AAGC and then loudness2 to decide how
to adjust the input mixer. We want to use
2007 May 03
2
Re: [Iaxclient-devel] iaxclient & speex
> 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 Speex.
> For those of you just tuning in, what I call
2005 Nov 04
3
Compile failure current SVN
Current SVN compilation fails on Win32 (Intel C++ compiler 9.0):
..\..\libspeex\mdf.c(317): error: declaration may not appear after
executable statement in block
float adapt_rate;
Just moved it up to the variable declaration block to solve it locally,
but as it's not valid C, I thought I'd mention it ;)
PS: With the same compiler, AGC fails horribly (Zlast goes to several
2005 Sep 10
1
Readding Zlast info to the preprocessor
This small patch will make st->Zlast = Zframe, to allow applications
access to an estimate of the signal-to-noise level. This used to be in
there earlier, but was removed when Zlast was no longer used to compute
Pframe.
-------------- next part --------------
Index: preprocess.c
===================================================================
--- preprocess.c (revision 10007)
+++
2007 May 03
0
Re: [Iaxclient-devel] iaxclient & speex
David Brazier wrote:
> Hi
>
> The latest SVN trunk for speex has changed the SpeexPreprocessState to
> an opaque structure, for jolly good software engineering reasons.
> However, the Analogue AGC (AAGC) feature of iaxclient (in audio_enode.c)
> relies on some members of this. It uses speech_prob to detect when
> there is enough speech to consider AAGC and then loudness2 to
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
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
2004 Aug 06
2
Memory leak in denoiser + a few questions
On Mar 28, 2004, at 8:23 PM, Jean-Marc Valin wrote:
>> The st->zeta pointer isn't freed in the
>> speex_preprocess_state_destroy()
>> function of the preprocess.c file (alloced in line 167). It's in
>> Speex 1.1.4
>> by the way.
>
> Oops... Thanks for letting me know. I'll change that for the next
> release (in the mean time, the fix is
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 Aug 06
2
Preprocessing and Echo Cancellation Notes.
First, I'd just like to thank the Speex community, and Jean-Marc
especially, for their great work.
I'm developing a VoIP library (which uses IAX, the asterisk protocol)
as the network protocol. I've been putting off integrating Speex for a
while, as things have been working pretty well so far with GSM. (for
those interested, the code is at iaxclient.sourceforge.net).
However,
2005 Jan 18
1
voice activity detection
Yes, you can use it independently by using speex_preprocess().
This function can do noise removal, AGC, and VAD. I've been
using it to do all three and it usually works very well. There
can be a train going by outside, producing lots of sound that
makes it through the noise filter, and yet the VAD knows it's
not speech.
However, sometimes the VAD seems to get into a bad state and
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
2007 Feb 27
3
Preprocessor denoise. Does it work?
Jean-Marc Valin wrote:
> The noise suppressor will only attempt to remove stationary noise,
> such as thermal noise, fans, ... The AGC can indeed do strange
> things in these cases, but it's been improved in svn (compared to
> 1.2beta1).
OK, then the problem is that I misunderstood the feature. I assumed
that dynamic squelch was part of it, but it's really something more
2006 Nov 09
2
A few Speex AEC+preprocessor examples
Andras Kadinger wrote:
> I have now found a testcase where SVN AGC starts out good, but then it
> keeps increasing the gain but never decreasing it, and eventually goes
> out through the roof, during the same single recording.
I've been doing massive changes in the svn preprocessor, so I'm not too
surprised I broke the AGC, because I haven't updated it. Did it also do
that in
2007 Feb 27
2
Preprocessor denoise. Does it work?
Jean-Marc Valin wrote:
> Andy Ross wrote:
> > Uh, production applications almost always require squelch, no?
>
> Some do, some don't. In general, distinguishing between a keyboard
> and a speech transient is next to impossible based only on a few ms
> of speech.
That is true for distinguishing it by waveform, but not by amplitude.
As I mentioned, these transients are
2007 Feb 27
2
Preprocessor denoise. Does it work?
I'm having trouble with the preprocessor's noise reduction feature.
The basic issue is that it simply doesn't work very well.
With my laptop (whose microphone is otherwise quite capable) I
routinely hear transient background noise, typing, and other "quiet"
sounds leaking through to the speex stream. Even worse, the AGC
feature is blowing these things up into just awful
2006 Jun 15
2
Will the echo canceler or preprocessor work with 10ms frames?
I am trying to use the speex echo canceler and preprocessor with
sipXtapi to develop a sip user agent. the sipXmedialib call flow graph
uses 10ms frames and I am not sure what the implications are if I try to
change this. The documentation seemed to indicate that a 20ms frame was
recomended, but it didn't go into the consquences of using other frame
sizes. We are going to use headsets
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