Player::setVoiceFxReverb: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "==Syntax== <pre> player.setVoiceFxReverb(fxHandle, { fInGain, fReverbMix, fReverbTime, fHighFreqRTRatio }); </pre> ===Required Arguments=== *'''fxHandle:'''...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
   
   
===Required Arguments===
===Required Arguments===
*'''fxHandle:''' The effect handle.
*'''fxHandle:''' {{RageType|int}} The effect handle.
*'''fInGain:''' Input gain of signal, in decibels (dB), in the range from -96 through 0. The default value is 0 dB.
*'''fInGain:''' {{RageType|float}} Input gain of signal, in decibels (dB), in the range from -96 through 0. The default value is 0 dB.
*'''fReverbMix:''' Reverb mix, in dB, in the range from -96 through 0. The default value is 0 dB.
*'''fReverbMix:''' {{RageType|float}} Reverb mix, in dB, in the range from -96 through 0. The default value is 0 dB.
*'''fReverbTime:''' Reverb time, in milliseconds, in the range from 0.001 through 3000. The default value is 1000.
*'''fReverbTime:''' {{RageType|float}} Reverb time, in milliseconds, in the range from 0.001 through 3000. The default value is 1000.
*'''fHighFreqRTRatio:''' In the range from 0.001 through 0.999. The default value is 0.001.
*'''fHighFreqRTRatio:''' {{RageType|float}} In the range from 0.001 through 0.999. The default value is 0.001.
 
==See also==
{{VoiceFx_definition_c}}


[[Category:Clientside API]]
[[Category:Clientside API]]

Latest revision as of 08:33, 10 November 2024

Syntax

player.setVoiceFxReverb(fxHandle, {
    fInGain,
    fReverbMix,
    fReverbTime,
    fHighFreqRTRatio
});

Required Arguments

  • fxHandle: int The effect handle.
  • fInGain: float Input gain of signal, in decibels (dB), in the range from -96 through 0. The default value is 0 dB.
  • fReverbMix: float Reverb mix, in dB, in the range from -96 through 0. The default value is 0 dB.
  • fReverbTime: float Reverb time, in milliseconds, in the range from 0.001 through 3000. The default value is 1000.
  • fHighFreqRTRatio: float In the range from 0.001 through 0.999. The default value is 0.001.

See also