0
2
21
168
201
167
在做音频处理器项目的时候需要写一个agc算法,下面这个就是公式 Threshold = ThresholdVar Gain = GainVar slope = (1-(1/RatioVar)) Attack_Coeff = 1-(Math.Exp(-1*BlockSize/(0.001*AttacktimeVar*FS))) Decay_Coeff = 1-(Math.Exp(-1*Block...