Player::setVoiceFxReverb: Difference between revisions
(Created page with "==Syntax== <pre> player.setVoiceFxReverb(fxHandle, { fInGain, fReverbMix, fReverbTime, fHighFreqRTRatio }); </pre> ===Required Arguments=== *'''fxHandle:'''...") |
(types) |
||
| 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. | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
Revision as of 18:39, 17 October 2022
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.