; Include this file to your project to get access to the following two functions:
; FMOD_GetErrorString() returns a string describing the overgiven Error-ID
; FMOD_SetReverbEnvironment() (by KarLKoX) sets the structure to the overgiven standard-reverb-type.
; This way of using the presets differs from C++ because PB has no 'Array-Constants'

Declare.s FMOD_GetErrorString(errcode.l)
Declare   FMOD_SetReverbEnvironnement(reverbType.l, *props.FSOUND_REVERB_PROPERTIES)

Procedure.s FMOD_GetErrorString(errcode.l)
  Protected ret.s
  Select errcode
    Case #FMOD_ERR_NONE
      ret.s = "No errors"
    Case #FMOD_ERR_BUSY
      ret.s = "Cannot call this command after FSOUND_Init.  Call FSOUND_Close first."
    Case #FMOD_ERR_UNINITIALIZED
      ret.s = "This command failed because FSOUND_Init was not called"
    Case #FMOD_ERR_PLAY
      ret.s = "Playing the sound failed."
    Case #FMOD_ERR_INIT
      ret.s = "Error initializing output device."
    Case #FMOD_ERR_ALLOCATED
      ret.s = "The output device is already in use and cannot be reused."
    Case #FMOD_ERR_OUTPUT_FORMAT
      ret.s = "Soundcard does not support the features needed for this soundsystem (16bit stereo output)"
    Case #FMOD_ERR_COOPERATIVELEVEL
      ret.s = "Error setting cooperative level for hardware."
    Case #FMOD_ERR_CREATEBUFFER
      ret.s = "Error creating hardware sound buffer."
    Case #FMOD_ERR_FILE_NOTFOUND
      ret.s = "File not found"
    Case #FMOD_ERR_FILE_FORMAT
      ret.s = "Unknown file format"
    Case #FMOD_ERR_FILE_BAD
      ret.s = "Error loading file"
    Case #FMOD_ERR_MEMORY
      ret.s = "Not enough memory "
    Case #FMOD_ERR_VERSION
      ret.s = "The version number of this file format is not supported"
    Case #FMOD_ERR_INVALID_PARAM
      ret.s = "An invalid parameter was passed to this function"
    Case #FMOD_ERR_NO_EAX
      ret.s = "Tried to use an EAX command on a non EAX enabled channel or output."
    Case #FMOD_ERR_CHANNEL_ALLOC
      ret.s = "Failed to allocate a new channel"
    Case #FMOD_ERR_RECORD
      ret.s = "Recording not supported on this device"
    Case #FMOD_ERR_MEDIAPLAYER
      ret.s = "Required Mediaplayer codec is not installed"
    Case #FMOD_ERR_CDDEVICE
      ret.s = "An error occured trying to open the specified CD device"
    Default
      ret.s = "Unknown error"
  EndSelect
  ProcedureReturn ret
EndProcedure

; define some constants used only by the next function.
Enumeration ; FSOUND_REVERB_PROPERTIES
  #FSOUND_PRESET_OFF
  #FSOUND_PRESET_GENERIC
  #FSOUND_PRESET_PADDEDCELL
  #FSOUND_PRESET_ROOM
  #FSOUND_PRESET_BATHROOM
  #FSOUND_PRESET_LIVINGROOM
  #FSOUND_PRESET_STONEROOM
  #FSOUND_PRESET_AUDITORIUM
  #FSOUND_PRESET_CONCERTHALL
  #FSOUND_PRESET_CAVE
  #FSOUND_PRESET_ARENA
  #FSOUND_PRESET_HANGAR
  #FSOUND_PRESET_CARPETTEDHALLWAY
  #FSOUND_PRESET_HALLWAY
  #FSOUND_PRESET_STONECORRIDOR
  #FSOUND_PRESET_ALLEY
  #FSOUND_PRESET_FOREST
  #FSOUND_PRESET_CITY
  #FSOUND_PRESET_MOUNTAINS
  #FSOUND_PRESET_QUARRY
  #FSOUND_PRESET_PLAIN
  #FSOUND_PRESET_PARKINGLOT
  #FSOUND_PRESET_SEWERPIPE
  #FSOUND_PRESET_UNDERWATER
  ; Non I3DL2 presets :
  #FSOUND_PRESET_DRUGGED
  #FSOUND_PRESET_DIZZY
  #FSOUND_PRESET_PSYCHOTIC
EndEnumeration

