Player::setVoiceFx

From RAGE Multiplayer Wiki
Revision as of 18:11, 17 October 2022 by Ufteers (talk | contribs) (See also)

Syntax

player.setVoiceFx(fxType, priority);

Required Arguments

  • fxType: One of the following types of effect (see BASSFXType)
  • priority: The priority of the new FX, which determines it's position in the DSP chain - DSP/FX with higher priority are applied before those with lower. This parameter has no effect with DX8 effects when the "with FX flag" DX8 effect implementation is used.

BASSFXType

const BASSFXType = {
    BASS_FX_DX8_CHORUS: 0,
    BASS_FX_DX8_COMPRESSOR: 1,
    BASS_FX_DX8_DISTORTION: 2,
    BASS_FX_DX8_ECHO: 3,
    BASS_FX_DX8_FLANGER: 4,
    BASS_FX_DX8_GARGLE: 5,
    BASS_FX_DX8_I3DL2REVERB: 6,
    BASS_FX_DX8_PARAMEQ: 7,
    BASS_FX_DX8_REVERB: 8,
    BASS_FX_VOLUME: 9,

    // bassfx.dll
    BASS_FX_BFX_PEAKEQ: 65540,
    BASS_FX_BFX_BQF: 65555
};

See also

Player::setVoiceFxChorus
Player::setVoiceFxCompressor
Player::setVoiceFxDistortion
Player::setVoiceFxEcho
Player::setVoiceFxFlanger
Player::setVoiceFxGargle
Player::setVoiceFxI3DL2Reverb
Player::setVoiceFxParamEq
Player::setVoiceFxReverb
Player::setVoiceFxVolume
Player::setVoiceFxPeakEq
Player::setVoiceFxBQF