Ooops
October 28, 2020, 06:02:29 AM

Author Topic: [bb] Pub.EFX by JoshK [ 1+ years ago ]  (Read 1330 times)

Offline BlitzBot

  • Jr. Member
  • **
  • Posts: 1
[bb] Pub.EFX by JoshK [ 1+ years ago ]
« on: June 29, 2017, 12:28:42 AM »
Title : Pub.EFX
Author : JoshK
Posted : 1+ years ago

Description : EFX module for enabling hardware reverb and echo effects

Code :
Code: BlitzBasic
  1. efx.bmx:
  2. [code]Strict
  3.  
  4. Module pub.efx
  5.  
  6. Include "efx-creative.bmx"
  7. Include "efx-util.bmx"
  8.  
  9. '/**
  10. ' * OpenAL cross platform effects extension audio library
  11. ' * Copyright (C) 2005-2006 by authors.
  12. ' * This library is free software; you can redistribute it And/Or
  13. ' *  modify it under the terms of the GNU Library General Public
  14. ' *  License as published by the Free Software Foundation; either
  15. ' *  version 2 of the License, Or (at your option) any later version.
  16. ' *
  17. ' * This library is distributed in the hope that it will be useful,
  18. ' *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. ' *  MERCHANTABILITY Or FITNESS For A PARTICULAR PURPOSE.  See the GNU
  20. ' *  Library General Public License For more details.
  21. ' *
  22. ' * Go to http://www.gnu.org/copyleft/lgpl.html
  23. ' */
  24.  
  25. Const ALC_EXT_EFX_NAME$                      =            "ALC_EXT_EFX"
  26.  
  27. '/**
  28. ' * Context definitions To be used with alcCreateContext.
  29. ' * These values must be unique And Not conflict with other
  30. ' * al context values.
  31. ' */
  32. Const ALC_EFX_MAJOR_VERSION                  =            $20001
  33. Const ALC_EFX_MINOR_VERSION                  =            $20002
  34. Const ALC_MAX_AUXILIARY_SENDS                =            $20003
  35.  
  36. '/**
  37. ' * Listener definitions To be used with alListener functions.
  38. ' * These values must be unique And Not conflict with other
  39. ' * al listener values.
  40. ' */
  41. Const AL_METERS_PER_UNIT                     =            $20004
  42.  
  43. '/**
  44. ' * Source definitions To be used with alSource functions.
  45. ' * These values must be unique And Not conflict with other
  46. ' * al source values.
  47. ' */
  48. Const AL_DIRECT_FILTER                       =            $20005
  49. Const AL_AUXILIARY_SEND_FILTER               =            $20006
  50. Const AL_AIR_ABSORPTION_FACTOR               =            $20007
  51. Const AL_ROOM_ROLLOFF_FACTOR                 =            $20008
  52. Const AL_CONE_OUTER_GAINHF                   =            $20009
  53. Const AL_DIRECT_FILTER_GAINHF_AUTO           =            $2000A
  54. Const AL_AUXILIARY_SEND_FILTER_GAIN_AUTO     =            $2000B
  55. Const AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO   =            $2000C
  56.  
  57. '/**
  58. ' * Effect Object definitions To be used with alEffect functions.
  59. ' *
  60. ' * Effect parameter value definitions, ranges, And defaults
  61. ' * appear farther down in this file.
  62. ' */
  63.  
  64. '/* Reverb Parameters */
  65. Const AL_REVERB_DENSITY                      =            $0001
  66. Const AL_REVERB_DIFFUSION                    =            $0002
  67. Const AL_REVERB_GAIN                         =            $0003
  68. Const AL_REVERB_GAINHF                       =            $0004
  69. Const AL_REVERB_DECAY_TIME                   =            $0005
  70. Const AL_REVERB_DECAY_HFRATIO                =            $0006
  71. Const AL_REVERB_REFLECTIONS_GAIN             =            $0007
  72. Const AL_REVERB_REFLECTIONS_DELAY            =            $0008
  73. Const AL_REVERB_LATE_REVERB_GAIN             =            $0009
  74. Const AL_REVERB_LATE_REVERB_DELAY            =            $000A
  75. Const AL_REVERB_AIR_ABSORPTION_GAINHF        =            $000B
  76. Const AL_REVERB_ROOM_ROLLOFF_FACTOR          =            $000C
  77. Const AL_REVERB_DECAY_HFLIMIT                =            $000D
  78.  
  79. '/* Chorus Parameters */
  80. Const AL_CHORUS_WAVEFORM                     =            $0001
  81. Const AL_CHORUS_PHASE                            =            $0002
  82. Const AL_CHORUS_RATE                         =            $0003
  83. Const AL_CHORUS_DEPTH                        =            $0004
  84. Const AL_CHORUS_FEEDBACK                     =            $0005
  85. Const AL_CHORUS_DELAY                        =            $0006
  86.  
  87. '/* Distortion Parameters */
  88. Const AL_DISTORTION_EDGE                     =            $0001
  89. Const AL_DISTORTION_GAIN                     =            $0002
  90. Const AL_DISTORTION_LOWPASS_CUTOFF           =            $0003
  91. Const AL_DISTORTION_EQCENTER                 =            $0004
  92. Const AL_DISTORTION_EQBANDWIDTH              =            $0005
  93.  
  94. '/* Echo Parameters */
  95. Const AL_ECHO_DELAY                          =            $0001
  96. Const AL_ECHO_LRDELAY                        =            $0002
  97. Const AL_ECHO_DAMPING                        =            $0003
  98. Const AL_ECHO_FEEDBACK                       =            $0004
  99. Const AL_ECHO_SPREAD                         =            $0005
  100.  
  101. '/* Flanger Parameters */
  102. Const AL_FLANGER_WAVEFORM                    =            $0001
  103. Const AL_FLANGER_PHASE                       =            $0002
  104. Const AL_FLANGER_RATE                        =            $0003
  105. Const AL_FLANGER_DEPTH                       =            $0004
  106. Const AL_FLANGER_FEEDBACK                    =            $0005
  107. Const AL_FLANGER_DELAY                       =            $0006
  108.  
  109. '/* Frequencyshifter Parameters */
  110. Const AL_FREQUENCY_SHIFTER_FREQUENCY         =            $0001
  111. Const AL_FREQUENCY_SHIFTER_LEFT_DIRECTION    =            $0002
  112. Const AL_FREQUENCY_SHIFTER_RIGHT_DIRECTION   =            $0003
  113.  
  114. '/* Vocalmorpher Parameters */
  115. Const AL_VOCAL_MORPHER_PHONEMEA                 =         $0001
  116. Const AL_VOCAL_MORPHER_PHONEMEA_COARSE_TUNING   =         $0002
  117. Const AL_VOCAL_MORPHER_PHONEMEB                 =         $0003
  118. Const AL_VOCAL_MORPHER_PHONEMEB_COARSE_TUNING   =         $0004
  119. Const AL_VOCAL_MORPHER_WAVEFORM                 =         $0005
  120. Const AL_VOCAL_MORPHER_RATE                     =         $0006
  121.  
  122. '/* Pitchshifter Parameters */
  123. Const AL_PITCH_SHIFTER_COARSE_TUNE              =         $0001
  124. Const AL_PITCH_SHIFTER_FINE_TUNE                =         $0002
  125.  
  126. '/* Ringmodulator Parameters */
  127. Const AL_RING_MODULATOR_FREQUENCY               =         $0001
  128. Const AL_RING_MODULATOR_HIGHPASS_CUTOFF         =         $0002
  129. Const AL_RING_MODULATOR_WAVEFORM                =         $0003
  130.  
  131. '/* Autowah Parameters */
  132. Const AL_AUTOWAH_ATTACK_TIME                    =         $0001
  133. Const AL_AUTOWAH_RELEASE_TIME                   =         $0002
  134. Const AL_AUTOWAH_RESONANCE                      =         $0003
  135. Const AL_AUTOWAH_PEAK_GAIN                      =         $0004
  136.  
  137. '/* Compressor Parameters */
  138. Const AL_COMPRESSOR_ONOFF                       =         $0001
  139.  
  140. '/* Equalizer Parameters */
  141. Const AL_EQUALIZER_LOW_GAIN                     =         $0001
  142. Const AL_EQUALIZER_LOW_CUTOFF                   =         $0002
  143. Const AL_EQUALIZER_MID1_GAIN                    =         $0003
  144. Const AL_EQUALIZER_MID1_CENTER                  =         $0004
  145. Const AL_EQUALIZER_MID1_WIDTH                   =         $0005
  146. Const AL_EQUALIZER_MID2_GAIN                    =         $0006
  147. Const AL_EQUALIZER_MID2_CENTER                  =         $0007
  148. Const AL_EQUALIZER_MID2_WIDTH                   =         $0008
  149. Const AL_EQUALIZER_HIGH_GAIN                    =         $0009
  150. Const AL_EQUALIZER_HIGH_CUTOFF                  =         $000A
  151.  
  152. '/* Effect Type */
  153. Const AL_EFFECT_FIRST_PARAMETER                 =         $0000
  154. Const AL_EFFECT_LAST_PARAMETER                  =         $8000
  155. Const AL_EFFECT_TYPE                            =         $8001
  156.  
  157. '/* Effect Type definitions To be used with AL_EFFECT_TYPE. */
  158. Const AL_EFFECT_NULL                            =         $0000  '/* Can also be used as an Effect Object ID */
  159. Const AL_EFFECT_REVERB                          =         $0001
  160. Const AL_EFFECT_CHORUS                          =         $0002
  161. Const AL_EFFECT_DISTORTION                      =         $0003
  162. Const AL_EFFECT_ECHO                            =         $0004
  163. Const AL_EFFECT_FLANGER                         =         $0005
  164. Const AL_EFFECT_FREQUENCY_SHIFTER               =         $0006
  165. Const AL_EFFECT_VOCAL_MORPHER                   =         $0007
  166. Const AL_EFFECT_PITCH_SHIFTER                   =         $0008
  167. Const AL_EFFECT_RING_MODULATOR                  =         $0009
  168. Const AL_EFFECT_AUTOWAH                         =         $000A
  169. Const AL_EFFECT_COMPRESSOR                      =         $000B
  170. Const AL_EFFECT_EQUALIZER                       =         $000C
  171.  
  172. '/**
  173. ' * Auxiliary Slot Object definitions To be used with alAuxiliaryEffectSlot functions.
  174. ' */
  175. Const AL_EFFECTSLOT_EFFECT                      =         $0001
  176. Const AL_EFFECTSLOT_GAIN                        =         $0002
  177. Const AL_EFFECTSLOT_AUXILIARY_SEND_AUTO         =         $0003
  178.  
  179. '/**
  180. ' * Value To be used as an Auxiliary Slot ID To disable a source send..
  181. ' */
  182. Const AL_EFFECTSLOT_NULL                        =         $0000
  183.  
  184. '/**
  185. ' * Filter Object definitions To be used with alFilter functions.
  186. ' */
  187.  
  188. '/* Lowpass parameters. */
  189. Const AL_LOWPASS_GAIN                           =         $0001
  190. Const AL_LOWPASS_GAINHF                         =         $0002
  191.  
  192. '/* Highpass Parameters */
  193. Const AL_HIGHPASS_GAIN                          =         $0001
  194. Const AL_HIGHPASS_GAINLF                        =         $0002
  195.  
  196. '/* Bandpass Parameters */
  197. Const AL_BANDPASS_GAIN                          =         $0001
  198. Const AL_BANDPASS_GAINLF                        =         $0002
  199. Const AL_BANDPASS_GAINHF                        =         $0003
  200.  
  201. '/* Filter Type */
  202. Const AL_FILTER_FIRST_PARAMETER                 =         $0000
  203. Const AL_FILTER_LAST_PARAMETER                  =         $8000
  204. Const AL_FILTER_TYPE                            =         $8001
  205.  
  206. '/* Filter Type definitions To be used with AL_FILTER_TYPE. */
  207. Const AL_FILTER_NULL                            =         $0000  '/* Can also be used as a Filter Object ID */
  208. Const   AL_FILTER_LOWPASS                       =         $0001
  209. Const AL_FILTER_HIGHPASS                        =         $0002
  210. Const AL_FILTER_BANDPASS                        =         $0003
  211.  
  212. '/**********************************************************
  213. ' * Filter ranges And defaults.
  214. ' */
  215.  
  216. '/**
  217. ' * Lowpass filter
  218. ' */
  219.  
  220. Const LOWPASS_MIN_GAIN#                        =           0.0
  221. Const LOWPASS_MAX_GAIN#                        =           1.0
  222. Const LOWPASS_DEFAULT_GAIN#                    =           1.0
  223.  
  224. Const LOWPASS_MIN_GAINHF#                      =           0.0
  225. Const LOWPASS_MAX_GAINHF#                      =           1.0
  226. Const LOWPASS_DEFAULT_GAINHF#                  =           1.0
  227.  
  228. '/**
  229. ' * Highpass filter
  230. ' */
  231.  
  232. Const HIGHPASS_MIN_GAIN#                       =           0.0
  233. Const HIGHPASS_MAX_GAIN#                       =           1.0
  234. Const HIGHPASS_DEFAULT_GAIN#                   =           1.0
  235.  
  236. Const HIGHPASS_MIN_GAINLF#                     =           0.0
  237. Const HIGHPASS_MAX_GAINLF#                     =           1.0
  238. Const HIGHPASS_DEFAULT_GAINLF#                 =           1.0
  239.  
  240. '/**
  241. ' * Bandpass filter
  242. ' */
  243.  
  244. Const BANDPASS_MIN_GAIN#                       =           0.0
  245. Const BANDPASS_MAX_GAIN#                       =           1.0
  246. Const BANDPASS_DEFAULT_GAIN#                   =           1.0
  247.  
  248. Const BANDPASS_MIN_GAINHF#                     =           0.0
  249. Const BANDPASS_MAX_GAINHF#                     =           1.0
  250. Const BANDPASS_DEFAULT_GAINHF#                 =           1.0
  251.  
  252. Const BANDPASS_MIN_GAINLF#                     =           0.0
  253. Const BANDPASS_MAX_GAINLF#                     =           1.0
  254. Const BANDPASS_DEFAULT_GAINLF#                 =           1.0
  255.  
  256. ' /**********************************************************
  257. ' * Effect parameter structures, value definitions, ranges And defaults.
  258. ' */
  259. '
  260. '/**
  261. ' * AL reverb effect parameter ranges And defaults
  262. ' */
  263. Const AL_REVERB_MIN_DENSITY#                         =     0.0
  264. Const AL_REVERB_MAX_DENSITY#                         =     1.0
  265. Const AL_REVERB_DEFAULT_DENSITY#                     =     1.0
  266.  
  267. Const AL_REVERB_MIN_DIFFUSION#                       =     0.0
  268. Const AL_REVERB_MAX_DIFFUSION#                       =     1.0
  269. Const AL_REVERB_DEFAULT_DIFFUSION#                   =     1.0
  270.  
  271. Const AL_REVERB_MIN_GAIN#                            =     0.0
  272. Const AL_REVERB_MAX_GAIN#                            =     1.0
  273. Const AL_REVERB_DEFAULT_GAIN#                        =     0.32
  274.  
  275. Const AL_REVERB_MIN_GAINHF#                          =     0.0
  276. Const AL_REVERB_MAX_GAINHF#                          =     1.0
  277. Const AL_REVERB_DEFAULT_GAINHF#                      =     0.89
  278.  
  279. Const AL_REVERB_MIN_DECAY_TIME#                      =     0.1
  280. Const AL_REVERB_MAX_DECAY_TIME#                      =     20.0
  281. Const AL_REVERB_DEFAULT_DECAY_TIME#                  =     1.49
  282.  
  283. Const AL_REVERB_MIN_DECAY_HFRATIO#                   =     0.1
  284. Const AL_REVERB_MAX_DECAY_HFRATIO#                   =     2.0
  285. Const AL_REVERB_DEFAULT_DECAY_HFRATIO#               =     0.83
  286.  
  287. Const AL_REVERB_MIN_REFLECTIONS_GAIN#                =     0.0
  288. Const AL_REVERB_MAX_REFLECTIONS_GAIN#                =     3.16
  289. Const AL_REVERB_DEFAULT_REFLECTIONS_GAIN#            =     0.05
  290.  
  291. Const AL_REVERB_MIN_REFLECTIONS_DELAY#               =     0.0
  292. Const AL_REVERB_MAX_REFLECTIONS_DELAY#               =     0.3
  293. Const AL_REVERB_DEFAULT_REFLECTIONS_DELAY#           =     0.007
  294.  
  295. Const AL_REVERB_MIN_LATE_REVERB_GAIN#                =     0.0
  296. Const AL_REVERB_MAX_LATE_REVERB_GAIN#                =     10.0
  297. Const AL_REVERB_DEFAULT_LATE_REVERB_GAIN#            =     1.26
  298.  
  299. Const AL_REVERB_MIN_LATE_REVERB_DELAY#               =     0.0
  300. Const AL_REVERB_MAX_LATE_REVERB_DELAY#               =     0.1
  301. Const AL_REVERB_DEFAULT_LATE_REVERB_DELAY#           =     0.011
  302.  
  303. Const AL_REVERB_MIN_AIR_ABSORPTION_GAINHF#           =     0.892
  304. Const AL_REVERB_MAX_AIR_ABSORPTION_GAINHF#           =     1.0
  305. Const AL_REVERB_DEFAULT_AIR_ABSORPTION_GAINHF#       =     0.994
  306.  
  307. Const AL_REVERB_MIN_ROOM_ROLLOFF_FACTOR#             =     0.0
  308. Const AL_REVERB_MAX_ROOM_ROLLOFF_FACTOR#             =     10.0
  309. Const AL_REVERB_DEFAULT_ROOM_ROLLOFF_FACTOR#         =     0.0
  310.  
  311. Const AL_REVERB_MIN_DECAY_HFLIMIT#                   =     0'AL_FALSE
  312. Const AL_REVERB_MAX_DECAY_HFLIMIT#                   =     1'AL_TRUE
  313. Const AL_REVERB_DEFAULT_DECAY_HFLIMIT#               =     1'AL_TRUE
  314.  
  315. '/**
  316. ' * AL chorus effect parameter ranges And defaults
  317. ' */
  318. Const AL_CHORUS_MIN_WAVEFORM                         =    0
  319. Const AL_CHORUS_MAX_WAVEFORM                         =    1
  320. Const AL_CHORUS_DEFAULT_WAVEFORM                     =    1
  321.  
  322. Const AL_CHORUS_WAVEFORM_SINUSOID                    =    0
  323. Const AL_CHORUS_WAVEFORM_TRIANGLE                    =    1
  324.  
  325. Const AL_CHORUS_MIN_PHASE                            =    (-180)
  326. Const AL_CHORUS_MAX_PHASE                            =    180
  327. Const AL_CHORUS_DEFAULT_PHASE                        =    90
  328.  
  329. Const AL_CHORUS_MIN_RATE#                             =    0.0
  330. Const AL_CHORUS_MAX_RATE#                             =    10.0
  331. Const AL_CHORUS_DEFAULT_RATE#                         =    1.1
  332.  
  333. Const AL_CHORUS_MIN_DEPTH#                            =    0.0
  334. Const AL_CHORUS_MAX_DEPTH#                            =    1.0
  335. Const AL_CHORUS_DEFAULT_DEPTH#                        =    0.1
  336.  
  337. Const AL_CHORUS_MIN_FEEDBACK#                         =    -1.0
  338. Const AL_CHORUS_MAX_FEEDBACK#                         =    1.0
  339. Const AL_CHORUS_DEFAULT_FEEDBACK#                     =    0.25
  340.  
  341. Const AL_CHORUS_MIN_DELAY#                            =    0.0
  342. Const AL_CHORUS_MAX_DELAY#                            =    0.016
  343. Const AL_CHORUS_DEFAULT_DELAY#                        =    0.016
  344.  
  345. '/**
  346. ' * AL distortion effect parameter ranges And defaults
  347. ' */
  348. Const AL_DISTORTION_MIN_EDGE#                         =    0.0
  349. Const AL_DISTORTION_MAX_EDGE#                         =    1.0
  350. Const AL_DISTORTION_DEFAULT_EDGE#                     =    0.2
  351.  
  352. Const AL_DISTORTION_MIN_GAIN#                         =    0.01
  353. Const AL_DISTORTION_MAX_GAIN#                         =    1.0
  354. Const AL_DISTORTION_DEFAULT_GAIN#                     =    0.05
  355.  
  356. Const AL_DISTORTION_MIN_LOWPASS_CUTOFF#               =    80.0
  357. Const AL_DISTORTION_MAX_LOWPASS_CUTOFF#               =    24000.0
  358. Const AL_DISTORTION_DEFAULT_LOWPASS_CUTOFF#           =    8000.0
  359.  
  360. Const AL_DISTORTION_MIN_EQCENTER#                     =    80.0
  361. Const AL_DISTORTION_MAX_EQCENTER#                     =    24000.0
  362. Const AL_DISTORTION_DEFAULT_EQCENTER#                 =    3600.0
  363.  
  364. Const AL_DISTORTION_MIN_EQBANDWIDTH#                  =    80.0
  365. Const AL_DISTORTION_MAX_EQBANDWIDTH#                  =    24000.0
  366. Const AL_DISTORTION_DEFAULT_EQBANDWIDTH#              =    3600.0
  367.  
  368. '/**
  369. ' * AL echo effect parameter ranges And defaults
  370. ' */
  371. Const AL_ECHO_MIN_DELAY#                              =    0.0
  372. Const AL_ECHO_MAX_DELAY#                              =    0.207
  373. Const AL_ECHO_DEFAULT_DELAY#                          =    0.1
  374.  
  375. Const AL_ECHO_MIN_LRDELAY#                            =    0.0
  376. Const AL_ECHO_MAX_LRDELAY#                            =    0.404
  377. Const AL_ECHO_DEFAULT_LRDELAY#                        =    0.1
  378.  
  379. Const AL_ECHO_MIN_DAMPING#                            =    0.0
  380. Const AL_ECHO_MAX_DAMPING#                            =    0.99
  381. Const AL_ECHO_DEFAULT_DAMPING#                        =    0.5
  382.  
  383. Const AL_ECHO_MIN_FEEDBACK#                           =    0.0
  384. Const AL_ECHO_MAX_FEEDBACK#                           =    1.0
  385. Const AL_ECHO_DEFAULT_FEEDBACK#                       =    0.5
  386.  
  387. Const AL_ECHO_MIN_SPREAD#                             =    (-1.0)
  388. Const AL_ECHO_MAX_SPREAD#                             =    1.0
  389. Const AL_ECHO_DEFAULT_SPREAD#                         =    (-1.0)
  390.  
  391. '/**
  392. ' * AL flanger effect parameter ranges And defaults
  393. ' */
  394. Const AL_FLANGER_MIN_WAVEFORM                        =    0
  395. Const AL_FLANGER_MAX_WAVEFORM                        =    1
  396. Const AL_FLANGER_DEFAULT_WAVEFORM                    =    1
  397.  
  398. Const AL_FLANGER_WAVEFORM_SINUSOID                   =    0
  399. Const AL_FLANGER_WAVEFORM_TRIANGLE                   =    1
  400.  
  401. Const AL_FLANGER_MIN_PHASE                           =    (-180)
  402. Const AL_FLANGER_MAX_PHASE                           =    180
  403. Const AL_FLANGER_DEFAULT_PHASE                       =    90
  404.  
  405. Const AL_FLANGER_MIN_RATE#                           =     0.0
  406. Const AL_FLANGER_MAX_RATE#                           =     10.0
  407. Const AL_FLANGER_DEFAULT_RATE#                       =    0.27
  408.  
  409. Const AL_FLANGER_MIN_DEPTH#                          =     0.0
  410. Const AL_FLANGER_MAX_DEPTH#                          =     1.0
  411. Const AL_FLANGER_DEFAULT_DEPTH#                      =     1.0
  412.  
  413. Const AL_FLANGER_MIN_FEEDBACK#                       =     (-1.0)
  414. Const AL_FLANGER_MAX_FEEDBACK#                       =     1.0
  415. Const AL_FLANGER_DEFAULT_FEEDBACK#                   =     (-0.5)
  416.  
  417. Const AL_FLANGER_MIN_DELAY#                          =     0.0
  418. Const AL_FLANGER_MAX_DELAY#                          =     0.004
  419. Const AL_FLANGER_DEFAULT_DELAY#                      =     0.002
  420.  
  421. '/**
  422. ' * AL frequency shifter effect parameter ranges And defaults
  423. ' */
  424. Const AL_FREQUENCY_SHIFTER_MIN_FREQUENCY#             =    0.0
  425. Const AL_FREQUENCY_SHIFTER_MAX_FREQUENCY#             =    24000.0
  426. Const AL_FREQUENCY_SHIFTER_DEFAULT_FREQUENCY#         =    0.0
  427.  
  428. Const AL_FREQUENCY_SHIFTER_MIN_LEFT_DIRECTION         =   0
  429. Const AL_FREQUENCY_SHIFTER_MAX_LEFT_DIRECTION         =   2
  430. Const AL_FREQUENCY_SHIFTER_DEFAULT_LEFT_DIRECTION     =   0
  431.  
  432. Const AL_FREQUENCY_SHIFTER_MIN_RIGHT_DIRECTION        =   0
  433. Const AL_FREQUENCY_SHIFTER_MAX_RIGHT_DIRECTION        =   2
  434. Const AL_FREQUENCY_SHIFTER_DEFAULT_RIGHT_DIRECTION    =   0
  435.  
  436. Const AL_FREQUENCY_SHIFTER_DIRECTION_DOWN             =   0
  437. Const AL_FREQUENCY_SHIFTER_DIRECTION_UP               =   1
  438. Const AL_FREQUENCY_SHIFTER_DIRECTION_OFF              =   2
  439.  
  440. '/**
  441. ' * AL vocal morpher effect parameter ranges And defaults
  442. ' */
  443. Const AL_VOCAL_MORPHER_MIN_PHONEMEA                   =   0
  444. Const AL_VOCAL_MORPHER_MAX_PHONEMEA                   =   29
  445. Const AL_VOCAL_MORPHER_DEFAULT_PHONEMEA               =   0
  446.  
  447. Const AL_VOCAL_MORPHER_MIN_PHONEMEA_COARSE_TUNING         =   -24
  448. Const AL_VOCAL_MORPHER_MAX_PHONEMEA_COARSE_TUNING         =   24
  449. Const AL_VOCAL_MORPHER_DEFAULT_PHONEMEA_COARSE_TUNING =   0
  450.  
  451. Const AL_VOCAL_MORPHER_MIN_PHONEMEB                   =   0
  452. Const AL_VOCAL_MORPHER_MAX_PHONEMEB                   =   29
  453. Const AL_VOCAL_MORPHER_DEFAULT_PHONEMEB               =   10
  454.  
  455. Const AL_VOCAL_MORPHER_PHONEME_A                   =      0
  456. Const AL_VOCAL_MORPHER_PHONEME_E                   =      1
  457. Const AL_VOCAL_MORPHER_PHONEME_I                   =      2
  458. Const AL_VOCAL_MORPHER_PHONEME_O                   =      3
  459. Const AL_VOCAL_MORPHER_PHONEME_U                   =      4
  460. Const AL_VOCAL_MORPHER_PHONEME_AA                  =      5
  461. Const AL_VOCAL_MORPHER_PHONEME_AE                  =      6
  462. Const AL_VOCAL_MORPHER_PHONEME_AH                  =      7
  463. Const AL_VOCAL_MORPHER_PHONEME_AO                  =      8
  464. Const AL_VOCAL_MORPHER_PHONEME_EH                  =      9
  465. Const AL_VOCAL_MORPHER_PHONEME_ER                  =      10
  466. Const AL_VOCAL_MORPHER_PHONEME_IH                  =      11
  467. Const AL_VOCAL_MORPHER_PHONEME_IY                  =      12
  468. Const AL_VOCAL_MORPHER_PHONEME_UH                  =      13
  469. Const AL_VOCAL_MORPHER_PHONEME_UW                  =      14
  470. Const AL_VOCAL_MORPHER_PHONEME_B                   =      15
  471. Const AL_VOCAL_MORPHER_PHONEME_D                   =      16
  472. Const AL_VOCAL_MORPHER_PHONEME_F                   =      17
  473. Const AL_VOCAL_MORPHER_PHONEME_G                   =      18
  474. Const AL_VOCAL_MORPHER_PHONEME_J                   =      19
  475. Const AL_VOCAL_MORPHER_PHONEME_K                   =      20
  476. Const AL_VOCAL_MORPHER_PHONEME_L                   =      21
  477. Const AL_VOCAL_MORPHER_PHONEME_M                   =      22
  478. Const AL_VOCAL_MORPHER_PHONEME_N                   =      23
  479. Const AL_VOCAL_MORPHER_PHONEME_P                   =      24
  480. Const AL_VOCAL_MORPHER_PHONEME_R                   =      25
  481. Const AL_VOCAL_MORPHER_PHONEME_S                   =      26
  482. Const AL_VOCAL_MORPHER_PHONEME_T                   =      27
  483. Const AL_VOCAL_MORPHER_PHONEME_V                   =      28
  484. Const AL_VOCAL_MORPHER_PHONEME_Z                   =      29
  485.  
  486. Const AL_VOCAL_MORPHER_MIN_PHONEMEB_COARSE_TUNING      =  (-24)
  487. Const AL_VOCAL_MORPHER_MAX_PHONEMEB_COARSE_TUNING      =  24
  488. Const AL_VOCAL_MORPHER_DEFAULT_PHONEMEB_COARSE_TUNING  =  0
  489.  
  490. Const AL_VOCAL_MORPHER_MIN_WAVEFORM                    =  0
  491. Const AL_VOCAL_MORPHER_MAX_WAVEFORM                    =  2
  492. Const AL_VOCAL_MORPHER_DEFAULT_WAVEFORM                =  0
  493.  
  494. Const AL_VOCAL_MORPHER_WAVEFORM_SINUSOID               =  0
  495. Const AL_VOCAL_MORPHER_WAVEFORM_TRIANGLE               =  1
  496. Const AL_VOCAL_MORPHER_WAVEFORM_SAWTOOTH               =  2
  497.  
  498. Const AL_VOCAL_MORPHER_MIN_RATE#                        =  0.0
  499. Const AL_VOCAL_MORPHER_MAX_RATE#                        =  10.0
  500. Const AL_VOCAL_MORPHER_DEFAULT_RATE#                    =  1.41
  501.  
  502. '/**
  503. ' * AL pitch shifter effect parameter ranges And defaults
  504. ' */
  505. Const AL_PITCH_SHIFTER_MIN_COARSE_TUNE           =        (-12)
  506. Const AL_PITCH_SHIFTER_MAX_COARSE_TUNE           =        12
  507. Const AL_PITCH_SHIFTER_DEFAULT_COARSE_TUNE       =        12
  508.  
  509. Const AL_PITCH_SHIFTER_MIN_FINE_TUNE             =        (-50)
  510. Const AL_PITCH_SHIFTER_MAX_FINE_TUNE             =        50
  511. Const AL_PITCH_SHIFTER_DEFAULT_FINE_TUNE         =        0
  512.  
  513. '/**
  514. ' * AL ring modulator effect parameter ranges And defaults
  515. ' */
  516. Const AL_RING_MODULATOR_MIN_FREQUENCY#               =     0.0
  517. Const AL_RING_MODULATOR_MAX_FREQUENCY#               =     8000.0
  518. Const AL_RING_MODULATOR_DEFAULT_FREQUENCY#           =     440.0
  519.  
  520. Const AL_RING_MODULATOR_MIN_HIGHPASS_CUTOFF#         =     0.0
  521. Const AL_RING_MODULATOR_MAX_HIGHPASS_CUTOFF#         =     24000.0
  522. Const AL_RING_MODULATOR_DEFAULT_HIGHPASS_CUTOFF#     =     800.0
  523.  
  524. Const AL_RING_MODULATOR_MIN_WAVEFORM                 =    0
  525. Const AL_RING_MODULATOR_MAX_WAVEFORM                 =    2
  526. Const AL_RING_MODULATOR_DEFAULT_WAVEFORM             =    0
  527.  
  528. Const AL_RING_MODULATOR_SINUSOID                     =    0
  529. Const AL_RING_MODULATOR_SAWTOOTH                     =    1
  530. Const AL_RING_MODULATOR_SQUARE                       =    2
  531.  
  532. '/**
  533. ' * AL autowah effect parameter ranges And defaults
  534. ' */
  535. Const AL_AUTOWAH_MIN_ATTACK_TIME#                    =     0.0001
  536. Const AL_AUTOWAH_MAX_ATTACK_TIME#                    =     1.0
  537. Const AL_AUTOWAH_DEFAULT_ATTACK_TIME#                =     0.06
  538.  
  539. Const AL_AUTOWAH_MIN_RELEASE_TIME#                   =     0.0001
  540. Const AL_AUTOWAH_MAX_RELEASE_TIME#                   =     1.0
  541. Const AL_AUTOWAH_DEFAULT_RELEASE_TIME#               =     0.06
  542.  
  543. Const AL_AUTOWAH_MIN_RESONANCE#                      =     2.0
  544. Const AL_AUTOWAH_MAX_RESONANCE#                      =     1000.0
  545. Const AL_AUTOWAH_DEFAULT_RESONANCE#                  =     1000.0
  546.        
  547. Const AL_AUTOWAH_MIN_PEAK_GAIN#                      =     0.00003
  548. Const AL_AUTOWAH_MAX_PEAK_GAIN#                      =     31621.0
  549. Const AL_AUTOWAH_DEFAULT_PEAK_GAIN#                  =     11.22
  550.  
  551. '/**
  552. ' * AL compressor effect parameter ranges And defaults
  553. ' */
  554. Const AL_COMPRESSOR_MIN_ONOFF                        =    0
  555. Const AL_COMPRESSOR_MAX_ONOFF                        =    1
  556. Const AL_COMPRESSOR_DEFAULT_ONOFF                    =    1
  557.  
  558. '/**
  559. ' * AL equalizer effect parameter ranges And defaults
  560. ' */
  561. Const AL_EQUALIZER_MIN_LOW_GAIN#                     =     0.126
  562. Const AL_EQUALIZER_MAX_LOW_GAIN#                     =     7.943
  563. Const AL_EQUALIZER_DEFAULT_LOW_GAIN#                 =     1.0
  564.  
  565. Const AL_EQUALIZER_MIN_LOW_CUTOFF#                   =     50.0
  566. Const AL_EQUALIZER_MAX_LOW_CUTOFF#                   =     800.0
  567. Const AL_EQUALIZER_DEFAULT_LOW_CUTOFF#               =     200.0
  568.  
  569. Const AL_EQUALIZER_MIN_MID1_GAIN#                    =     0.126
  570. Const AL_EQUALIZER_MAX_MID1_GAIN#                    =     7.943
  571. Const AL_EQUALIZER_DEFAULT_MID1_GAIN#                =     1.0
  572.  
  573. Const AL_EQUALIZER_MIN_MID1_CENTER#                  =     200.0
  574. Const AL_EQUALIZER_MAX_MID1_CENTER#                  =     3000.0
  575. Const AL_EQUALIZER_DEFAULT_MID1_CENTER#              =     500.0
  576.  
  577. Const AL_EQUALIZER_MIN_MID1_WIDTH#                   =     0.01
  578. Const AL_EQUALIZER_MAX_MID1_WIDTH#                   =     1.0
  579. Const AL_EQUALIZER_DEFAULT_MID1_WIDTH#               =     1.0
  580.  
  581. Const AL_EQUALIZER_MIN_MID2_GAIN#                    =     0.126
  582. Const AL_EQUALIZER_MAX_MID2_GAIN#                    =     7.943
  583. Const AL_EQUALIZER_DEFAULT_MID2_GAIN#                =     1.0
  584.  
  585. Const AL_EQUALIZER_MIN_MID2_CENTER#                  =     1000.0
  586. Const AL_EQUALIZER_MAX_MID2_CENTER#                  =     8000.0
  587. Const AL_EQUALIZER_DEFAULT_MID2_CENTER#              =     3000.0
  588.  
  589. Const AL_EQUALIZER_MIN_MID2_WIDTH#                   =     0.01
  590. Const AL_EQUALIZER_MAX_MID2_WIDTH#                   =     1.0
  591. Const AL_EQUALIZER_DEFAULT_MID2_WIDTH#               =     1.0
  592.  
  593. Const AL_EQUALIZER_MIN_HIGH_GAIN#                    =     0.126
  594. Const AL_EQUALIZER_MAX_HIGH_GAIN#                    =     7.943
  595. Const AL_EQUALIZER_DEFAULT_HIGH_GAIN#                =     1.0
  596.  
  597. Const AL_EQUALIZER_MIN_HIGH_CUTOFF#                  =     4000.0
  598. Const AL_EQUALIZER_MAX_HIGH_CUTOFF#                  =     16000.0
  599. Const AL_EQUALIZER_DEFAULT_HIGH_CUTOFF#              =     6000.0
  600.  
  601. '/**********************************************************
  602. ' * Source parameter value definitions, ranges And defaults.
  603. ' */
  604. Const AL_MIN_AIR_ABSORPTION_FACTOR#                  =    0.0
  605. Const AL_MAX_AIR_ABSORPTION_FACTOR#                  =    10.0
  606. Const AL_DEFAULT_AIR_ABSORPTION_FACTOR#              =    0.0
  607.  
  608. Const AL_MIN_ROOM_ROLLOFF_FACTOR#                    =    0.0
  609. Const AL_MAX_ROOM_ROLLOFF_FACTOR#                    =    10.0
  610. Const AL_DEFAULT_ROOM_ROLLOFF_FACTOR#                =    0.0
  611.  
  612. Const AL_MIN_CONE_OUTER_GAINHF#                      =    0.0
  613. Const AL_MAX_CONE_OUTER_GAINHF#                      =    1.0
  614. Const AL_DEFAULT_CONE_OUTER_GAINHF#                  =    1.0
  615.  
  616. Const AL_MIN_DIRECT_FILTER_GAINHF_AUTO               =    0'AL_FALSE
  617. Const AL_MAX_DIRECT_FILTER_GAINHF_AUTO               =    1'AL_TRUE
  618. Const AL_DEFAULT_DIRECT_FILTER_GAINHF_AUTO           =    1'AL_TRUE
  619.  
  620. Const AL_MIN_AUXILIARY_SEND_FILTER_GAIN_AUTO         =    0'AL_FALSE
  621. Const AL_MAX_AUXILIARY_SEND_FILTER_GAIN_AUTO         =    1'AL_TRUE
  622. Const AL_DEFAULT_AUXILIARY_SEND_FILTER_GAIN_AUTO     =    1'AL_TRUE
  623.  
  624. Const AL_MIN_AUXILIARY_SEND_FILTER_GAINHF_AUTO       =    0'AL_FALSE
  625. Const AL_MAX_AUXILIARY_SEND_FILTER_GAINHF_AUTO       =    1'AL_TRUE
  626. Const AL_DEFAULT_AUXILIARY_SEND_FILTER_GAINHF_AUTO   =    1'AL_TRUE
  627.  
  628. '/**********************************************************
  629. ' * Listener parameter value definitions, ranges And defaults.
  630. ' */
  631. 'Const AL_MIN_METERS_PER_UNIT                         =    'FLT_MIN
  632. 'Const AL_MAX_METERS_PER_UNIT                         =    'FLT_MAX
  633. Const AL_DEFAULT_METERS_PER_UNIT#                    =    1.0


