[Speex-dev] SPEEX_PREPROCESS_SET_AGC_LEVEL

Tom Grandgent tgrand at canvaslink.com
Fri Jun 3 09:14:43 PDT 2005


Hi Marc,

As I understand it, this represents the peak amplitude you want the 
AGC to aim for.  If you look at preprocess.c, you'll see that this 
should be a float from 1 to 32768, with the default being 8000.  
I've been using 70% of the maximum in my application.  You should 
probably experiment to see what works best for you.

Tom

Marc <maarcc at gmail.com> wrote:
> 
> Hi.
> I am trying out 1.1.9. What should be the value range for this
> SPEEX_PREPROCESS_SET_AGC_LEVEL?? And the ideal value for a general default is?
> Thanks!



More information about the Speex-dev mailing list