private float ATHmdct(LameGlobalFlags gfp, float f) { var ath = psy.ATHformula(f, gfp); ath -= NSATHSCALE; ath = (float)Math.Pow(10.0, ath / 10.0 + gfp.ATHlower); return(ath); }