efx-creative.bmx:
Code: [Select]
'/**
' * Effect Object definitions To be used with alEffect functions.
' *
' * Effect parameter value definitions, ranges, And defaults
' * appear farther down in this file.
' */

'/* AL EAXReverb effect parameters. */
Const AL_EAXREVERB_DENSITY                             =  $0001
Const AL_EAXREVERB_DIFFUSION                           =  $0002
Const AL_EAXREVERB_GAIN                                =  $0003
Const AL_EAXREVERB_GAINHF                              =  $0004
Const AL_EAXREVERB_GAINLF                              =  $0005
Const AL_EAXREVERB_DECAY_TIME                          =  $0006
Const AL_EAXREVERB_DECAY_HFRATIO                       =  $0007
Const AL_EAXREVERB_DECAY_LFRATIO                       =  $0008
Const AL_EAXREVERB_REFLECTIONS_GAIN                    =  $0009
Const AL_EAXREVERB_REFLECTIONS_DELAY                   =  $000A
Const AL_EAXREVERB_REFLECTIONS_PAN                     =  $000B
Const AL_EAXREVERB_LATE_REVERB_GAIN                    =  $000C
Const AL_EAXREVERB_LATE_REVERB_DELAY                   =  $000D
Const AL_EAXREVERB_LATE_REVERB_PAN                     =  $000E
Const AL_EAXREVERB_ECHO_TIME                           =  $000F
Const AL_EAXREVERB_ECHO_DEPTH                          =  $0010
Const AL_EAXREVERB_MODULATION_TIME                     =  $0011
Const AL_EAXREVERB_MODULATION_DEPTH                    =  $0012
Const AL_EAXREVERB_AIR_ABSORPTION_GAINHF               =  $0013
Const AL_EAXREVERB_HFREFERENCE                         =  $0014
Const AL_EAXREVERB_LFREFERENCE                         =  $0015
Const AL_EAXREVERB_ROOM_ROLLOFF_FACTOR                 =  $0016
Const AL_EAXREVERB_DECAY_HFLIMIT                       =  $0017

