Displaying 4 results from an estimated 4 matches for "speex_preprocess_set_agc_max_gain".
2004 Aug 06
1
Proposed AGC additions
...example,
as I tested this today, the faint sound of birds chirping
outside was enough to prevent the AGC from spazzing out!
Anyway, what I propose are the following commands to let
an application interface a little more with the AGC:
SPEEX_PREPROCESS_GET_AGC_GAIN
SPEEX_PREPROCESS_GET_AGC_MAX_GAIN
SPEEX_PREPROCESS_SET_AGC_MAX_GAIN
I've implemented these and use them for the following:
1) I display the current AGC gain to the user.
2) If the AGC gain has reached its maximum, I don't transmit
any audio. This condition indicates to me that the AGC has
not found any usable signal and it's very likely that the
resu...
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
2007 May 29
0
Noise suppression less than AGC gain
...x gain.
> Alternately, perhaps it could be made so that noise suppression scales
> with agc_gain? (IE, if you're multiplying by 10 for the gain, multiply
> noise reduction by 10 as well).
Well, you can always force the values yourself. Look for
SPEEX_PREPROCESS_SET_NOISE_SUPPRESS
and
SPEEX_PREPROCESS_SET_AGC_MAX_GAIN
Both are in dB (integer)
> Although I haven't tested, I imagine a similar case could exist for echo
> suppression.
Echo suppression is also tricky and depends on having a bit of
foreground speech as well.
Jean-Marc
2007 May 29
2
Noise suppression less than AGC gain
...s it could be made so that noise suppression scales
>> with agc_gain? (IE, if you're multiplying by 10 for the gain, multiply
>> noise reduction by 10 as well).
>
> Well, you can always force the values yourself. Look for
> SPEEX_PREPROCESS_SET_NOISE_SUPPRESS
> and
> SPEEX_PREPROCESS_SET_AGC_MAX_GAIN
> Both are in dB (integer)
I did that (set noise suppress to -30 and the max gain to 15), and that
fixes the problem for me. But as this seems to be a fairly common
environment, I thought perhaps it would make sense to tune the defaults
slightly.