Player::setVoiceFxParamEq: Difference between revisions
(Created page with "==Syntax== <pre> player.setVoiceFxParamEq(fxHandle, { fCenter, fBandwidth, fGain }); </pre> ===Required Arguments=== *'''fxHandle:''' The effect handle. *'''fCen...") |
(types) |
||
| 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. | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
Revision as of 18:38, 17 October 2022
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.