'/* Effect Type definitions To be used with AL_EFFECT_TYPE. */
Const AL_EFFECT_EAXREVERB                              =  $8000

' /**********************************************************
' * Effect parameter structures, value definitions, ranges And defaults.
' */

'/**
' * AL reverb effect parameter ranges And defaults
' */
Const AL_EAXREVERB_MIN_DENSITY#                        =   0.0
Const AL_EAXREVERB_MAX_DENSITY#                        =   1.0
Const AL_EAXREVERB_DEFAULT_DENSITY#                    =   1.0

Const AL_EAXREVERB_MIN_DIFFUSION#                      =   0.0
Const AL_EAXREVERB_MAX_DIFFUSION#                      =   1.0
Const AL_EAXREVERB_DEFAULT_DIFFUSION#                  =   1.0

Const AL_EAXREVERB_MIN_GAIN#                           =   0.0
Const AL_EAXREVERB_MAX_GAIN#                           =   1.0
Const AL_EAXREVERB_DEFAULT_GAIN#                       =   0.32

Const AL_EAXREVERB_MIN_GAINHF#                         =   0.0
Const AL_EAXREVERB_MAX_GAINHF#                         =   1.0
Const AL_EAXREVERB_DEFAULT_GAINHF#                     =   0.89

Const AL_EAXREVERB_MIN_GAINLF#                         =   0.0
Const AL_EAXREVERB_MAX_GAINLF#                         =   1.0
Const AL_EAXREVERB_DEFAULT_GAINLF#                     =   1.0

