analog_agc.cc |
Using a feedback system, determines an appropriate analog volume level
given an input signal and current volume level. Targets a conservative
signal level and is intended for use with a digital AGC to apply
additional gain.
|
38270 |
analog_agc.h |
Analog Automatic Gain Control variables:
Constant declarations (inner limits inside which no changes are done)
In the beginning the range is narrower to widen as soon as the measure
'Rxx160_LP' is inside it. Currently the starting limits are -22.2+/-1dBm0
and the final limits -22.2+/-2.5dBm0. These levels makes the speech signal
go towards -25.4dBm0 (-31.4dBov). Tuned with wbfile-31.4dBov.pcm
The limits are created by running the AGC with a file having the desired
signal level and thereafter plotting Rxx160_LP in the dBm0-domain defined
by out=10*log10(in/260537279.7); Set the target level to the average level
of our measure Rxx160_LP. Remember that the levels are in blocks of 16 in
Q(-7). (Example matlab code: round(db2pow(-21.2)*16/2^7) )
|
5711 |
digital_agc.cc |
|
23810 |
digital_agc.h |
|
2859 |
gain_control.h |
This function analyses the number of samples passed to
farend and produces any error code that could arise.
Input:
- agcInst : AGC instance.
- samples : Number of samples in input vector.
Return value:
: 0 - Normal operation.
: -1 - Error.
|
9164 |