Initial commit
[camargo/neiasound.git] / src / util / efx-util.h
1 /*******************************************************************\
2 *                                                                   *
3 *  EFX-UTIL.H - EFX Utilities functions and Reverb Presets          *
4 *                                                                   *
5 *               File revision 1.0                                   *
6 *                                                                   *
7 * from https://svn.lcube.de/websvn/dev123/filedetails.php?repname=projects&path=%2Fvendor%2Fopenal-win%2Finclude%2FEFX-Util.h&rev=4 *
8 \*******************************************************************/
9
10 #ifndef EFX_UTIL_H_INCLUDED
11 #define EFX_UTIL_H_INCLUDED
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif // __cplusplus
16
17 #pragma pack(push, 4)
18
19 #ifndef EAXVECTOR_DEFINED
20 #define EAXVECTOR_DEFINED
21 typedef struct _EAXVECTOR {
22         float x;
23         float y;
24         float z;
25 } EAXVECTOR;
26 #endif
27
28 #ifndef EAXREVERBPROPERTIES_DEFINED
29 #define EAXREVERBPROPERTIES_DEFINED
30 typedef struct _EAXREVERBPROPERTIES
31 {
32     unsigned long ulEnvironment;
33     float flEnvironmentSize;
34     float flEnvironmentDiffusion;
35     long lRoom;
36     long lRoomHF;
37     long lRoomLF;
38     float flDecayTime;
39     float flDecayHFRatio;
40     float flDecayLFRatio;
41     long lReflections;
42     float flReflectionsDelay;
43     EAXVECTOR vReflectionsPan;
44     long lReverb;
45     float flReverbDelay;
46     EAXVECTOR vReverbPan;
47     float flEchoTime;
48     float flEchoDepth;
49     float flModulationTime;
50     float flModulationDepth;
51     float flAirAbsorptionHF;
52     float flHFReference;
53     float flLFReference;
54     float flRoomRolloffFactor;
55     unsigned long ulFlags;
56 } EAXREVERBPROPERTIES, *LPEAXREVERBPROPERTIES;
57 #endif
58
59 #ifndef EFXEAXREVERBPROPERTIES_DEFINED
60 #define EFXEAXREVERBPROPERTIES_DEFINED
61 typedef struct
62 {
63         float flDensity;
64         float flDiffusion;
65         float flGain;
66         float flGainHF;
67         float flGainLF;
68         float flDecayTime;
69         float flDecayHFRatio;
70         float flDecayLFRatio;
71         float flReflectionsGain;
72         float flReflectionsDelay;
73         float flReflectionsPan[3];
74         float flLateReverbGain;
75         float flLateReverbDelay;
76         float flLateReverbPan[3];
77         float flEchoTime;
78         float flEchoDepth;
79         float flModulationTime;
80         float flModulationDepth;
81         float flAirAbsorptionGainHF;
82         float flHFReference;
83         float flLFReference;
84         float flRoomRolloffFactor;
85         int     iDecayHFLimit;
86 } EFXEAXREVERBPROPERTIES, *LPEFXEAXREVERBPROPERTIES;
87 #endif
88
89 #ifndef EAXOBSTRUCTIONPROPERTIES_DEFINED
90 #define EAXOBSTRUCTIONPROPERTIES_DEFINED
91 typedef struct _EAXOBSTRUCTIONPROPERTIES
92 {
93     long          lObstruction;
94     float         flObstructionLFRatio;
95 } EAXOBSTRUCTIONPROPERTIES, *LPEAXOBSTRUCTIONPROPERTIES;
96 #endif
97
98 #ifndef EAXOCCLUSIONPROPERTIES_DEFINED
99 #define EAXOCCLUSIONPROPERTIES_DEFINED
100 typedef struct _EAXOCCLUSIONPROPERTIES
101 {
102     long          lOcclusion;
103     float         flOcclusionLFRatio;
104     float         flOcclusionRoomRatio;
105     float         flOcclusionDirectRatio;
106 } EAXOCCLUSIONPROPERTIES, *LPEAXOCCLUSIONPROPERTIES;
107 #endif
108
109 #ifndef EAXEXCLUSIONPROPERTIES_DEFINED
110 #define EAXEXCLUSIONPROPERTIES_DEFINED
111 typedef struct _EAXEXCLUSIONPROPERTIES
112 {
113     long          lExclusion;
114     float         flExclusionLFRatio;
115 } EAXEXCLUSIONPROPERTIES, *LPEAXEXCLUSIONPROPERTIES;
116 #endif
117
118 #ifndef EFXLOWPASSFILTER_DEFINED
119 #define EFXLOWPASSFILTER_DEFINED
120 typedef struct _EFXLOWPASSFILTER
121 {
122         float           flGain;
123         float           flGainHF;
124 } EFXLOWPASSFILTER, *LPEFXLOWPASSFILTER;
125 #endif
126
127 #ifdef EFXUTILDLL_EXPORTS
128  #define EFX_API __declspec(dllexport)
129 #else
130  #define EFX_API
131 #endif
132
133 EFX_API void __cdecl ConvertReverbParameters(EAXREVERBPROPERTIES *pEAXProp, EFXEAXREVERBPROPERTIES *pEFXEAXReverb);
134 EFX_API void __cdecl ConvertObstructionParameters(EAXOBSTRUCTIONPROPERTIES *pObProp, EFXLOWPASSFILTER *pDirectLowPassFilter);
135 EFX_API void __cdecl ConvertExclusionParameters(EAXEXCLUSIONPROPERTIES *pExProp, EFXLOWPASSFILTER *pSendLowPassFilter);
136 EFX_API void __cdecl ConvertOcclusionParameters(EAXOCCLUSIONPROPERTIES *pOcProp, EFXLOWPASSFILTER *pDirectLowPassFilter, EFXLOWPASSFILTER *pSendLowPassFilter);
137 EFX_API void __cdecl AdjustEnvironmentSize(EAXREVERBPROPERTIES *pEAXProp, float flEnvironmentSize);
138
139 /***********************************************************************************************\
140 *
141 * EAX Reverb Presets in legacy format - use ConvertReverbParameters() to convert to
142 * EFX EAX Reverb Presets for use with the OpenAL Effects Extension.
143 *
144 ************************************************************************************************/
145
146 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
147 #define REVERB_PRESET_GENERIC \
148         {0,             7.5f,   1.000f, -1000,  -100,   0,              1.49f,  0.83f,  1.00f,  -2602,  0.007f, 0.00f,0.00f,0.00f,      200,    0.011f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
149 #define REVERB_PRESET_PADDEDCELL \
150         {1,             1.4f,   1.000f, -1000,  -6000,  0,              0.17f,  0.10f,  1.00f,  -1204,  0.001f, 0.00f,0.00f,0.00f,  207,        0.002f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
151 #define REVERB_PRESET_ROOM \
152         {2,             1.9f,   1.000f, -1000,  -454,   0,              0.40f,  0.83f,  1.00f,  -1646,  0.002f, 0.00f,0.00f,0.00f,      53,             0.003f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
153 #define REVERB_PRESET_BATHROOM \
154         {3,             1.4f,   1.000f, -1000,  -1200,  0,              1.49f,  0.54f,  1.00f,  -370,   0.007f, 0.00f,0.00f,0.00f,      1030,   0.011f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
155 #define REVERB_PRESET_LIVINGROOM \
156         {4,             2.5f,   1.000f, -1000,  -6000,  0,              0.50f,  0.10f,  1.00f,  -1376,  0.003f, 0.00f,0.00f,0.00f,      -1104,  0.004f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
157 #define REVERB_PRESET_STONEROOM \
158         {5,             11.6f,  1.000f,  -1000, -300,   0,              2.31f,  0.64f,  1.00f,  -711,   0.012f, 0.00f,0.00f,0.00f,      83,             0.017f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
159 #define REVERB_PRESET_AUDITORIUM \
160         {6,             21.6f,  1.000f,  -1000, -476,   0,              4.32f,  0.59f,  1.00f,  -789,   0.020f, 0.00f,0.00f,0.00f,      -289,   0.030f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
161 #define REVERB_PRESET_CONCERTHALL \
162         {7,             19.6f,  1.000f,  -1000, -500,   0,              3.92f,  0.70f,  1.00f,  -1230,  0.020f, 0.00f,0.00f,0.00f,  -02,        0.029f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
163 #define REVERB_PRESET_CAVE \
164         {8,             14.6f,  1.000f,  -1000, 0,              0,              2.91f,  1.30f,  1.00f,  -602,   0.015f, 0.00f,0.00f,0.00f,      -302,   0.022f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x1f }
165 #define REVERB_PRESET_ARENA \
166         {9,             36.2f,  1.000f,  -1000, -698,   0,              7.24f,  0.33f,  1.00f,  -1166,  0.020f, 0.00f,0.00f,0.00f,  16,         0.030f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
167 #define REVERB_PRESET_HANGAR \
168         {10,    50.3f,  1.000f,  -1000, -1000,  0,              10.05f, 0.23f,  1.00f,  -602,   0.020f, 0.00f,0.00f,0.00f,  198,        0.030f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
169 #define REVERB_PRESET_CARPETTEDHALLWAY \
170         {11,    1.9f,   1.000f, -1000,  -4000,  0,              0.30f,  0.10f,  1.00f,  -1831,  0.002f, 0.00f,0.00f,0.00f,      -1630,  0.030f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
171 #define REVERB_PRESET_HALLWAY \
172         {12,    1.8f,   1.000f, -1000,  -300,   0,              1.49f,  0.59f,  1.00f,  -1219,  0.007f, 0.00f,0.00f,0.00f,  441,        0.011f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
173 #define REVERB_PRESET_STONECORRIDOR \
174         {13,    13.5f,  1.000f, -1000,  -237,   0,              2.70f,  0.79f,  1.00f,  -1214,  0.013f, 0.00f,0.00f,0.00f,  395,        0.020f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
175 #define REVERB_PRESET_ALLEY \
176         {14,    7.5f,   0.300f, -1000,  -270,   0,              1.49f,  0.86f,  1.00f,  -1204,  0.007f, 0.00f,0.00f,0.00f,  -4,         0.011f,         0.00f,0.00f,0.00f,      0.125f, 0.950f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
177 #define REVERB_PRESET_FOREST \
178         {15,    38.0f,  0.300f, -1000,  -3300,  0,              1.49f,  0.54f,  1.00f,  -2560,  0.162f, 0.00f,0.00f,0.00f,      -229,   0.088f,         0.00f,0.00f,0.00f,      0.125f, 1.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
179 #define REVERB_PRESET_CITY \
180         {16,    7.5f,   0.500f, -1000,  -800,   0,              1.49f,  0.67f,  1.00f,  -2273,  0.007f, 0.00f,0.00f,0.00f,      -1691,  0.011f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
181 #define REVERB_PRESET_MOUNTAINS \
182         {17,    100.0f, 0.270f, -1000,  -2500,  0,              1.49f,  0.21f,  1.00f,  -2780,  0.300f, 0.00f,0.00f,0.00f,      -1434,  0.100f,         0.00f,0.00f,0.00f,      0.250f, 1.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x1f }
183 #define REVERB_PRESET_QUARRY \
184         {18,    17.5f,  1.000f, -1000,  -1000,  0,              1.49f,  0.83f,  1.00f,  -10000, 0.061f, 0.00f,0.00f,0.00f,  500,        0.025f,         0.00f,0.00f,0.00f,      0.125f, 0.700f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
185 #define REVERB_PRESET_PLAIN \
186         {19,    42.5f,  0.210f, -1000,  -2000,  0,              1.49f,  0.50f,  1.00f,  -2466,  0.179f, 0.00f,0.00f,0.00f,      -1926,  0.100f,         0.00f,0.00f,0.00f,      0.250f, 1.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
187 #define REVERB_PRESET_PARKINGLOT \
188         {20,    8.3f,   1.000f, -1000,  0,              0,              1.65f,  1.50f,  1.00f,  -1363,  0.008f, 0.00f,0.00f,0.00f,      -1153,  0.012f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x1f }
189 #define REVERB_PRESET_SEWERPIPE \
190         {21,    1.7f,   0.800f, -1000,  -1000,  0,              2.81f,  0.14f,  1.00f,  429,    0.014f, 0.00f,0.00f,0.00f,      1023,   0.021f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
191 #define REVERB_PRESET_UNDERWATER \
192         {22,    1.8f,   1.000f, -1000,  -4000,  0,              1.49f,  0.10f,  1.00f,  -449,   0.007f, 0.00f,0.00f,0.00f,      1700,   0.011f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 1.180f, 0.348f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
193 #define REVERB_PRESET_DRUGGED \
194         {23,    1.9f,   0.500f, -1000,  0,              0,              8.39f,  1.39f,  1.00f,  -115,   0.002f, 0.00f,0.00f,0.00f,  985,        0.030f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 1.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x1f }
195 #define REVERB_PRESET_DIZZY \
196         {24,    1.8f,   0.600f, -1000,  -400,   0,              17.23f, 0.56f,  1.00f,  -1713,  0.020f, 0.00f,0.00f,0.00f,      -613,   0.030f,         0.00f,0.00f,0.00f,      0.250f, 1.000f, 0.810f, 0.310f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x1f }
197 #define REVERB_PRESET_PSYCHOTIC \
198         {25,    1.0f,   0.500f, -1000,  -151,   0,              7.56f,  0.91f,  1.00f,  -626,   0.020f, 0.00f,0.00f,0.00f,  774,        0.030f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 4.000f, 1.000f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x1f }
199
200
201 // CASTLE PRESETS
202
203 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
204 #define REVERB_PRESET_CASTLE_SMALLROOM \
205         { 26,   8.3f,   0.890f, -1000,  -800,   -2000,  1.22f,  0.83f,  0.31f,  -100,   0.022f, 0.00f,0.00f,0.00f,      600,    0.011f,         0.00f,0.00f,0.00f,      0.138f, 0.080f, 0.250f, 0.000f, -5.0f,  5168.6f,        139.5f,  0.00f, 0x20 }
206 #define REVERB_PRESET_CASTLE_SHORTPASSAGE \
207         { 26,   8.3f,   0.890f, -1000,  -1000,  -2000,  2.32f,  0.83f,  0.31f,  -100,   0.007f, 0.00f,0.00f,0.00f,  200,                0.023f,         0.00f,0.00f,0.00f,      0.138f, 0.080f, 0.250f, 0.000f, -5.0f,  5168.6f,        139.5f,  0.00f, 0x20 }
208 #define REVERB_PRESET_CASTLE_MEDIUMROOM \
209         { 26,   8.3f,   0.930f, -1000,  -1100,  -2000,  2.04f,  0.83f,  0.46f,  -400,   0.022f, 0.00f,0.00f,0.00f,      400,    0.011f,         0.00f,0.00f,0.00f,      0.155f, 0.030f, 0.250f, 0.000f, -5.0f,  5168.6f,        139.5f,  0.00f, 0x20 }
210 #define REVERB_PRESET_CASTLE_LONGPASSAGE \
211         { 26,   8.3f,   0.890f, -1000,  -800,   -2000,  3.42f,  0.83f,  0.31f,  -100,   0.007f, 0.00f,0.00f,0.00f,      300,    0.023f,         0.00f,0.00f,0.00f,      0.138f, 0.080f, 0.250f, 0.000f, -5.0f,  5168.6f,        139.5f,  0.00f, 0x20 }
212 #define REVERB_PRESET_CASTLE_LARGEROOM \
213         { 26,   8.3f,   0.820f, -1000,  -1100,  -1800,  2.53f,  0.83f,  0.50f,  -700,   0.034f, 0.00f,0.00f,0.00f,      200,            0.016f,         0.00f,0.00f,0.00f,      0.185f, 0.070f, 0.250f, 0.000f, -5.0f,  5168.6f,        139.5f,  0.00f, 0x20 }
214 #define REVERB_PRESET_CASTLE_HALL \
215         { 26,   8.3f,   0.810f, -1000,  -1100,  -1500,  3.14f,  0.79f,  0.62f,  -1500,  0.056f, 0.00f,0.00f,0.00f,      100,    0.024f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5168.6f,        139.5f,  0.00f, 0x20 }
216 #define REVERB_PRESET_CASTLE_CUPBOARD \
217         { 26,   8.3f,   0.890f, -1000,  -1100,  -2000,  0.67f,  0.87f,  0.31f,  300,    0.010f, 0.00f,0.00f,0.00f,      1100,   0.007f,         0.00f,0.00f,0.00f,      0.138f, 0.080f, 0.250f, 0.000f, -5.0f,  5168.6f,        139.5f,  0.00f, 0x20 }
218 #define REVERB_PRESET_CASTLE_COURTYARD \
219         { 26,   8.3f,   0.420f, -1000,  -700,   -1400,  2.13f,  0.61f,  0.23f,  -1300,  0.160f, 0.00f,0.00f,0.00f,      -300,   0.036f,         0.00f,0.00f,0.00f,      0.250f, 0.370f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f,  0.00f, 0x1f }
220 #define REVERB_PRESET_CASTLE_ALCOVE \
221         { 26,   8.3f,   0.890f, -1000,  -600,   -2000,  1.64f,  0.87f,  0.31f,  00,     0.007f, 0.00f,0.00f,0.00f,              300,    0.034f,         0.00f,0.00f,0.00f,      0.138f, 0.080f, 0.250f, 0.000f, -5.0f,  5168.6f,        139.5f,  0.00f, 0x20 }
222
223
224 // FACTORY PRESETS
225
226 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
227 #define REVERB_PRESET_FACTORY_ALCOVE \
228         { 26,   1.8f,   0.590f,  -1200, -200,   -600,   3.14f,  0.65f,  1.31f,  300,    0.010f, 0.00f,0.00f,0.00f,      000,    0.038f,         0.00f,0.00f,0.00f,      0.114f, 0.100f, 0.250f, 0.000f, -5.0f,  3762.6f,        362.5f,  0.00f, 0x20 }
229 #define REVERB_PRESET_FACTORY_SHORTPASSAGE \
230         { 26,   1.8f,   0.640f,  -1200, -200,   -600,   2.53f,  0.65f,  1.31f,  0,              0.010f, 0.00f,0.00f,0.00f,      200,    0.038f,         0.00f,0.00f,0.00f,      0.135f, 0.230f, 0.250f, 0.000f, -5.0f,  3762.6f,        362.5f,  0.00f, 0x20 }
231 #define REVERB_PRESET_FACTORY_MEDIUMROOM \
232         { 26,   1.9f,   0.820f,  -1200, -200,   -600,   2.76f,  0.65f,  1.31f,  -1100,  0.022f, 0.00f,0.00f,0.00f,      300,    0.023f,         0.00f,0.00f,0.00f,      0.174f, 0.070f, 0.250f, 0.000f, -5.0f,  3762.6f,        362.5f,  0.00f, 0x20 }
233 #define REVERB_PRESET_FACTORY_LONGPASSAGE \
234         { 26,   1.8f,   0.640f,  -1200, -200,   -600,   4.06f,  0.65f,  1.31f,  0,              0.020f, 0.00f,0.00f,0.00f,      200,    0.037f,         0.00f,0.00f,0.00f,      0.135f, 0.230f, 0.250f, 0.000f, -5.0f,  3762.6f,        362.5f,  0.00f, 0x20 }
235 #define REVERB_PRESET_FACTORY_LARGEROOM \
236         { 26,   1.9f,   0.750f,  -1200, -300,   -400,   4.24f,  0.51f,  1.31f,  -1500,  0.039f, 0.00f,0.00f,0.00f,      100,            0.023f,         0.00f,0.00f,0.00f,      0.231f, 0.070f, 0.250f, 0.000f, -5.0f,  3762.6f,        362.5f,  0.00f, 0x20 }
237 #define REVERB_PRESET_FACTORY_HALL \
238         { 26,   1.9f,   0.750f,  -1000, -300,   -400,   7.43f,  0.51f,  1.31f,  -2400,  0.073f, 0.00f,0.00f,0.00f,      -100,   0.027f,         0.00f,0.00f,0.00f,      0.250f, 0.070f, 0.250f, 0.000f, -5.0f,  3762.6f,        362.5f,  0.00f, 0x20 }
239 #define REVERB_PRESET_FACTORY_CUPBOARD \
240         { 26,   1.7f,   0.630f,  -1200, -200,   -600,   0.49f,  0.65f,  1.31f,  200,    0.010f, 0.00f,0.00f,0.00f,      600,    0.032f,         0.00f,0.00f,0.00f,      0.107f, 0.070f, 0.250f, 0.000f, -5.0f,  3762.6f,        362.5f,  0.00f, 0x20 }
241 #define REVERB_PRESET_FACTORY_COURTYARD \
242         { 26,   1.7f,   0.570f,  -1000, -1000,  -400,   2.32f,  0.29f,  0.56f,  -1300,  0.140f, 0.00f,0.00f,0.00f,      -800,   0.039f,         0.00f,0.00f,0.00f,      0.250f, 0.290f, 0.250f, 0.000f, -5.0f,  3762.6f,        362.5f,  0.00f, 0x20 }
243 #define REVERB_PRESET_FACTORY_SMALLROOM \
244         { 26,   1.8f,   0.820f,  -1000, -200,   -600,   1.72f,  0.65f,  1.31f,  -300,   0.010f, 0.00f,0.00f,0.00f,      500,    0.024f,         0.00f,0.00f,0.00f,      0.119f, 0.070f, 0.250f, 0.000f, -5.0f,  3762.6f,        362.5f,  0.00f, 0x20 }
245
246
247 // ICE PALACE PRESETS
248
249 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
250 #define REVERB_PRESET_ICEPALACE_ALCOVE \
251         { 26,   2.7f,   0.840f, -1000,  -500,   -1100,  2.76f,  1.46f,  0.28f,  100,    0.010f, 0.00f,0.00f,0.00f,      -100,   0.030f,         0.00f,0.00f,0.00f,      0.161f, 0.090f, 0.250f, 0.000f, -5.0f,  12428.5f,       99.6f,  0.00f,  0x20 }
252 #define REVERB_PRESET_ICEPALACE_SHORTPASSAGE \
253         { 26,   2.7f,   0.750f, -1000,  -500,   -1100,  1.79f,  1.46f,  0.28f,  -600,   0.010f, 0.00f,0.00f,0.00f,      100,            0.019f,         0.00f,0.00f,0.00f,      0.177f, 0.090f, 0.250f, 0.000f, -5.0f,  12428.5f,       99.6f,  0.00f,  0x20 }
254 #define REVERB_PRESET_ICEPALACE_MEDIUMROOM \
255         { 26,   2.7f,   0.870f, -1000,  -500,   -700,   2.22f,  1.53f,  0.32f,  -800,   0.039f, 0.00f,0.00f,0.00f,      100,    0.027f,         0.00f,0.00f,0.00f,      0.186f, 0.120f, 0.250f, 0.000f, -5.0f,  12428.5f,       99.6f,  0.00f,  0x20 }
256 #define REVERB_PRESET_ICEPALACE_LONGPASSAGE \
257         { 26,   2.7f,   0.770f, -1000,  -500,   -800,   3.01f,  1.46f,  0.28f,  -200,   0.012f, 0.00f,0.00f,0.00f,      200,    0.025f,         0.00f,0.00f,0.00f,      0.186f, 0.040f, 0.250f, 0.000f, -5.0f,  12428.5f,       99.6f,  0.00f,  0x20 }
258 #define REVERB_PRESET_ICEPALACE_LARGEROOM \
259         { 26,   2.9f,   0.810f, -1000,  -500,   -700,   3.14f,  1.53f,  0.32f,  -1200,  0.039f, 0.00f,0.00f,0.00f,      000,    0.027f,         0.00f,0.00f,0.00f,      0.214f, 0.110f, 0.250f, 0.000f, -5.0f,  12428.5f,       99.6f,  0.00f,  0x20 }
260 #define REVERB_PRESET_ICEPALACE_HALL \
261         { 26,   2.9f,   0.760f, -1000,  -700,   -500,   5.49f,  1.53f,  0.38f,  -1900,  0.054f, 0.00f,0.00f,0.00f,      -400,   0.052f,         0.00f,0.00f,0.00f,      0.226f, 0.110f, 0.250f, 0.000f, -5.0f,  12428.5f,       99.6f,  0.00f,  0x20 }
262 #define REVERB_PRESET_ICEPALACE_CUPBOARD \
263         { 26,   2.7f,   0.830f, -1000,  -600,   -1300,  0.76f,  1.53f,  0.26f,  100,    0.012f, 0.00f,0.00f,0.00f,      600,    0.016f,         0.00f,0.00f,0.00f,      0.143f, 0.080f, 0.250f, 0.000f, -5.0f,  12428.5f,       99.6f,  0.00f,  0x20 }
264 #define REVERB_PRESET_ICEPALACE_COURTYARD \
265         { 26,   2.9f,   0.590f, -1000,  -1100,  -1000,  2.04f,  1.20f,  0.38f,  -1000,  0.173f, 0.00f,0.00f,0.00f,      -1000,  0.043f,         0.00f,0.00f,0.00f,      0.235f, 0.480f, 0.250f, 0.000f, -5.0f,  12428.5f,       99.6f,  0.00f,  0x20 }
266 #define REVERB_PRESET_ICEPALACE_SMALLROOM \
267         { 26,   2.7f,   0.840f, -1000,  -500,   -1100,  1.51f,  1.53f,  0.27f,  -100,   0.010f, 0.00f,0.00f,0.00f,      300,    0.011f,         0.00f,0.00f,0.00f,      0.164f, 0.140f, 0.250f, 0.000f, -5.0f,  12428.5f,       99.6f,  0.00f,  0x20 }
268
269
270 // SPACE STATION PRESETS
271
272 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
273 #define REVERB_PRESET_SPACESTATION_ALCOVE \
274         { 26,   1.5f,   0.780f, -1000,  -300,   -100,   1.16f,  0.81f,  0.55f,  300,    0.007f, 0.00f,0.00f,0.00f,      000,    0.018f,         0.00f,0.00f,0.00f,      0.192f, 0.210f, 0.250f, 0.000f, -5.0f,  3316.1f,        458.2f,  0.00f, 0x20 }
275 #define REVERB_PRESET_SPACESTATION_MEDIUMROOM \
276         { 26,   1.5f,   0.750f, -1000,  -400,   -100,   3.01f,  0.50f,  0.55f,  -800,   0.034f, 0.00f,0.00f,0.00f,      100,            0.035f,         0.00f,0.00f,0.00f,      0.209f, 0.310f, 0.250f, 0.000f, -5.0f,  3316.1f,        458.2f,  0.00f, 0x20 }
277 #define REVERB_PRESET_SPACESTATION_SHORTPASSAGE \
278         { 26,   1.5f,   0.870f, -1000,  -400,   -100,   3.57f,  0.50f,  0.55f,  0,              0.012f, 0.00f,0.00f,0.00f,      100,            0.016f,         0.00f,0.00f,0.00f,      0.172f, 0.200f, 0.250f, 0.000f, -5.0f,  3316.1f,        458.2f,  0.00f, 0x20 }
279 #define REVERB_PRESET_SPACESTATION_LONGPASSAGE \
280         { 26,   1.9f,   0.820f, -1000,  -400,   -100,   4.62f,  0.62f,  0.55f,  0,              0.012f, 0.00f,0.00f,0.00f,      200,            0.031f,         0.00f,0.00f,0.00f,      0.250f, 0.230f, 0.250f, 0.000f, -5.0f,  3316.1f,        458.2f,  0.00f, 0x20 }
281 #define REVERB_PRESET_SPACESTATION_LARGEROOM \
282         { 26,   1.8f,   0.810f, -1000,  -400,   -100,   3.89f,  0.38f,  0.61f,  -1000,  0.056f, 0.00f,0.00f,0.00f,      -100,   0.035f,         0.00f,0.00f,0.00f,      0.233f, 0.280f, 0.250f, 0.000f, -5.0f,  3316.1f,        458.2f,  0.00f, 0x20 }
283 #define REVERB_PRESET_SPACESTATION_HALL \
284         { 26,   1.9f,   0.870f, -1000,  -400,   -100,   7.11f,  0.38f,  0.61f,  -1500,  0.100f, 0.00f,0.00f,0.00f,      -400,   0.047f,         0.00f,0.00f,0.00f,      0.250f, 0.250f, 0.250f, 0.000f, -5.0f,  3316.1f,        458.2f,  0.00f, 0x20 }
285 #define REVERB_PRESET_SPACESTATION_CUPBOARD \
286         { 26,   1.4f,   0.560f, -1000,  -300,   -100,   0.79f,  0.81f,  0.55f,  300,    0.007f, 0.00f,0.00f,0.00f,      500,    0.018f,         0.00f,0.00f,0.00f,      0.181f, 0.310f, 0.250f, 0.000f, -5.0f,  3316.1f,        458.2f,  0.00f, 0x20 }
287 #define REVERB_PRESET_SPACESTATION_SMALLROOM \
288         { 26,   1.5f,   0.700f, -1000,  -300,   -100,   1.72f,  0.82f,  0.55f,  -200,   0.007f, 0.00f,0.00f,0.00f,      300,    0.013f,         0.00f,0.00f,0.00f,      0.188f, 0.260f, 0.250f, 0.000f, -5.0f,  3316.1f,        458.2f,  0.00f, 0x20 }
289
290
291 // WOODEN GALLEON PRESETS
292
293 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
294 #define REVERB_PRESET_WOODEN_ALCOVE \
295         { 26,   7.5f,   1.000f, -1000,  -1800,  -1000,  1.22f,  0.62f,  0.91f,  100,    0.012f, 0.00f,0.00f,0.00f,      -300,   0.024f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  4705.0f,        99.6f,  0.00f,  0x3f }
296 #define REVERB_PRESET_WOODEN_SHORTPASSAGE \
297         { 26,   7.5f,   1.000f, -1000,  -1800,  -1000,  1.75f,  0.50f,  0.87f,  -100,   0.012f, 0.00f,0.00f,0.00f,      -400,   0.024f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  4705.0f,        99.6f,  0.00f,  0x3f }
298 #define REVERB_PRESET_WOODEN_MEDIUMROOM \
299         { 26,   7.5f,   1.000f, -1000,  -2000,  -1100,  1.47f,  0.42f,  0.82f,  -100,   0.049f, 0.00f,0.00f,0.00f,      -100,   0.029f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  4705.0f,        99.6f,  0.00f,  0x3f }
300 #define REVERB_PRESET_WOODEN_LONGPASSAGE \
301         { 26,   7.5f,   1.000f, -1000,  -2000,  -1000,  1.99f,  0.40f,  0.79f,  000,    0.020f, 0.00f,0.00f,0.00f,      -700,   0.036f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  4705.0f,        99.6f,  0.00f,  0x3f }
302 #define REVERB_PRESET_WOODEN_LARGEROOM \
303         { 26,   7.5f,   1.000f, -1000,  -2100,  -1100,  2.65f,  0.33f,  0.82f,  -100,   0.066f, 0.00f,0.00f,0.00f,      -200,   0.049f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  4705.0f,        99.6f,  0.00f,  0x3f }
304 #define REVERB_PRESET_WOODEN_HALL \
305         { 26,   7.5f,   1.000f, -1000,  -2200,  -1100,  3.45f,  0.30f,  0.82f,  -100,   0.088f, 0.00f,0.00f,0.00f,      -200,   0.063f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  4705.0f,        99.6f,  0.00f,  0x3f }
306 #define REVERB_PRESET_WOODEN_CUPBOARD \
307         { 26,   7.5f,   1.000f, -1000,  -1700,  -1000,  0.56f,  0.46f,  0.91f,  100,    0.012f, 0.00f,0.00f,0.00f,      100,    0.028f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  4705.0f,        99.6f,  0.00f,  0x3f }
308 #define REVERB_PRESET_WOODEN_SMALLROOM \
309         { 26,   7.5f,   1.000f, -1000,  -1900,  -1000,  0.79f,  0.32f,  0.87f,  00,             0.032f, 0.00f,0.00f,0.00f,      -100,   0.029f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  4705.0f,        99.6f,  0.00f,  0x3f }
310 #define REVERB_PRESET_WOODEN_COURTYARD \
311         { 26,   7.5f,   0.650f, -1000,  -2200,  -1000,  1.79f,  0.35f,  0.79f,  -500,   0.123f, 0.00f,0.00f,0.00f,      -2000,  0.032f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  4705.0f,        99.6f,  0.00f,  0x3f }
312
313
314 // SPORTS PRESETS
315
316 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
317 #define REVERB_PRESET_SPORT_EMPTYSTADIUM \
318         { 26,   7.2f,   1.000f, -1000,  -700,   -200,   6.26f,  0.51f,  1.10f,  -2400,  0.183f, 0.00f,0.00f,0.00f,      -800,   0.038f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f,  0.00f, 0x20 }
319 #define REVERB_PRESET_SPORT_SQUASHCOURT \
320         { 26,   7.5f,   0.750f, -1000,  -1000,  -200,   2.22f,  0.91f,  1.16f,  -700,   0.007f, 0.00f,0.00f,0.00f,      -200,   0.011f,         0.00f,0.00f,0.00f,      0.126f, 0.190f, 0.250f, 0.000f, -5.0f,  7176.9f,        211.2f,  0.00f, 0x20 }
321 #define REVERB_PRESET_SPORT_SMALLSWIMMINGPOOL \
322         { 26,  36.2f,   0.700f, -1000,  -200,   -100,   2.76f,  1.25f,  1.14f,  -400,   0.020f, 0.00f,0.00f,0.00f,      -200,   0.030f,         0.00f,0.00f,0.00f,      0.179f, 0.150f, 0.895f, 0.190f, -5.0f,  5000.0f,        250.0f,  0.00f, 0x0 }
323 #define REVERB_PRESET_SPORT_LARGESWIMMINGPOOL\
324         { 26,  36.2f,   0.820f, -1000,  -200,   0,              5.49f,  1.31f,  1.14f,  -700,   0.039f, 0.00f,0.00f,0.00f,      -600,   0.049f,         0.00f,0.00f,0.00f,      0.222f, 0.550f, 1.159f, 0.210f, -5.0f,  5000.0f,        250.0f,  0.00f, 0x0 }
325 #define REVERB_PRESET_SPORT_GYMNASIUM \
326         { 26,   7.5f,   0.810f, -1000,  -700,   -100,   3.14f,  1.06f,  1.35f,  -800,   0.029f, 0.00f,0.00f,0.00f,      -500,   0.045f,         0.00f,0.00f,0.00f,      0.146f, 0.140f, 0.250f, 0.000f, -5.0f,  7176.9f,        211.2f,  0.00f, 0x20 }
327 #define REVERB_PRESET_SPORT_FULLSTADIUM \
328         { 26,   7.2f,   1.000f, -1000,  -2300,  -200,   5.25f,  0.17f,  0.80f,  -2000,  0.188f, 0.00f,0.00f,0.00f,      -1100,  0.038f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f,  0.00f, 0x20 }
329 #define REVERB_PRESET_SPORT_STADIUMTANNOY \
330         { 26,   3.0f,   0.780f, -1000,   -500,   -600,  2.53f,  0.88f,  0.68f,  -1100,  0.230f, 0.00f,0.00f,0.00f,      -600,   0.063f,         0.00f,0.00f,0.00f,      0.250f, 0.200f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f,  0.00f, 0x20 }
331
332
333 // PREFAB PRESETS
334
335 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
336 #define REVERB_PRESET_PREFAB_WORKSHOP \
337         { 26,   1.9f,   1.000f, -1000,  -1700,  -800,   0.76f,  1.00f,  1.00f,  0,              0.012f, 0.00f,0.00f,0.00f,      100,            0.012f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f,  0.00f, 0x0 }
338 #define REVERB_PRESET_PREFAB_SCHOOLROOM \
339         { 26,   1.86f,  0.690f, -1000,  -400,   -600,   0.98f,  0.45f,  0.18f,  300,    0.017f, 0.00f,0.00f,0.00f,  300,        0.015f,         0.00f,0.00f,0.00f,      0.095f, 0.140f, 0.250f, 0.000f, -5.0f,  7176.9f,        211.2f,  0.00f, 0x20 }
340 #define REVERB_PRESET_PREFAB_PRACTISEROOM \
341         { 26,   1.86f,  0.870f, -1000,  -800,   -600,   1.12f,  0.56f,  0.18f,  200,    0.010f, 0.00f,0.00f,0.00f,      300,    0.011f,         0.00f,0.00f,0.00f,      0.095f, 0.140f, 0.250f, 0.000f, -5.0f,  7176.9f,        211.2f,  0.00f, 0x20 }
342 #define REVERB_PRESET_PREFAB_OUTHOUSE \
343         { 26,  80.3f,   0.820f, -1000,  -1900,  -1600,  1.38f,  0.38f,  0.35f,  -100,   0.024f, 0.00f,0.00f,-0.00f,     -400,   0.044f,         0.00f,0.00f,0.00f,      0.121f, 0.170f, 0.250f, 0.000f, -5.0f,  2854.4f,        107.5f,  0.00f, 0x0 }
344 #define REVERB_PRESET_PREFAB_CARAVAN \
345         { 26,   8.3f,   1.000f, -1000,  -2100,  -1800,  0.43f,  1.50f,  1.00f,  0,              0.012f, 0.00f,0.00f,0.00f,      600,    0.012f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f,  0.00f, 0x1f }
346                         // for US developers, a caravan is the same as a trailer =o)
347
348
349 // DOME AND PIPE PRESETS
350
351 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
352 #define REVERB_PRESET_DOME_TOMB \
353         { 26,  51.8f,   0.790f, -1000,  -900,   -1300,  4.18f,  0.21f,  0.10f,  -825,   0.030f, 0.00f,0.00f,0.00f,      450,    0.022f,         0.00f,0.00f,0.00f,      0.177f, 0.190f, 0.250f, 0.000f, -5.0f,  2854.4f,        20.0f,  0.00f,  0x0 }
354 #define REVERB_PRESET_PIPE_SMALL \
355         { 26,  50.3f,   1.000f, -1000,  -900,   -1300,  5.04f,  0.10f,  0.10f,  -600,   0.032f, 0.00f,0.00f,0.00f,      800,    0.015f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  2854.4f,        20.0f,  0.00f,  0x3f }
356 #define REVERB_PRESET_DOME_SAINTPAULS \
357         { 26,  50.3f,   0.870f, -1000,  -900,   -1300,  10.48f, 0.19f,  0.10f,  -1500,  0.090f, 0.00f,0.00f,0.00f,      200,    0.042f,         0.00f,0.00f,0.00f,      0.250f, 0.120f, 0.250f, 0.000f, -5.0f,  2854.4f,        20.0f,  0.00f,  0x3f }
358 #define REVERB_PRESET_PIPE_LONGTHIN \
359         { 26,   1.6f,   0.910f, -1000,  -700,   -1100,  9.21f,  0.18f,  0.10f,  -300,   0.010f, 0.00f,0.00f,0.00f,      -300,   0.022f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  2854.4f,        20.0f,  0.00f,  0x0 }
360 #define REVERB_PRESET_PIPE_LARGE \
361         { 26,  50.3f,   1.000f, -1000,  -900,   -1300,  8.45f,  0.10f,  0.10f,  -800,   0.046f, 0.00f,0.00f,0.00f,  400,        0.032f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  2854.4f,        20.0f,  0.00f,  0x3f }
362 #define REVERB_PRESET_PIPE_RESONANT \
363         { 26,   1.3f,   0.910f, -1000,  -700,   -1100,  6.81f,  0.18f,  0.10f,  -300,   0.010f, 0.00f,0.00f,0.00f,      00,             0.022f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  2854.4f,        20.0f,  0.00f,  0x0 }
364
365
366 // OUTDOORS PRESETS
367
368 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
369 #define REVERB_PRESET_OUTDOORS_BACKYARD \
370         { 26,  80.3f,   0.450f, -1000,  -1200,  -600,   1.12f,  0.34f,  0.46f,  -700,   0.069f, 0.00f,0.00f,-0.00f,     -300,   0.023f,         0.00f,0.00f,0.00f,      0.218f, 0.340f, 0.250f, 0.000f, -5.0f,  4399.1f,        242.9f,  0.00f, 0x0 }
371 #define REVERB_PRESET_OUTDOORS_ROLLINGPLAINS \
372         { 26,  80.3f,   0.000f, -1000,  -3900,  -400,   2.13f,  0.21f,  0.46f,  -1500,  0.300f, 0.00f,0.00f,-0.00f,     -700,   0.019f,         0.00f,0.00f,0.00f,      0.250f, 1.000f, 0.250f, 0.000f, -5.0f,  4399.1f,        242.9f,  0.00f, 0x0 }
373 #define REVERB_PRESET_OUTDOORS_DEEPCANYON \
374         { 26,  80.3f,   0.740f, -1000,  -1500,  -400,   3.89f,  0.21f,  0.46f,  -1000,  0.223f, 0.00f,0.00f,-0.00f,     -900,   0.019f,         0.00f,0.00f,0.00f,      0.250f, 1.000f, 0.250f, 0.000f, -5.0f,  4399.1f,        242.9f,  0.00f, 0x0 }
375 #define REVERB_PRESET_OUTDOORS_CREEK \
376         { 26,  80.3f,   0.350f, -1000,  -1500,  -600,   2.13f,  0.21f,  0.46f,  -800,   0.115f, 0.00f,0.00f,-0.00f,     -1400,  0.031f,         0.00f,0.00f,0.00f,      0.218f, 0.340f, 0.250f, 0.000f, -5.0f,  4399.1f,        242.9f,  0.00f, 0x0 }
377 #define REVERB_PRESET_OUTDOORS_VALLEY \
378         { 26,  80.3f,   0.280f, -1000,  -3100,  -1600,  2.88f,  0.26f,  0.35f,  -1700,  0.263f, 0.00f,0.00f,-0.00f,     -800,   0.100f,         0.00f,0.00f,0.00f,      0.250f, 0.340f, 0.250f, 0.000f, -5.0f,  2854.4f,        107.5f,  0.00f, 0x0 }
379
380
381 // MOOD PRESETS
382
383 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
384 #define REVERB_PRESET_MOOD_HEAVEN \
385         { 26,  19.6f,   0.940f,  -1000, -200,   -700,   5.04f,  1.12f,  0.56f,  -1230,  0.020f, 0.00f,0.00f,0.00f,      200,    0.029f,         0.00f,0.00f,0.00f,      0.250f, 0.080f, 2.742f, 0.050f, -2.0f,  5000.0f,        250.0f,  0.00f, 0x3f }
386 #define REVERB_PRESET_MOOD_HELL \
387         { 26, 100.0f,   0.570f,  -1000, -900,   -700,   3.57f,  0.49f,  2.00f,  -10000, 0.020f, 0.00f,0.00f,0.00f,      300,    0.030f,         0.00f,0.00f,0.00f,      0.110f, 0.040f, 2.109f, 0.520f, -5.0f,  5000.0f,        139.5f,  0.00f, 0x40 }
388 #define REVERB_PRESET_MOOD_MEMORY \
389         { 26,   8.0f,   0.850f,  -1000, -400,   -900,   4.06f,  0.82f,  0.56f,  -2800,  0.000f, 0.00f,0.00f,0.00f,      100,    0.000f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.474f, 0.450f, -10.0f,  5000.0f,       250.0f,  0.00f, 0x0 }
390
391
392 // DRIVING SIMULATION PRESETS
393
394 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
395 #define REVERB_PRESET_DRIVING_COMMENTATOR \
396         { 26,   3.0f,   0.000f, -1000,  -500,   -600,   2.42f,  0.88f,  0.68f,  -1400,  0.093f, 0.00f,0.00f,0.00f,      -1200,  0.017f,         0.00f,0.00f,0.00f,      0.250f, 1.000f, 0.250f, 0.000f, -10.0f,  5000.0f,       250.0f,  0.00f, 0x20 }
397 #define REVERB_PRESET_DRIVING_PITGARAGE \
398         { 26,   1.9f,   0.590f, -1000,  -300,   -500,   1.72f,  0.93f,  0.87f,  -500,   0.000f, 0.00f,0.00f,0.00f,      200,            0.016f,         0.00f,0.00f,0.00f,      0.250f, 0.110f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f,  0.00f, 0x0 }
399 #define REVERB_PRESET_DRIVING_INCAR_RACER \
400         { 26,   1.1f,   0.800f, -1000,   0,             -200,   0.17f,  2.00f,  0.41f,  500,    0.007f, 0.00f,0.00f,0.00f,      -300,   0.015f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  10268.2f,       251.0f,  0.00f, 0x20 }
401 #define REVERB_PRESET_DRIVING_INCAR_SPORTS \
402         { 26,   1.1f,   0.800f, -1000,  -400,   0,              0.17f,  0.75f,  0.41f,  0,              0.010f, 0.00f,0.00f,0.00f,      -500,   0.000f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  10268.2f,       251.0f,  0.00f, 0x20 }
403 #define REVERB_PRESET_DRIVING_INCAR_LUXURY \
404         { 26,   1.6f,   1.000f, -1000,  -2000,  -600,   0.13f,  0.41f,  0.46f,  -200,   0.010f, 0.00f,0.00f,0.00f,      400,    0.010f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  10268.2f,       251.0f,  0.00f, 0x20 }
405 #define REVERB_PRESET_DRIVING_FULLGRANDSTAND \
406         { 26,   8.3f,   1.000f, -1000,  -1100,  -400,   3.01f,  1.37f,  1.28f,  -900,   0.090f, 0.00f,0.00f,0.00f,      -1500,  0.049f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  10420.2f,       250.0f,  0.00f, 0x1f }
407 #define REVERB_PRESET_DRIVING_EMPTYGRANDSTAND \
408         { 26,   8.3f,   1.000f, -1000,   0,             -200,   4.62f,  1.75f,  1.40f,  -1363,  0.090f, 0.00f,0.00f,0.00f,      -1200,  0.049f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.000f, -5.0f,  10420.2f,       250.0f,  0.00f, 0x1f }
409 #define REVERB_PRESET_DRIVING_TUNNEL \
410         { 26,   3.1f,   0.810f, -1000,   -800,  -100,   3.42f,  0.94f,  1.31f,  -300,   0.051f, 0.00f,0.00f,0.00f,  -300,       0.047f,         0.00f,0.00f,0.00f,      0.214f, 0.050f, 0.250f, 0.000f, -5.0f,  5000.0f,        155.3f,  0.00f, 0x20 }
411
412
413 // CITY PRESETS
414
415 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
416 #define REVERB_PRESET_CITY_STREETS \
417         { 26,   3.0f,   0.780f, -1000,  -300,   -100,   1.79f,  1.12f,  0.91f,  -1100,  0.046f, 0.00f,0.00f,0.00f,      -1400,  0.028f,         0.00f,0.00f,0.00f,      0.250f, 0.200f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f,  0.00f, 0x20 }
418 #define REVERB_PRESET_CITY_SUBWAY \
419         { 26,   3.0f,   0.740f, -1000,  -300,   -100,   3.01f,  1.23f,  0.91f,   -300,  0.046f, 0.00f,0.00f,0.00f,      200,    0.028f,         0.00f,0.00f,0.00f,      0.125f, 0.210f, 0.250f, 0.000f, -5.0f,  5000.0f,        250.0f,  0.00f, 0x20 }
420 #define REVERB_PRESET_CITY_MUSEUM \
421         { 26,  80.3f,   0.820f, -1000,  -1500,  -1500,  3.28f,  1.40f,  0.57f,  -1200,  0.039f, 0.00f,0.00f,-0.00f, -100,       0.034f,         0.00f,0.00f,0.00f,      0.130f, 0.170f, 0.250f, 0.000f, -5.0f,  2854.4f,        107.5f,  0.00f, 0x0 }
422 #define REVERB_PRESET_CITY_LIBRARY \
423         { 26,  80.3f,   0.820f, -1000,  -1100,  -2100,  2.76f,  0.89f,  0.41f,  -900,   0.029f, 0.00f,0.00f,-0.00f, -100,       0.020f,         0.00f,0.00f,0.00f,      0.130f, 0.170f, 0.250f, 0.000f, -5.0f,  2854.4f,        107.5f,  0.00f, 0x0 }
424 #define REVERB_PRESET_CITY_UNDERPASS \
425         { 26,   3.0f,   0.820f, -1000,  -700,   -100,   3.57f,  1.12f,  0.91f,  -800,   0.059f, 0.00f,0.00f,0.00f,      -100,   0.037f,         0.00f,0.00f,0.00f,      0.250f, 0.140f, 0.250f, 0.000f, -7.0f,  5000.0f,        250.0f,  0.00f, 0x20 }
426 #define REVERB_PRESET_CITY_ABANDONED \
427         { 26,   3.0f,   0.690f, -1000,  -200,   -100,   3.28f,  1.17f,  0.91f,  -700,   0.044f, 0.00f,0.00f,0.00f,      -1100,  0.024f,         0.00f,0.00f,0.00f,      0.250f, 0.200f, 0.250f, 0.000f, -3.0f,  5000.0f,        250.0f,  0.00f, 0x20 }
428
429
430 // MISC ROOMS
431
432 //      Env             Size    Diffus  Room    RoomHF  RoomLF  DecTm   DcHF    DcLF    Refl    RefDel  Ref Pan                         Revb    RevDel          Rev Pan                         EchTm   EchDp   ModTm   ModDp   AirAbs  HFRef           LFRef   RRlOff  FLAGS
433 #define REVERB_PRESET_DUSTYROOM  \
434         { 26,   1.8f,   0.560f, -1000,  -200,   -300,   1.79f,  0.38f,  0.21f,  -600,   0.002f, 0.00f,0.00f,0.00f,      200,    0.006f,         0.00f,0.00f,0.00f,      0.202f, 0.050f, 0.250f, 0.000f, -10.0f,  13046.0f,      163.3f, 0.00f,  0x20 }
435 #define REVERB_PRESET_CHAPEL \
436         { 26,  19.6f,   0.840f, -1000,  -500,   0,              4.62f,  0.64f,  1.23f,  -700,   0.032f, 0.00f,0.00f,0.00f,      -200,   0.049f,         0.00f,0.00f,0.00f,      0.250f, 0.000f, 0.250f, 0.110f, -5.0f,  5000.0f,        250.0f, 0.00f,  0x3f }
437 #define REVERB_PRESET_SMALLWATERROOM \
438         { 26,  36.2f,   0.700f, -1000,  -698,   0,              1.51f,  1.25f,  1.14f,  -100,   0.020f, 0.00f,0.00f,0.00f,      300,    0.030f,         0.00f,0.00f,0.00f,      0.179f, 0.150f, 0.895f, 0.190f, -7.0f,  5000.0f,        250.0f, 0.00f, 0x0 }
439
440
441 #pragma pack(pop)
442
443 #ifdef __cplusplus
444 }
445 #endif // __cplusplus
446
447 #endif // EFX-UTIL_H_INCLUDED