Const AL_EAXREVERB_MIN_DECAY_TIME#                     =   0.1
Const AL_EAXREVERB_MAX_DECAY_TIME#                     =   20.0
Const AL_EAXREVERB_DEFAULT_DECAY_TIME#                 =   1.49

Const AL_EAXREVERB_MIN_DECAY_HFRATIO#                  =   0.1
Const AL_EAXREVERB_MAX_DECAY_HFRATIO#                  =   2.0
Const AL_EAXREVERB_DEFAULT_DECAY_HFRATIO#              =   0.83

Const AL_EAXREVERB_MIN_DECAY_LFRATIO#                  =   0.1
Const AL_EAXREVERB_MAX_DECAY_LFRATIO#                  =   2.0
Const AL_EAXREVERB_DEFAULT_DECAY_LFRATIO#              =   1.0

Const AL_EAXREVERB_MIN_REFLECTIONS_GAIN#               =   0.0
Const AL_EAXREVERB_MAX_REFLECTIONS_GAIN#               =   3.16
Const AL_EAXREVERB_DEFAULT_REFLECTIONS_GAIN#           =   0.05

Const AL_EAXREVERB_MIN_REFLECTIONS_DELAY#              =   0.0
Const AL_EAXREVERB_MAX_REFLECTIONS_DELAY#              =   0.3
Const AL_EAXREVERB_DEFAULT_REFLECTIONS_DELAY#          =   0.007

