Player::setVoiceFxParamEq: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "==Syntax== <pre> player.setVoiceFxParamEq(fxHandle, { fCenter, fBandwidth, fGain }); </pre> ===Required Arguments=== *'''fxHandle:''' The effect handle. *'''fCen...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
   
   
===Required Arguments===
===Required Arguments===
*'''fxHandle:''' The effect handle.
*'''fxHandle:''' {{RageType|int}} The effect handle.
*'''fCenter:''' Bandwidth, in semitones, in the range from 1 to 36. Default 18 semitones.
*'''fCenter:''' {{RageType|float}} Bandwidth, in semitones, in the range from 1 to 36. Default 18 semitones.
*'''fBandwidth:''' Center frequency, in hertz, in the range from 80 to 16000. This value cannot exceed one-third of the frequency of the channel. Default 100 Hz.
*'''fBandwidth:''' {{RageType|float}} Center frequency, in hertz, in the range from 80 to 16000. This value cannot exceed one-third of the frequency of the channel. Default 100 Hz.
*'''fGain:''' Gain, in the range from -15 to 15. Default 0 dB.
*'''fGain:''' {{RageType|float}} Gain, in the range from -15 to 15. Default 0 dB.
 
==See also==
{{VoiceFx_definition_c}}


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

Latest revision as of 08:33, 10 November 2024

Syntax

player.setVoiceFxParamEq(fxHandle, {
    fCenter,
    fBandwidth,
    fGain
});

Required Arguments

  • fxHandle: int The effect handle.
  • fCenter: float Bandwidth, in semitones, in the range from 1 to 36. Default 18 semitones.
  • fBandwidth: float Center frequency, in hertz, in the range from 80 to 16000. This value cannot exceed one-third of the frequency of the channel. Default 100 Hz.
  • fGain: float Gain, in the range from -15 to 15. Default 0 dB.

See also