This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TLV320AIC3254: PurePath Studio AGC Increase and Decrease Factor

Part Number: TLV320AIC3254

Hi,

Is there more info for the Software AGC inside PurePath studio for the increase and decrease factors? They have default values, but no formula to convert to other values, like the other AGC coefficients.

Also, are there maximum and minimum values for the AGC Attack and Decay time constants? Like 1 second, 500 ms, etc.?

Thank you

  • Hi Chandler,

    Increment factor (AGC_INC_FACTOR) is computed by converting the rate in dB to linear and raising it to (1/FS).

    30 dB/sec in linear is 10^(30/20) = 31.62 and for 44100 sample rate operation the increment factor is 31.42^(1/44100) = 1.00007820129395.

    INC/DEC Factor = 10^(RATE/20/FS) where RATE is the increase or decrease rate in dB/sec.

    To compute the attack and decay coefficient equations, plug in the attack time in seconds for ta (or td) and sample rate for Fs.

    The attack and decay values are interchanged in the image.

    For 4ms time constant the calculation is 1 - e^(-1/4e-3/44100) = 0.00565.

    For 15ms time constant the calculation is 1 - e^(-1/15e-3/44100) = 0.00151.

    Best Regards.