Global AL_EAXREVERB_DEFAULT_REFLECTIONS_PAN#[]       =   [0.0, 0.0, 0.0]

Const AL_EAXREVERB_MIN_LATE_REVERB_GAIN#               =   0.0
Const AL_EAXREVERB_MAX_LATE_REVERB_GAIN#               =   10.0
Const AL_EAXREVERB_DEFAULT_LATE_REVERB_GAIN#           =   1.26

Const AL_EAXREVERB_MIN_LATE_REVERB_DELAY#              =   0.0
Const AL_EAXREVERB_MAX_LATE_REVERB_DELAY#              =   0.1
Const AL_EAXREVERB_DEFAULT_LATE_REVERB_DELAY#          =   0.011

Global AL_EAXREVERB_DEFAULT_LATE_REVERB_PAN#[]         =   [0.0, 0.0, 0.0]

Const AL_EAXREVERB_MIN_ECHO_TIME#                      =   0.075
Const AL_EAXREVERB_MAX_ECHO_TIME#                      =   0.25
Const AL_EAXREVERB_DEFAULT_ECHO_TIME#                  =   0.25

Const AL_EAXREVERB_MIN_ECHO_DEPTH#                     =   0.0
Const AL_EAXREVERB_MAX_ECHO_DEPTH#                     =   1.0
Const AL_EAXREVERB_DEFAULT_ECHO_DEPTH#                 =   0.0

Const AL_EAXREVERB_MIN_MODULATION_TIME#                =   0.04
Const AL_EAXREVERB_MAX_MODULATION_TIME#                =   4.0
Const AL_EAXREVERB_DEFAULT_MODULATION_TIME#            =   0.25

Const AL_EAXREVERB_MIN_MODULATION_DEPTH#               =   0.0
Const AL_EAXREVERB_MAX_MODULATION_DEPTH#               =   1.0
Const AL_EAXREVERB_DEFAULT_MODULATION_DEPTH#           =   0.0

Const AL_EAXREVERB_MIN_AIR_ABSORPTION_GAINHF#          =   0.892
Const AL_EAXREVERB_MAX_AIR_ABSORPTION_GAINHF#          =   1.0
Const AL_EAXREVERB_DEFAULT_AIR_ABSORPTION_GAINHF#      =   0.994

Const AL_EAXREVERB_MIN_HFREFERENCE#                    =   1000.0
Const AL_EAXREVERB_MAX_HFREFERENCE#                    =   20000.0
Const AL_EAXREVERB_DEFAULT_HFREFERENCE#                =   5000.0

Const AL_EAXREVERB_MIN_LFREFERENCE#                    =   20.0
Const AL_EAXREVERB_MAX_LFREFERENCE#                    =   1000.0
Const AL_EAXREVERB_DEFAULT_LFREFERENCE#                =   250.0

Const AL_EAXREVERB_MIN_ROOM_ROLLOFF_FACTOR#            =   0.0
Const AL_EAXREVERB_MAX_ROOM_ROLLOFF_FACTOR#            =   10.0
Const AL_EAXREVERB_DEFAULT_ROOM_ROLLOFF_FACTOR#        =   0.0

Const AL_EAXREVERB_MIN_DECAY_HFLIMIT#                  =   0'AL_FALSE
Const AL_EAXREVERB_MAX_DECAY_HFLIMIT#                  =   1'AL_TRUE
Const AL_EAXREVERB_DEFAULT_DECAY_HFLIMIT#              =   1'AL_TRUE


efx-util.bmx:
[code]'/*******************************************************************
'*                                                                   *
'*  EFX-UTIL.H - EFX Utilities functions And Reverb Presets          *
'*                                                                   *
'*               File revision 1.0                                   *
'*                                                                   *
'*******************************************************************/


Type EAXVECTOR
   Field x:Float
   Field y:Float
   Field z:Float
EndType

Type EAXREVERBPROPERTIES

    Field ulEnvironment:Int            ' unsigned
    Field flEnvironmentSize:Float
    Field flEnvironmentDiffusion:Float
    Field lRoom:Int
    Field lRoomHF:Int
    Field lRoomLF:Int
    Field flDecayTime:Float
    Field flDecayHFRatio:Float
    Field flDecayLFRatio:Float
    Field lReflections:Int
    Field flReflectionsDelay:Float
    Field vReflectionsPan:Float[3]
    Field lReverb:Int
    Field flReverbDelay:Float
    Field vReverbPan:Float[3]
    Field flEchoTime:Float
    Field flEchoDepth:Float
    Field flModulationTime:Float
    Field flModulationDepth:Float
    Field flAirAbsorptionHF:Float
    Field flHFReference:Float
    Field flLFReference:Float
    Field flRoomRolloffFactor:Float=1.0
    Field ulFlags:Int               ' unsigned

   Function Create:EAXREVERBPROPERTIES(ulEnvironment:Int,flEnvironmentSize:Float,flEnvironmentDiffusion:Float,lRoom:Int,lRoomHF:Int,lRoomLF:Int,flDecayTime:Float,flDecayHFRatio:Float,flDecayLFRatio:Float,lReflections:Int,flReflectionsDelay:Float,vReflectionsPanX:Float,vReflectionsPanY:Float,vReflectionsPanZ:Float,lReverb:Int,flReverbDelay:Float,vReverbPanX:Float,vReverbPanY:Float,vReverbPanZ:Float,flEchoTime:Float,flEchoDepth:Float,flModulationTime:Float,flModulationDepth:Float,flAirAbsorptionHF:Float,flHFReference:Float,flLFReference:Float,flRoomRolloffFactor:Float,ulFlags:Int)
      Local This:EAXREVERBPROPERTIES = New EAXREVERBPROPERTIES
       This.ulEnvironment          = ulEnvironment
       This.flEnvironmentSize       = flEnvironmentSize
       This.flEnvironmentDiffusion = flEnvironmentDiffusion
       This.lRoom                = lRoom
       This.lRoomHF             = lRoomHF
       This.lRoomLF             = lRoomLF
       This.flDecayTime          = flDecayTime
       This.flDecayHFRatio       = flDecayHFRatio
       This.flDecayLFRatio       = flDecayLFRatio
       This.lReflections          = lReflections
       This.flReflectionsDelay    = flReflectionsDelay
       This.vReflectionsPan       = [vReflectionsPanX,vReflectionsPanY,vReflectionsPanZ]
       This.lReverb             = lReverb
       This.flReverbDelay          = flReverbDelay
       This.vReverbPan          = [vReverbPanX,vReverbPanY,vReverbPanZ]
       This.flEchoTime          = flEchoTime
       This.flEchoDepth          = flEchoDepth
       This.flModulationTime       = flModulationTime
       This.flModulationDepth       = flModulationDepth
       This.flAirAbsorptionHF       = flAirAbsorptionHF
       This.flHFReference          = flHFReference
       This.flLFReference          = flLFReference
       This.flRoomRolloffFactor    = flRoomRolloffFactor
       This.ulFlags             = ulFlags
      Return This
   EndFunction
   
EndType

Type EFXEAXREVERBPROPERTIES
   Field flDensity:Float
   Field flDiffusion:Float
   Field flGain:Float
   Field flGainHF:Float
   Field flGainLF:Float
   Field flDecayTime:Float
   Field flDecayHFRatio:Float
   Field flDecayLFRatio:Float
   Field flReflectionsGain:Float
   Field flReflectionsDelay:Float
   Field flReflectionsPan:Float[3]
   Field flLateReverbGain:Float
   Field flLateReverbDelay:Float
   Field flLateReverbPan:Float[3]
   Field flEchoTime:Float
   Field flEchoDepth:Float
   Field flModulationTime:Float
   Field flModulationDepth:Float
   Field flAirAbsorptionGainHF:Float
   Field flHFReference:Float
   Field flLFReference:Float
   Field flRoomRolloffFactor:Float=1.0
   Field iDecayHFLimit:Int
