Skip to main content

Player::setVoiceFxI3DL2Reverb

Syntax

``` player.setVoiceFxI3DL2Reverb(fxHandle, {

   lRoom,
   lRoomHF,
   flRoomRolloffFactor,
   flDecayTime,
   flDecayHFRatio,
   lReflections,
   flReflectionsDelay,
   lReverb,
   flReverbDelay,
   flDiffusion,
   flDensity,
   flHFReference

}); ```

Required Arguments

  • fxHandle: The effect handle.
  • lRoom: Attenuation of the room effect, in millibels (mB), in the range from -10000 to 0. The default value is -1000 mB.
  • lRoomHF: Attenuation of the room high-frequency effect, in mB, in the range from -10000 to 0. The default value is 0 mB.
  • flRoomRolloffFactor: Rolloff factor for the reflected signals, in the range from 0 to 10. The default value is 0.0.
  • flDecayTime: Decay time, in seconds, in the range from 0.1 to 20. The default value is 1.49 second.
  • flDecayHFRatio: Ratio of the decay time at high frequencies to the decay time at low frequencies, in the range from 0.1 to 2. The default value is 0.83.
  • lReflections: Attenuation of early reflections relative to lRoom, in mB, in the range from -10000 to 1000. The default value is -2602 mB.
  • flReflectionsDelay: Delay time of the first reflection relative to the direct path, in seconds, in the range from 0 to 0.3. The default value is 0.007 seconds.
  • lReverb: Attenuation of late reverberation relative to lRoom, in mB, in the range from -10000 to 2000. The default value is 200 mB.
  • flReverbDelay: Time limit between the early reflections and the late reverberation relative to the time of the first reflection, in seconds, in the range from 0 to 0.1. The default value is 0.011 seconds.
  • flDiffusion: Echo density in the late reverberation decay, in percent, in the range from 0 to 100. The default value is 100.0 percent.
  • flDensity: Modal density in the late reverberation decay, in percent, in the range from 0 to 100. The default value is 100.0 percent.
  • flHFReference: Reference high frequency, in hertz, in the range from 20 to 20000. The default value is 5000.0 Hz.

See also