Displaying 5 results from an estimated 5 matches for "agc_max_gain".
2004 Aug 06
1
Proposed AGC additions
...useful. For 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...
2005 Jun 20
1
Speech detection in preprocessor with echo
...'s mostly just a matter of doing this at the
end of speex_compute_agc():
if (!st->agc_frozen)
{
agc_gain = st->agc_level/st->loudness2;
/*fprintf (stderr, "%f %f %f %f\n", active_bands, st->loudness, st->loudness2, agc_gain);*/
if (agc_gain>st->agc_max_gain) /* was 200 */
agc_gain = st->agc_max_gain; /* was 200*/
}
else
agc_gain = st->agc_gain;
st->agc_gain = agc_gain;
and adding a few items to speex_preprocess_ctl() and the state struct.
(I control these things at the application level.. you may wish to
control them fro...
2005 Jun 22
1
Speech detection in preprocessor with echo
...ex_compute_agc():
> >
> > if (!st->agc_frozen)
> > {
> > agc_gain = st->agc_level/st->loudness2;
> > /*fprintf (stderr, "%f %f %f %f\n", active_bands, st->loudness, st->loudness2, agc_gain);*/
> > if (agc_gain>st->agc_max_gain) /* was 200 */
> > agc_gain = st->agc_max_gain; /* was 200*/
> > }
> > else
> > agc_gain = st->agc_gain;
> > st->agc_gain = agc_gain;
> >
> > and adding a few items to speex_preprocess_ctl() and the state struct.
> > (I c...
2014 Jan 08
1
Some Speex AGC Questions
...ault settings, the audio seems OK. It's not clear
if preprocess is actually doing anything.
If I turn AGC on, the sound level becomes almost inaudible.
When I print the control parameters (the defaults), I get:
DENOISE = 1
AGC = 0
AGC_LEVEL = 1174011904
AGC_INCREMENT = 12
AGC_DECREMENT = -40
AGC_MAX_GAIN = 30
VAD = 0
DEREVERB = 0
NOISE_SUPPRESS = -15
QUESTION number 1: Is there a guide to "tuning" the AGC? Is there a
document that tells what they really mean and how to adjust them?
QUESTION number 2: I see that VAD, DEREVERB, DENOISE, ... have values of
0 or 1. The documentation says...
2014 Jan 04
0
Some Speex AGC Questions
...ault settings, the audio seems OK. It's not clear
if preprocess is actually doing anything.
If I turn AGC on, the sound level becomes almost inaudible.
When I print the control parameters (the defaults), I get:
DENOISE = 1
AGC = 0
AGC_LEVEL = 1174011904
AGC_INCREMENT = 12
AGC_DECREMENT = -40
AGC_MAX_GAIN = 30
VAD = 0
DEREVERB = 0
NOISE_SUPPRESS = -15
QUESTION number 1: Is there a guide to "tuning" the AGC? Is there a
document that tells what they really mean and how to adjust them?
QUESTION number 2: I see that VAD, DEREVERB, DENOISE, ... have values of
0 or 1. The documentation says...