EndType

Type EAXOBSTRUCTIONPROPERTIES
    Field lObstruction:Int
    Field flObstructionLFRatio:Float
EndType

Type EAXOCCLUSIONPROPERTIES
   Field lOcclusion:Int
   Field flOcclusionLFRatio:Float
   Field flOcclusionRoomRatio:Float
   Field flOcclusionDirectRatio:Float
EndType

Type EAXEXCLUSIONPROPERTIES
    Field lExclusion:Int
    Field flExclusionLFRatio:Float
EndType

Type EFXLOWPASSFILTER
   Field flGain:Float
   Field flGainHF:Float
EndType

'void ConvertReverbParameters(EAXREVERBPROPERTIES *pEAXProp, EFXEAXREVERBPROPERTIES *pEFXEAXReverb);
'void ConvertObstructionParameters(EAXOBSTRUCTIONPROPERTIES *pObProp, EFXLOWPASSFILTER *pDirectLowPassFilter);
'void ConvertExclusionParameters(EAXEXCLUSIONPROPERTIES *pExProp, EFXLOWPASSFILTER *pSendLowPassFilter);
'void ConvertOcclusionParameters(EAXOCCLUSIONPROPERTIES *pOcProp, EFXLOWPASSFILTER *pDirectLowPassFilter, EFXLOWPASSFILTER *pSendLowPassFilter);

Extern
   Function ConvertReverbParameters       (pEAXProp:Byte Ptr, pEFXEAXReverb:Byte Ptr)
   Function ConvertObstructionParameters    (pObProp:Byte Ptr,    pDirectLowPassFilter:Byte Ptr)
   Function ConvertExclusionParameters    (pExProp:Byte Ptr,    pSendLowPassFilter:Byte Ptr)
   Function ConvertOcclusionParameters    (pOcProp:Byte Ptr,    pDirectLowPassFilter:Byte Ptr, pSendLowPassFilter:Byte Ptr)
EndExtern   

'Global ConvertReverbParameters       (pEAXProp:Byte Ptr, pEFXEAXReverb:Byte Ptr)
'Global ConvertObstructionParameters (pObProp:Byte Ptr,    pDirectLowPassFilter:Byte Ptr)
'Global ConvertExclusionParameters    (pExProp:Byte Ptr,    pSendLowPassFilter:Byte Ptr)
'Global ConvertOcclusionParameters    (pOcProp:Byte Ptr,    pDirectLowPassFilter:Byte Ptr, pSendLowPassFilter:Byte Ptr)

'/***********************************************************************************************
'*
'* EAX Reverb Presets in legacy format - use ConvertReverbParameters() To convert To
'* EFX EAX Reverb Presets For use with the OpenAL Effects Extension.
'*
'************************************************************************************************/

'                                                                     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
Global REVERB_PRESET_GENERIC:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (0,      7.5,   1.000,   -1000,      -100,      0,      1.49,      0.83,      1.00,      -2602,   0.007,   0.00,0.00,0.00,   200,      0.011,   0.00,0.00,0.00,   0.250,   0.000,   0.250,   0.000,   -5.0,      5000.0,   250.0,   0.00,      $3 )
Global REVERB_PRESET_PADDEDCELL:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (1,      1.4,   1.000,   -1000,      -6000,   0,      0.17,      0.10,      1.00,      -1204,   0.001,    0.00,0.00,0.00,     207,      0.002,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,   -5.0,      5000.0,   250.0,   0.00,      $3f )
Global REVERB_PRESET_ROOM:EAXREVERBPROPERTIES             = EAXREVERBPROPERTIES.Create   (2,      1.9,   1.000,   -1000,      -454,      0,      0.40,      0.83,      1.00,     -1646,   0.002,    0.00,0.00,0.00,   53,      0.003,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,   -5.0,     5000.0,   250.0,   0.00,      $3f )
Global REVERB_PRESET_BATHROOM:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (3,      1.4,   1.000,   -1000,     -1200,   0,      1.49,      0.54,      1.00,     -370,      0.007,    0.00,0.00,0.00,   1030,      0.011,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,   -5.0,     5000.0,   250.0,   0.00,      $3f )
Global REVERB_PRESET_LIVINGROOM:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (4,      2.5,   1.000,   -1000,     -6000,   0,      0.50,      0.10,      1.00,     -1376,   0.003,    0.00,0.00,0.00,   -1104,   0.004,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,   -5.0,     5000.0,   250.0,   0.00,      $3f )
Global REVERB_PRESET_STONEROOM:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (5,      11.6,   1.000,  -1000,       -300,      0,      2.31,      0.64,      1.00,      -711,      0.012,    0.00,0.00,0.00,   83,      0.017,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,   -5.0,     5000.0,   250.0,   0.00,      $3f )
Global REVERB_PRESET_AUDITORIUM:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (6,      21.6,   1.000,  -1000,      -476,      0,      4.32,      0.59,      1.00,      -789,      0.020,    0.00,0.00,0.00,   -289,      0.030,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,   -5.0,     5000.0,   250.0,   0.00,      $3f )
Global REVERB_PRESET_CONCERTHALL:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (7,      19.6,   1.000,  -1000,      -500,      0,      3.92,      0.70,      1.00,    -1230,   0.020,    0.00,0.00,0.00,     -02,      0.029,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,    0.00,      $3f )
Global REVERB_PRESET_CAVE:EAXREVERBPROPERTIES             = EAXREVERBPROPERTIES.Create   (8,      14.6,   1.000,  -1000,      0,      0,      2.91,      1.30,      1.00,    -602,      0.015,    0.00,0.00,0.00,   -302,      0.022,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,   0.00,      $1f )
Global REVERB_PRESET_ARENA:EAXREVERBPROPERTIES             = EAXREVERBPROPERTIES.Create   (9,      36.2,   1.000,  -1000,      -698,      0,      7.24,      0.33,      1.00,    -1166,   0.020,    0.00,0.00,0.00,     16,      0.030,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,   0.00,      $3f )
Global REVERB_PRESET_HANGAR:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (10,   50.3,   1.000,  -1000,      -1000,   0,      10.05,    0.23,      1.00,    -602,      0.020,    0.00,0.00,0.00,     198,      0.030,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,    0.00,      $3f )
Global REVERB_PRESET_CARPETTEDHALLWAY:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (11,   1.9,   1.000,   -1000,      -4000,   0,      0.30,      0.10,      1.00,    -1831,   0.002,    0.00,0.00,0.00,   -1630,   0.030,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,    0.00,      $3f )
Global REVERB_PRESET_HALLWAY:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (12,   1.8,   1.000,   -1000,      -300,      0,      1.49,      0.59,      1.00,    -1219,   0.007,    0.00,0.00,0.00,     441,      0.011,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,    0.00,      $3f )
Global REVERB_PRESET_STONECORRIDOR:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (13,   13.5,   1.000,   -1000,      -237,      0,      2.70,      0.79,      1.00,    -1214,   0.013,    0.00,0.00,0.00,     395,      0.020,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,    0.00,      $3f )
Global REVERB_PRESET_ALLEY:EAXREVERBPROPERTIES             = EAXREVERBPROPERTIES.Create   (14,   7.5,   0.300,   -1000,      -270,      0,      1.49,      0.86,      1.00,    -1204,   0.007,    0.00,0.00,0.00,     -4,      0.011,   0.00,0.00,0.00,   0.125,    0.950,    0.250,    0.000,    -5.0,     5000.0,   250.0,    0.00,      $3f )
Global REVERB_PRESET_FOREST:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (15,   38.0,   0.300,   -1000,      -3300,   0,      1.49,      0.54,      1.00,     -2560,   0.162,    0.00,0.00,0.00,   -229,      0.088,   0.00,0.00,0.00,   0.125,    1.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,   0.00,      $3f )
Global REVERB_PRESET_CITY:EAXREVERBPROPERTIES             = EAXREVERBPROPERTIES.Create   (16,   7.5,   0.500,   -1000,      -800,      0,      1.49,      0.67,      1.00,     -2273,   0.007,    0.00,0.00,0.00,   -1691,   0.011,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,    0.00,      $3f )
Global REVERB_PRESET_MOUNTAINS:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (17,   100.0,    0.270,   -1000,      -2500,   0,      1.49,      0.21,      1.00,     -2780,   0.300,    0.00,0.00,0.00,   -1434,   0.100,   0.00,0.00,0.00,   0.250,    1.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,    0.00,      $1f )
Global REVERB_PRESET_QUARRY:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (18,   17.5,   1.000,   -1000,      -1000,   0,      1.49,      0.83,      1.00,      -10000,    0.061,    0.00,0.00,0.00,     500,      0.025,   0.00,0.00,0.00,   0.125,    0.700,    0.250,    0.000,    -5.0,     5000.0,   250.0,    0.00,      $3f )
Global REVERB_PRESET_PLAIN:EAXREVERBPROPERTIES             = EAXREVERBPROPERTIES.Create   (19,   42.5,   0.210,   -1000,      -2000,   0,      1.49,      0.50,      1.00,    -2466,   0.179,    0.00,0.00,0.00,   -1926,   0.100,   0.00,0.00,0.00,   0.250,    1.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,    0.00,      $3f )
Global REVERB_PRESET_PARKINGLOT:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (20,   8.3,   1.000,   -1000,      0,      0,      1.65,      1.50,      1.00,     -1363,   0.008,    0.00,0.00,0.00,   -1153,   0.012,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,    0.00,      $1f )
Global REVERB_PRESET_SEWERPIPE:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (21,   1.7,   0.800,   -1000,      -1000,   0,      2.81,      0.14,      1.00,      429,      0.014,    0.00,0.00,0.00,   1023,      0.021,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,    0.00,      $3f )
Global REVERB_PRESET_UNDERWATER:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (22,   1.8,   1.000,   -1000,     -4000,   0,      1.49,      0.10,      1.00,     -449,      0.007,    0.00,0.00,0.00,   1700,      0.011,   0.00,0.00,0.00,   0.250,    0.000,    1.180,    0.348,    -5.0,     5000.0,   250.0,    0.00,      $3f )
Global REVERB_PRESET_DRUGGED:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (23,   1.9,   0.500,   -1000,      0,      0,      8.39,      1.39,      1.00,     -115,      0.002,    0.00,0.00,0.00,     985,      0.030,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    1.000,    -5.0,     5000.0,   250.0,    0.00,      $1f )
Global REVERB_PRESET_DIZZY:EAXREVERBPROPERTIES             = EAXREVERBPROPERTIES.Create   (24,   1.8,   0.600,   -1000,      -400,      0,      17.23,    0.56,      1.00,     -1713,   0.020,    0.00,0.00,0.00,   -613,      0.030,   0.00,0.00,0.00,   0.250,    1.000,    0.810,    0.310,    -5.0,     5000.0,   250.0,    0.00,      $1f )
Global REVERB_PRESET_PSYCHOTIC:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (25,   1.0,   0.500,   -1000,      -151,      0,      7.56,      0.91,      1.00,     -626,      0.020,    0.00,0.00,0.00,     774,      0.030,   0.00,0.00,0.00,   0.250,    0.000,    4.000,    1.000,    -5.0,     5000.0,   250.0,    0.00,      $1f )

