Microsoft DirectX 8.1 (Visual Basic)

DSFXI3DL2REVERB

The DSFXI3DL2REVERB type contains parameters for an I3DL2 (Interactive 3D Audio Level 2) reverberation effect.

Syntax

Type DSFXI3DL2REVERB
  fDecayHFRatio As Single
  fDecayTime As Single
  fDensity As Single
  fDiffusion As Single
  fHFReference As Single
  fReflectionsDelay As Single
  fReverbDelay As Single
  fRoomRolloffFactor As Single
  lReflections As Long
  lReverb As Long
  lRoom As Long
  lRoomHF As Long
End Type

Members

fDecayHFRatio

Ratio of the decay time at high frequencies to the decay time at low frequencies, in the range 0.1 to 2. The default value is 0.83.

fDecayTime

Decay time, in the range 0.1 to 20 seconds. The default value is 1.49 seconds.

fDensity

Modal density in the late reverberation decay. The default value is 100.0 percent. Minimum and maximum values are defined in the CONST_DSFX_I3DL2REVERB_DENSITY enumeration.

fDiffusion

Echo density in the late reverberation decay. The default value is 100.0 percent. Minimum and maximum values are defined in the CONST_DSFX_I3DL2REVERB_DIFFUSION enumeration.

fHFReference

Reference high frequency. The default value is 5000.0 Hz. Minimum and maximum values are defined in the CONST_DSFX_I3DL2REVERB_HFREFERENCE enumeration.

fReflectionsDelay

Delay time of the first reflection relative to the direct path, in the range 0 to 0.3 seconds. The default value is 0.007 seconds.

fReverbDelay

Time limit between the early reflections and the late reverberation relative to the time of the first reflection, in the range 0 to 0.1 seconds. The default value is 0.011 seconds.

fRoomRolloffFactor

Rolloff factor for the reflected signals. The default value is 0.0. Minimum and maximum values are defined in the CONST_DSFX_I3DL2REVERB_ROOMROLLOFFFACTOR enumeration. The rolloff factor for the direct path is controlled by the DirectSound listener.

lReflections

Attenuation of early reflections relative to lRoom. The default value is -2602 mB. Minimum and maximum values are defined in the CONST_DSFX_I3DL2REVERB_REFLECTIONS enumeration.

lReverb

Attenuation of late reverberation relative to lRoom. The default value is -200 mB. Minimum and maximum values are defined in the CONST_DSFX_I3DL2REVERB_REVERB enumeration.

lRoom

Attenuation of the room effect. The default value is -1000 mB. Minimum and maximum values are defined in the CONST_DSFX_I3DL2REVERB_ROOM enumeration.

lRoomHF

Attenuation of the room high-frequency effect. The default value is -100 mB. Minimum and maximum values are defined in the CONST_DSFX_I3DL2REVERB_ROOMHF enumeration.