static double toBARK(float f) { double a,b,c; a = 13.1 * Math.Atan(0.00074 * f); b = 2.24 * Math.Atan(f * f * 1.85e-8); c = 1.0e-4 * f; return (a + b + c); }