Searched refs:thres_db (Results 1 – 2 of 2) sorted by relevance
104 thres_db = (float)tthreshold; //implicit type cast int to float in Compressor_Change()150 knee = -kpct*thres_db; in Compressor_Change()159 thres_mx = thres_db + knee; //This is the value of the input when the output is at t+k in Compressor_Change()160 makeup = -thres_db - knee/kratio + thres_mx/ratio; in Compressor_Change()310 if (rvolume_db < thres_db) { in out()317 eratio = 1.0f + (kratio-1.0f)*(rvolume_db-thres_db)* coeff_knee; in out()318 rgain = outlevel*dB2rap(thres_db + (rvolume_db-thres_db)/eratio - rvolume_db); in out()353 if (lvolume_db < thres_db) { in out()356 eratio = 1.0f + (kratio-1.0f)*(lvolume_db-thres_db)* coeff_knee; in out()357 lgain = outlevel*dB2rap(thres_db + (lvolume_db-thres_db)/eratio - lvolume_db); in out()[all …]
73 float thres_db; // threshold variable