doom3-gpl
Doom 3 GPL source release
|
Go to the source code of this file.
Macros | |
#define | VORBIS_IEEE_FLOAT32 1 |
#define | todB_nn(x) todB(x) |
#define | fromdB(x) (exp((x)*.11512925f)) |
#define | toBARK(n) (13.1f*atan(.00074f*(n))+2.24f*atan((n)*(n)*1.85e-8f)+1e-4f*(n)) |
#define | fromBARK(z) (102.f*(z)-2.f*pow(z,2.f)+.4f*pow(z,3.f)+pow(1.46f,z)-1.f) |
#define | toMEL(n) (log(1.f+(n)*.001f)*1442.695f) |
#define | fromMEL(m) (1000.f*exp((m)/1442.695f)-1000.f) |
#define | toOC(n) (log(n)*1.442695f-5.965784f) |
#define | fromOC(o) (exp(((o)+5.965784f)*.693147f)) |
#define toBARK | ( | n | ) | (13.1f*atan(.00074f*(n))+2.24f*atan((n)*(n)*1.85e-8f)+1e-4f*(n)) |