ΣSigmaStudio Ask AI Русский Log in

calculate Compressor gain table

SigmaDSP & SigmaStudio rong Jan 13, 2011 00:00 5 replies Original on forum ↗
Subscribe
rong Question
Jan 13, 2011 00:00

Hi,

We are using an external microcontroller to control the SignamDSP ADAU1442. I've done all the filter coefficients calculations by following the algoritms in the help file, except for the Chebyshev filters, on which the help file failed to mention. Another issue is with calculating the Compressor gain table. I could find some info on those attach/decay, time constant etc. in the help file as well as here, but can't find anything on how to calcuate the 33 gain values with a given graph (points). It seems with/without soft knee can affect those gain values, but the rational behind it is also unknown. So the question is how exactly those gains values are calculated? Thanks.

Regards,

Rong

Audio Signal Processors

adau1442

SigmaDSP Audio Processors

ADIApproved Reply
Jan 13, 2011 00:00

The 33 gain values for the compressor table are just gain values at 3 dB spacing between +6 dB and -90 dB. When the compressor is set to flat, each point is set for a gain value of 1.0. When the graph is set for compression, the gain values above the threshold point will be set to less than 1.0.

walkercc Reply
Jun 8, 2011 00:00

how to calculation every point ?

db convert formula ?

ADIApproved Reply
Jun 14, 2011 00:00

The stored value is the linear output gain in 5.23 format.

So, 0 dB = 1.

-3 dB = 0.707.

-6 dB = 0.5.

Here's an example where you can overwrite some points on the table to create a gate.

https://ez.analog.com/message/7651#7651

EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin

Semi_Tehrani Reply
Oct 18, 2018 00:00

hello , the link is not valid. Would you update the link address, please?

thanks, Semi