calculate Compressor gain table
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
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.
how to calculation every point ?
db convert formula ?
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.
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
hello , the link is not valid. Would you update the link address, please?
thanks, Semi
Please log in to reply.