[Speex-dev] Fixed-point AGC, snapshot

Thorvald Natvig thorvald at natvig.com
Thu May 22 03:07:06 PDT 2008


Sorry for this being late. Anyway, this has an AGC that works in fixed 
point. The calculation of the gain is changed slightly even in floating 
point, as loudness_accum is no longer pow()'d, which affects the initial 
frames slightly. It gives results in fixed point, but no extensive 
verification has been done, and many of the _ctl functions still do not 
work, as they need to convert back and forth to decibel scale. I think 
perhaps the best solution there is to have the state struct store the 
decibel value as is done for noise suppression levels etc.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: speex-agc-temp.diff
Url: http://lists.xiph.org/pipermail/speex-dev/attachments/20080522/ea47b677/attachment.txt 

More information about the Speex-dev mailing list