' CASTLE PRESETS
'                                                                        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
Global REVERB_PRESET_CASTLE_SMALLROOM:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      8.3,   0.890,   -1000,   -800,      -2000,   1.22,      0.83,      0.31,      -100,      0.022,    0.00,0.00,0.00,   600,      0.011,   0.00,0.00,0.00,   0.138,   0.080,   0.250,   0.000,   -5.0,      5168.6,   139.5,     0.00,    $20 )
Global REVERB_PRESET_CASTLE_SHORTPASSAGE:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,      8.3,   0.890,    -1000,     -1000,     -2000,     2.32,      0.83,      0.31,      -100,      0.007,    0.00,0.00,0.00,     200,      0.023,   0.00,0.00,0.00,   0.138,    0.080,    0.250,    0.000,    -5.0,     5168.6,   139.5,     0.00,    $20 )
Global REVERB_PRESET_CASTLE_MEDIUMROOM:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      8.3,   0.930,    -1000,     -1100,     -2000,     2.04,      0.83,      0.46,     -400,      0.022,    0.00,0.00,0.00,   400,      0.011,   0.00,0.00,0.00,   0.155,    0.030,    0.250,    0.000,    -5.0,     5168.6,   139.5,     0.00,    $20 )
Global REVERB_PRESET_CASTLE_LONGPASSAGE:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,      8.3,   0.890,    -1000,     -800,      -2000,     3.42,      0.83,      0.31,     -100,      0.007,    0.00,0.00,0.00,   300,      0.023,   0.00,0.00,0.00,   0.138,    0.080,    0.250,    0.000,    -5.0,     5168.6,   139.5,     0.00,    $20 )
Global REVERB_PRESET_CASTLE_LARGEROOM:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      8.3,   0.820,    -1000,     -1100,     -1800,     2.53,      0.83,      0.50,     -700,      0.034,    0.00,0.00,0.00,   200,      0.016,   0.00,0.00,0.00,   0.185,    0.070,    0.250,    0.000,    -5.0,     5168.6,   139.5,     0.00,    $20 )
Global REVERB_PRESET_CASTLE_HALL:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (26,      8.3,   0.810,    -1000,     -1100,     -1500,     3.14,      0.79,      0.62,     -1500,   0.056,    0.00,0.00,0.00,   100,      0.024,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5168.6,   139.5,     0.00,    $20 )
Global REVERB_PRESET_CASTLE_CUPBOARD:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      8.3,   0.890,    -1000,     -1100,     -2000,     0.67,      0.87,      0.31,     300,      0.010,    0.00,0.00,0.00,   1100,      0.007,   0.00,0.00,0.00,   0.138,    0.080,    0.250,    0.000,    -5.0,     5168.6,   139.5,     0.00,    $20 )
Global REVERB_PRESET_CASTLE_COURTYARD:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      8.3,   0.420,    -1000,     -700,      -1400,   2.13,      0.61,      0.23,     -1300,   0.160,    0.00,0.00,0.00,   -300,      0.036,   0.00,0.00,0.00,   0.250,    0.370,    0.250,    0.000,    -5.0,    5000.0,   250.0,     0.00,    $1f )
Global REVERB_PRESET_CASTLE_ALCOVE:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (26,      8.3,   0.890,   -1000,     -600,      -2000,     1.64,      0.87,      0.31,     00,      0.007,    0.00,0.00,0.00,   300,      0.034,   0.00,0.00,0.00,   0.138,    0.080,    0.250,    0.000,    -5.0,      5168.6,   139.5,     0.00,    $20 )

' FACTORY PRESETS
'                                                                        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
Global REVERB_PRESET_FACTORY_ALCOVE:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      1.8,   0.590,  -1200,    -200,      -600,      3.14,      0.65,      1.31,     300,      0.010,    0.00,0.00,0.00,   000,      0.038,   0.00,0.00,0.00,   0.114,    0.100,    0.250,    0.000,    -5.0,     3762.6,   362.5,     0.00,    $20 )
Global REVERB_PRESET_FACTORY_SHORTPASSAGE:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,      1.8,   0.640,  -1200,    -200,      -600,      2.53,      0.65,      1.31,     0,      0.010,    0.00,0.00,0.00,   200,      0.038,   0.00,0.00,0.00,   0.135,    0.230,    0.250,    0.000,    -5.0,     3762.6,   362.5,     0.00,    $20 )
Global REVERB_PRESET_FACTORY_MEDIUMROOM:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,      1.9,   0.820,  -1200,    -200,      -600,      2.76,      0.65,      1.31,     -1100,   0.022,    0.00,0.00,0.00,   300,      0.023,   0.00,0.00,0.00,   0.174,    0.070,    0.250,    0.000,    -5.0,     3762.6,   362.5,     0.00,    $20 )
Global REVERB_PRESET_FACTORY_LONGPASSAGE:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,      1.8,   0.640,  -1200,    -200,      -600,      4.06,      0.65,      1.31,     0,      0.020,    0.00,0.00,0.00,   200,      0.037,   0.00,0.00,0.00,   0.135,    0.230,    0.250,    0.000,    -5.0,     3762.6,   362.5,     0.00,    $20 )
Global REVERB_PRESET_FACTORY_LARGEROOM:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      1.9,   0.750,  -1200,    -300,      -400,      4.24,      0.51,      1.31,     -1500,   0.039,    0.00,0.00,0.00,   100,      0.023,   0.00,0.00,0.00,   0.231,    0.070,    0.250,    0.000,    -5.0,     3762.6,   362.5,     0.00,    $20 )
Global REVERB_PRESET_FACTORY_HALL:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (26,      1.9,   0.750,  -1000,    -300,      -400,      7.43,      0.51,      1.31,     -2400,   0.073,    0.00,0.00,0.00,   -100,      0.027,   0.00,0.00,0.00,   0.250,    0.070,    0.250,    0.000,    -5.0,     3762.6,   362.5,     0.00,    $20 )
Global REVERB_PRESET_FACTORY_CUPBOARD:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      1.7,   0.630,  -1200,    -200,      -600,      0.49,      0.65,      1.31,     200,      0.010,    0.00,0.00,0.00,   600,      0.032,   0.00,0.00,0.00,   0.107,    0.070,    0.250,    0.000,    -5.0,     3762.6,   362.5,     0.00,    $20 )
Global REVERB_PRESET_FACTORY_COURTYARD:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      1.7,   0.570,  -1000,    -1000,     -400,      2.32,      0.29,      0.56,     -1300,   0.140,    0.00,0.00,0.00,   -800,      0.039,   0.00,0.00,0.00,   0.250,    0.290,    0.250,    0.000,    -5.0,     3762.6,   362.5,     0.00,    $20 )
Global REVERB_PRESET_FACTORY_SMALLROOM:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      1.8,   0.820,  -1000,   -200,      -600,      1.72,      0.65,      1.31,     -300,      0.010,    0.00,0.00,0.00,   500,      0.024,   0.00,0.00,0.00,   0.119,    0.070,    0.250,    0.000,    -5.0,      3762.6,   362.5,     0.00,    $20 )

' ICE PALACE PRESETS
'                                                                        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
Global REVERB_PRESET_ICEPALACE_ALCOVE:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,   2.7,      0.840,    -1000,     -500,      -1100,     2.76,      1.46,      0.28,     100,      0.010,    0.00,0.00,0.00,   -100,      0.030,   0.00,0.00,0.00,   0.161,    0.090,    0.250,    0.000,   -5.0,      12428.5,   99.6,     0.00,      $20 )
Global REVERB_PRESET_ICEPALACE_SHORTPASSAGE:EAXREVERBPROPERTIES = EAXREVERBPROPERTIES.Create   (26,   2.7,      0.750,    -1000,     -500,      -1100,     1.79,      1.46,      0.28,     -600,      0.010,    0.00,0.00,0.00,   100,      0.019,   0.00,0.00,0.00,   0.177,    0.090,    0.250,    0.000,    -5.0,      12428.5,   99.6,     0.00,      $20 )
Global REVERB_PRESET_ICEPALACE_MEDIUMROOM:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,   2.7,      0.870,    -1000,     -500,      -700,      2.22,      1.53,      0.32,     -800,      0.039,    0.00,0.00,0.00,   100,      0.027,   0.00,0.00,0.00,   0.186,    0.120,    0.250,    0.000,    -5.0,      12428.5,   99.6,     0.00,      $20 )
Global REVERB_PRESET_ICEPALACE_LONGPASSAGE:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,   2.7,      0.770,    -1000,     -500,      -800,      3.01,      1.46,      0.28,     -200,      0.012,    0.00,0.00,0.00,   200,      0.025,   0.00,0.00,0.00,   0.186,    0.040,    0.250,    0.000,    -5.0,      12428.5,   99.6,     0.00,      $20 )
Global REVERB_PRESET_ICEPALACE_LARGEROOM:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,   2.9,      0.810,    -1000,     -500,      -700,      3.14,      1.53,      0.32,     -1200,   0.039,    0.00,0.00,0.00,   000,      0.027,   0.00,0.00,0.00,   0.214,    0.110,    0.250,    0.000,    -5.0,      12428.5,   99.6,     0.00,      $20 )
Global REVERB_PRESET_ICEPALACE_HALL:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,   2.9,      0.760,    -1000,     -700,      -500,      5.49,      1.53,      0.38,     -1900,   0.054,    0.00,0.00,0.00,   -400,      0.052,   0.00,0.00,0.00,   0.226,    0.110,    0.250,    0.000,    -5.0,      12428.5,   99.6,     0.00,      $20 )
Global REVERB_PRESET_ICEPALACE_CUPBOARD:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,   2.7,      0.830,    -1000,     -600,      -1300,     0.76,      1.53,      0.26,     100,      0.012,    0.00,0.00,0.00,   600,      0.016,   0.00,0.00,0.00,   0.143,    0.080,    0.250,    0.000,    -5.0,      12428.5,   99.6,     0.00,      $20 )
Global REVERB_PRESET_ICEPALACE_COURTYARD:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,   2.9,      0.590,    -1000,     -1100,     -1000,     2.04,      1.20,      0.38,     -1000,   0.173,    0.00,0.00,0.00,   -1000,   0.043,   0.00,0.00,0.00,   0.235,    0.480,    0.250,    0.000,    -5.0,      12428.5,   99.6,     0.00,      $20 )
Global REVERB_PRESET_ICEPALACE_SMALLROOM:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,   2.7,      0.840,    -1000,     -500,      -1100,     1.51,      1.53,      0.27,      -100,      0.010,    0.00,0.00,0.00,   300,      0.011,   0.00,0.00,0.00,   0.164,    0.140,    0.250,    0.000,    -5.0,      12428.5,   99.6,     0.00,      $20 )

