Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 28044

Re: How to calculate the parameters for "RMS compressor"?

$
0
0

Hi John,

Here I got question about the "threshold" and "gain" of the "AGC compressor" module.From the source code and the "Default Parameter" tab within "Parameter Control" window of the "adi_AGCcompressor.ssg" file,I consider the value of the "threshold" and the "gain" should be dB value.

 

But from the capture window in sigma studio and after rebuilding a test module of it,I find the value to be sent is actually linear value.Meanwhile,I have now idea how this value is changed to linear,because there is no any converting    in "Formula/Static Value".

 

1)Should these two value be linear value or dB value?

2)If they are linear value,yet,from the source code in the "Adjust for threshold" part,I do know these two value is processed with dB value of the maximum sample directly.Why the linear value here mixed up with dB value to finish the calculation?

3)I have tested a few times.After the post "gain" value changed,however,the output dB value is not to be changed as it should be.Because I have consider the gain should be the make-up gain adding to the output directly.Is there any problem of my point of view?

4)Where can I know the converting operation to linear value of the two value in sigma studio?I just always consider all the converting should be listed as  formula in the "Default Parameter" tab.Is this just realized by the "slider"?

 

Best Regards,

Liang


Viewing all articles
Browse latest Browse all 28044

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>