Procedure FMOD_SetReverbEnvironnement(reverbType.l, *props.FSOUND_REVERB_PROPERTIES)

     Select reverbType
          Case #FSOUND_PRESET_OFF
               *props\Environment        = 0       : *props\EnvSize             = 7.5 : *props\EnvDiffusion        = 1.00 : *props\Room               = -10000  : *props\RoomHF          = -10000
               *props\RoomLF             = 0       : *props\DecayTime           = 1.00: *props\DecayHFRatio        = 1.00 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -2602
               *props\ReflectionsDelay   = 0.007   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 200
               *props\ReverbDelay        = 0.011   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 0.0  : *props\Density            = 0.0     : *props\flags           = $3

          Case #FSOUND_PRESET_GENERIC
               *props\Environment        = 0       : *props\EnvSize             = 7.5 : *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -100
               *props\RoomLF             = 0       : *props\DecayTime           = 1.49: *props\DecayHFRatio        = 0.83 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -2602
               *props\ReflectionsDelay   = 0.007   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 200
               *props\ReverbDelay        = 0.011   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3

          Case #FSOUND_PRESET_PADDEDCELL
               *props\Environment        = 1       : *props\EnvSize             = 1.4 : *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -6000
               *props\RoomLF             = 0       : *props\DecayTime           = 0.17: *props\DecayHFRatio        = 0.10 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -1204
               *props\ReflectionsDelay   = 0.001   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 207
               *props\ReverbDelay        = 0.002   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3

          Case #FSOUND_PRESET_ROOM
               *props\Environment        = 2       : *props\EnvSize             = 1.9 : *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -454
               *props\RoomLF             = 0       : *props\DecayTime           = 0.40: *props\DecayHFRatio        = 0.83 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -1646
               *props\ReflectionsDelay   = 0.002   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 53
               *props\ReverbDelay        = 0.003   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3

          Case #FSOUND_PRESET_BATHROOM
               *props\Environment        = 3       : *props\EnvSize             = 1.4 : *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -1200
               *props\RoomLF             = 0       : *props\DecayTime           = 1.49: *props\DecayHFRatio        = 0.54 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -370
               *props\ReflectionsDelay   = 0.007   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 1030
               *props\ReverbDelay        = 0.011   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 60.0    : *props\flags           = $3

          Case #FSOUND_PRESET_LIVINGROOM
               *props\Environment        = 4       : *props\EnvSize             = 2.5 : *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -6000
               *props\RoomLF             = 0       : *props\DecayTime           = 0.50: *props\DecayHFRatio        = 0.10 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -1376
               *props\ReflectionsDelay   = 0.003   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = -1104
               *props\ReverbDelay        = 0.004   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3

          Case #FSOUND_PRESET_STONEROOM
               *props\Environment        = 5       : *props\EnvSize             = 11.6: *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -300
               *props\RoomLF             = 0       : *props\DecayTime           = 2.31: *props\DecayHFRatio        = 0.64 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -711
               *props\ReflectionsDelay   = 0.012   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 83
               *props\ReverbDelay        = 0.017   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3

          Case #FSOUND_PRESET_AUDITORIUM
               *props\Environment        = 6       : *props\EnvSize             = 21.6: *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -476
               *props\RoomLF             = 0       : *props\DecayTime           = 4.32: *props\DecayHFRatio        = 0.59 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -789
               *props\ReflectionsDelay   = 0.020   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = -289
               *props\ReverbDelay        = 0.030   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3
               
          Case #FSOUND_PRESET_CONCERTHALL
               *props\Environment        = 7       : *props\EnvSize             = 19.6: *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -500
               *props\RoomLF             = 0       : *props\DecayTime           = 3.92: *props\DecayHFRatio        = 0.70 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -1230
               *props\ReflectionsDelay   = 0.020   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = -2
               *props\ReverbDelay        = 0.029   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3
               
          Case #FSOUND_PRESET_CAVE
               *props\Environment        = 8       : *props\EnvSize             = 14.6: *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = 0
               *props\RoomLF             = 0       : *props\DecayTime           = 2.91: *props\DecayHFRatio        = 1.30 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -602
               *props\ReflectionsDelay   = 0.015   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = -302
               *props\ReverbDelay        = 0.022   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $1
               
          Case #FSOUND_PRESET_ARENA                    
               *props\Environment        = 9       : *props\EnvSize             = 36.2: *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -698
               *props\RoomLF             = 0       : *props\DecayTime           = 7.24: *props\DecayHFRatio        = 0.33 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -1166
               *props\ReflectionsDelay   = 0.020   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 16
               *props\ReverbDelay        = 0.030   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3

          Case #FSOUND_PRESET_HANGAR
               *props\Environment        = 10      : *props\EnvSize             = 50.3: *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -1000
               *props\RoomLF             = 0       : *props\DecayTime           =10.05: *props\DecayHFRatio        = 0.23 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -602
               *props\ReflectionsDelay   = 0.020   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 198
               *props\ReverbDelay        = 0.030   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3
               
          Case #FSOUND_PRESET_CARPETTEDHALLWAY
               *props\Environment        = 11      : *props\EnvSize             = 1.9 : *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -4000
               *props\RoomLF             = 0       : *props\DecayTime           = 0.30: *props\DecayHFRatio        = 0.10 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -1831
               *props\ReflectionsDelay   = 0.002   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = -1630
               *props\ReverbDelay        = 0.030   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3                         
               
          Case #FSOUND_PRESET_HALLWAY
               *props\Environment        = 12      : *props\EnvSize             = 1.8 : *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -300
               *props\RoomLF             = 0       : *props\DecayTime           = 1.49: *props\DecayHFRatio        = 0.59 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -1219
               *props\ReflectionsDelay   = 0.007   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 441
               *props\ReverbDelay        = 0.011   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3                                                  

          Case #FSOUND_PRESET_STONECORRIDOR               
               *props\Environment        = 13      : *props\EnvSize             =13.5 : *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -237
               *props\RoomLF             = 0       : *props\DecayTime           = 2.70: *props\DecayHFRatio        = 0.79 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -1214
               *props\ReflectionsDelay   = 0.013   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 395
               *props\ReverbDelay        = 0.020   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3                                                            
               
          Case #FSOUND_PRESET_ALLEY
               *props\Environment        = 14      : *props\EnvSize             = 7.5 : *props\EnvDiffusion        = 0.30 : *props\Room               = -1000   : *props\RoomHF          = -270
               *props\RoomLF             = 0       : *props\DecayTime           = 1.49: *props\DecayHFRatio        = 0.86 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -1204
               *props\ReflectionsDelay   = 0.007   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = -4
               *props\ReverbDelay        = 0.011   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.125
               *props\EchoDepth          = 0.95    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3

          Case #FSOUND_PRESET_FOREST
               *props\Environment        = 15      : *props\EnvSize             =38.0 : *props\EnvDiffusion        = 0.30 : *props\Room               = -1000   : *props\RoomHF          = -3300
               *props\RoomLF             = 0       : *props\DecayTime           = 1.49: *props\DecayHFRatio        = 0.54 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -2560
               *props\ReflectionsDelay   = 0.162   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = -229
               *props\ReverbDelay        = 0.088   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.125
               *props\EchoDepth          = 1.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           =  79.0: *props\Density            = 100.0   : *props\flags           = $3
               
          Case #FSOUND_PRESET_CITY
               *props\Environment        = 16      : *props\EnvSize             = 7.5 : *props\EnvDiffusion        = 0.50 : *props\Room               = -1000   : *props\RoomHF          = -800
               *props\RoomLF             = 0       : *props\DecayTime           = 1.49: *props\DecayHFRatio        = 0.67 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -2273
               *props\ReflectionsDelay   = 0.007   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = -1691
               *props\ReverbDelay        = 0.011   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           =  50.0: *props\Density            = 100.0   : *props\flags           = $3
               
          Case #FSOUND_PRESET_MOUNTAINS               
               *props\Environment        = 17      : *props\EnvSize             =100.0: *props\EnvDiffusion        = 0.27 : *props\Room               = -1000   : *props\RoomHF          = -2500
               *props\RoomLF             = 0       : *props\DecayTime           = 1.49: *props\DecayHFRatio        = 0.21 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -2780
               *props\ReflectionsDelay   = 0.300   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = -1434
               *props\ReverbDelay        = 0.100   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 1.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           =  27.0: *props\Density            = 100.0   : *props\flags           = $1

          Case #FSOUND_PRESET_QUARRY
               *props\Environment        = 18      : *props\EnvSize             = 17.5: *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -1000
               *props\RoomLF             = 0       : *props\DecayTime           = 1.49: *props\DecayHFRatio        = 0.83 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -10000
               *props\ReflectionsDelay   = 0.061   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 500
               *props\ReverbDelay        = 0.025   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.125
               *props\EchoDepth          = 0.70    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3

          Case #FSOUND_PRESET_PLAIN
               *props\Environment        = 19      : *props\EnvSize             = 42.5: *props\EnvDiffusion        = 0.21 : *props\Room               = -1000   : *props\RoomHF          = -2000
               *props\RoomLF             = 0       : *props\DecayTime           = 1.49: *props\DecayHFRatio        = 0.50 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -2466
               *props\ReflectionsDelay   = 0.179   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = -1926
               *props\ReverbDelay        = 0.100   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 1.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           =  21.0: *props\Density            = 100.0   : *props\flags           = $3

          Case #FSOUND_PRESET_PARKINGLOT               
               *props\Environment        = 20      : *props\EnvSize             = 8.3 : *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = 0
               *props\RoomLF             = 0       : *props\DecayTime           = 1.65: *props\DecayHFRatio        = 1.50 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -1363
               *props\ReflectionsDelay   = 0.008   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = -1153
               *props\ReverbDelay        = 0.012   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $1
               
          Case #FSOUND_PRESET_SEWERPIPE
               *props\Environment        = 21      : *props\EnvSize             = 1.7 : *props\EnvDiffusion        = 0.80 : *props\Room               = -1000   : *props\RoomHF          = -1000
               *props\RoomLF             = 0       : *props\DecayTime           = 2.81: *props\DecayHFRatio        = 0.14 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = 429
               *props\ReflectionsDelay   = 0.014   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 1023
               *props\ReverbDelay        = 0.021   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 0.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           =  80.0: *props\Density            =  60.0   : *props\flags           = $3
               
          Case #FSOUND_PRESET_UNDERWATER
               *props\Environment        = 22      : *props\EnvSize             = 1.8 : *props\EnvDiffusion        = 1.00 : *props\Room               = -1000   : *props\RoomHF          = -4000
               *props\RoomLF             = 0       : *props\DecayTime           = 1.49: *props\DecayHFRatio        = 0.10 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -449
               *props\ReflectionsDelay   = 0.007   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 1700
               *props\ReverbDelay        = 0.011   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 1.18: *props\ModulationDepth     = 0.348: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $3

          ; Non I3DL2 presets :
               
          Case #FSOUND_PRESET_DRUGGED
               *props\Environment        = 23      : *props\EnvSize             = 1.9 : *props\EnvDiffusion        = 0.50 : *props\Room               = -1000   : *props\RoomHF          = 0
               *props\RoomLF             = 0       : *props\DecayTime           = 8.39: *props\DecayHFRatio        = 1.39 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -115
               *props\ReflectionsDelay   = 0.002   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 985
               *props\ReverbDelay        = 0.030   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 0.25: *props\ModulationDepth     = 1.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $1

          Case #FSOUND_PRESET_DIZZY
               *props\Environment        = 24      : *props\EnvSize             = 1.8 : *props\EnvDiffusion        = 0.60 : *props\Room               = -1000   : *props\RoomHF          = -400
               *props\RoomLF             = 0       : *props\DecayTime           =17.23: *props\DecayHFRatio        = 0.56 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -1713
               *props\ReflectionsDelay   = 0.020   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = -613
               *props\ReverbDelay        = 0.030   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 1.00    : *props\ModulationTime      = 0.81: *props\ModulationDepth     = 0.310: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $1          
                                                                                                                                                                     
          Case #FSOUND_PRESET_PSYCHOTIC
               *props\Environment        = 25      : *props\EnvSize             = 1.0 : *props\EnvDiffusion        = 0.50 : *props\Room               = -1000   : *props\RoomHF          = -151
               *props\RoomLF             = 0       : *props\DecayTime           = 7.56: *props\DecayHFRatio        = 0.91 : *props\DecayLFRatio       = 1.0     : *props\Reflections     = -626
               *props\ReflectionsDelay   = 0.020   : *props\ReflectionsPan[0]   = 0.0 : *props\ReflectionsPan[1]   = 0.0  : *props\ReflectionsPan[2]  = 0.0     : *props\Reverb          = 774
               *props\ReverbDelay        = 0.030   : *props\ReverbPan[0]        = 0.0 : *props\ReverbPan[1]        = 0.0  : *props\ReverbPan[2]       = 0.0     : *props\EchoTime        = 0.250
               *props\EchoDepth          = 0.00    : *props\ModulationTime      = 4.00: *props\ModulationDepth     = 1.000: *props\AirAbsorptionHF    = -5.0    : *props\HFReference     = 5000.0
               *props\LFReference        = 250.0   : *props\RoomRolloffFactor   = 0.0 : *props\Diffusion           = 100.0: *props\Density            = 100.0   : *props\flags           = $1
                                   
     EndSelect
     
EndProcedure 
; jaPBe Version=1.4.1.31
; FoldLines=00080037003A005700590138
; Build=0
; FirstLine=0
; CursorPosition=8
; ExecutableFormat=Windows
; DontSaveDeclare
; EOF