' SPACE STATION PRESETS
'                                                                           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
Global REVERB_PRESET_SPACESTATION_ALCOVE:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      1.5,   0.780,    -1000,  -300,      -100,      1.16,      0.81,      0.55,     300,      0.007,    0.00,0.00,0.00,   000,      0.018,   0.00,0.00,0.00,   0.192,    0.210,    0.250,    0.000,   -5.0,     3316.1,   458.2,     0.00,    $20 )
Global REVERB_PRESET_SPACESTATION_MEDIUMROOM:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,      1.5,   0.750,    -1000,  -400,      -100,      3.01,      0.50,      0.55,     -800,      0.034,    0.00,0.00,0.00,   100,      0.035,   0.00,0.00,0.00,   0.209,    0.310,    0.250,    0.000,   -5.0,     3316.1,   458.2,     0.00,    $20 )
Global REVERB_PRESET_SPACESTATION_SHORTPASSAGE:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,      1.5,   0.870,    -1000,  -400,      -100,      3.57,      0.50,      0.55,     0,      0.012,    0.00,0.00,0.00,   100,      0.016,   0.00,0.00,0.00,   0.172,    0.200,    0.250,    0.000,    -5.0,     3316.1,   458.2,     0.00,    $20 )
Global REVERB_PRESET_SPACESTATION_LONGPASSAGE:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,      1.9,   0.820,    -1000,  -400,      -100,      4.62,      0.62,      0.55,     0,      0.012,    0.00,0.00,0.00,   200,      0.031,   0.00,0.00,0.00,   0.250,    0.230,    0.250,    0.000,    -5.0,     3316.1,   458.2,     0.00,    $20 )
Global REVERB_PRESET_SPACESTATION_LARGEROOM:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,      1.8,   0.810,    -1000,  -400,      -100,      3.89,      0.38,      0.61,     -1000,   0.056,    0.00,0.00,0.00,   -100,      0.035,   0.00,0.00,0.00,   0.233,    0.280,    0.250,    0.000,    -5.0,     3316.1,   458.2,     0.00,    $20 )
Global REVERB_PRESET_SPACESTATION_HALL:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (26,      1.9,   0.870,    -1000,  -400,      -100,      7.11,      0.38,      0.61,     -1500,   0.100,    0.00,0.00,0.00,   -400,      0.047,   0.00,0.00,0.00,   0.250,    0.250,    0.250,    0.000,    -5.0,     3316.1,   458.2,     0.00,    $20 )
Global REVERB_PRESET_SPACESTATION_CUPBOARD:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      1.4,   0.560,    -1000,  -300,      -100,      0.79,      0.81,      0.55,     300,      0.007,    0.00,0.00,0.00,   500,      0.018,   0.00,0.00,0.00,   0.181,    0.310,    0.250,    0.000,    -5.0,     3316.1,   458.2,     0.00,    $20 )
Global REVERB_PRESET_SPACESTATION_SMALLROOM:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,      1.5,   0.700,    -1000,  -300,      -100,      1.72,      0.82,      0.55,      -200,      0.007,    0.00,0.00,0.00,   300,      0.013,   0.00,0.00,0.00,   0.188,    0.260,    0.250,    0.000,    -5.0,     3316.1,   458.2,     0.00,    $20 )

' WOODEN GALLEON PRESETS
'                                                                        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
Global REVERB_PRESET_WOODEN_ALCOVE:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (26,   7.5,      1.000,    -1000,     -1800,    -1000,     1.22,      0.62,      0.91,      100,      0.012,    0.00,0.00,0.00,   -300,      0.024,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     4705.0,   99.6,     0.00,      $3f )
Global REVERB_PRESET_WOODEN_SHORTPASSAGE:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,   7.5,      1.000,    -1000,     -1800,     -1000,     1.75,      0.50,      0.87,      -100,      0.012,    0.00,0.00,0.00,   -400,      0.024,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     4705.0,   99.6,     0.00,      $3f )
Global REVERB_PRESET_WOODEN_MEDIUMROOM:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,   7.5,      1.000,    -1000,     -2000,     -1100,     1.47,      0.42,      0.82,      -100,      0.049,    0.00,0.00,0.00,   -100,      0.029,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     4705.0,   99.6,     0.00,      $3f )
Global REVERB_PRESET_WOODEN_LONGPASSAGE:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,   7.5,      1.000,    -1000,     -2000,     -1000,     1.99,      0.40,      0.79,      000,      0.020,    0.00,0.00,0.00,   -700,      0.036,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     4705.0,   99.6,     0.00,      $3f )
Global REVERB_PRESET_WOODEN_LARGEROOM:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,   7.5,      1.000,    -1000,     -2100,     -1100,     2.65,      0.33,      0.82,      -100,      0.066,    0.00,0.00,0.00,   -200,      0.049,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     4705.0,   99.6,     0.00,      $3f )
Global REVERB_PRESET_WOODEN_HALL:EAXREVERBPROPERTIES          = EAXREVERBPROPERTIES.Create   (26,   7.5,      1.000,    -1000,     -2200,     -1100,     3.45,      0.30,      0.82,      -100,      0.088,    0.00,0.00,0.00,   -200,      0.063,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     4705.0,   99.6,     0.00,      $3f )
Global REVERB_PRESET_WOODEN_CUPBOARD:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,   7.5,      1.000,    -1000,     -1700,     -1000,     0.56,      0.46,      0.91,      100,      0.012,    0.00,0.00,0.00,   100,      0.028,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     4705.0,   99.6,     0.00,      $3f )
Global REVERB_PRESET_WOODEN_SMALLROOM:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,   7.5,      1.000,    -1000,     -1900,     -1000,     0.79,      0.32,      0.87,      00,      0.032,    0.00,0.00,0.00,   -100,      0.029,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     4705.0,   99.6,     0.00,      $3f )
Global REVERB_PRESET_WOODEN_COURTYARD:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,   7.5,      0.650,    -1000,     -2200,     -1000,     1.79,      0.35,      0.79,      -500,      0.123,    0.00,0.00,0.00,   -2000,   0.032,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     4705.0,   99.6,     0.00,      $3f )

' SPORTS PRESETS
'                                                                        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
Global REVERB_PRESET_SPORT_EMPTYSTADIUM:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,      7.2,   1.000,    -1000,     -700,      -200,      6.26,      0.51,      1.10,     -2400,   0.183,    0.00,0.00,0.00,   -800,      0.038,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,     0.00,    $20 )
Global REVERB_PRESET_SPORT_SQUASHCOURT:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      7.5,   0.750,    -1000,     -1000,     -200,      2.22,      0.91,      1.16,     -700,      0.007,    0.00,0.00,0.00,   -200,      0.011,   0.00,0.00,0.00,   0.126,    0.190,    0.250,    0.000,    -5.0,     7176.9,   211.2,     0.00,    $20 )
Global REVERB_PRESET_SPORT_SMALLSWIMMINGPOOL:EAXREVERBPROPERTIES= EAXREVERBPROPERTIES.Create   (26,     36.2,   0.700,    -1000,     -200,      -100,      2.76,      1.25,      1.14,     -400,      0.020,    0.00,0.00,0.00,   -200,      0.030,   0.00,0.00,0.00,   0.179,    0.150,    0.895,    0.190,    -5.0,     5000.0,   250.0,     0.00,    $0  )
Global REVERB_PRESET_SPORT_LARGESWIMMINGPOOL:EAXREVERBPROPERTIES= EAXREVERBPROPERTIES.Create   (26,     36.2,   0.820,    -1000,     -200,      0,      5.49,      1.31,      1.14,     -700,      0.039,    0.00,0.00,0.00,   -600,      0.049,   0.00,0.00,0.00,   0.222,    0.550,    1.159,    0.210,    -5.0,     5000.0,   250.0,     0.00,    $0  )
Global REVERB_PRESET_SPORT_GYMNASIUM:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      7.5,   0.810,    -1000,     -700,      -100,      3.14,      1.06,      1.35,     -800,      0.029,    0.00,0.00,0.00,   -500,      0.045,   0.00,0.00,0.00,   0.146,    0.140,    0.250,    0.000,    -5.0,     7176.9,   211.2,     0.00,    $20 )
Global REVERB_PRESET_SPORT_FULLSTADIUM:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      7.2,   1.000,    -1000,     -2300,     -200,      5.25,      0.17,      0.80,     -2000,   0.188,    0.00,0.00,0.00,   -1100,   0.038,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,     0.00,    $20 )
Global REVERB_PRESET_SPORT_STADIUMTANNOY:EAXREVERBPROPERTIES    = EAXREVERBPROPERTIES.Create   (26,      3.0,   0.780,    -1000,      -500,      -600,      2.53,      0.88,      0.68,     -1100,   0.230,    0.00,0.00,0.00,   -600,      0.063,   0.00,0.00,0.00,   0.250,    0.200,    0.250,    0.000,    -5.0,     5000.0,   250.0,     0.00,    $20 )

' PREFAB PRESETS
'                                                                        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
Global REVERB_PRESET_PREFAB_WORKSHOP:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      1.9,   1.000,    -1000,     -1700,     -800,      0.76,      1.00,      1.00,      0,      0.012,    0.00,0.00,0.00,   100,      0.012,   0.00,0.00,0.00,   0.250,    0.000,    0.250,    0.000,    -5.0,     5000.0,   250.0,     0.00,    $0  )
Global REVERB_PRESET_PREFAB_SCHOOLROOM:EAXREVERBPROPERTIES       = EAXREVERBPROPERTIES.Create   (26,      1.86,   0.690,    -1000,     -400,      -600,      0.98,      0.45,      0.18,     300,      0.017,    0.00,0.00,0.00,     300,      

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal