<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Player%3A%3AsetVoiceFx</id>
	<title>Player::setVoiceFx - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Player%3A%3AsetVoiceFx"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Player::setVoiceFx&amp;action=history"/>
	<updated>2026-07-24T17:15:12Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Player::setVoiceFx&amp;diff=12350&amp;oldid=prev</id>
		<title>imported&gt;Ufteers: fix lib name</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Player::setVoiceFx&amp;diff=12350&amp;oldid=prev"/>
		<updated>2022-10-17T19:48:48Z</updated>

		<summary type="html">&lt;p&gt;fix lib name&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sets an effect on a voice stream.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
player.setVoiceFx(fxType, priority);&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;fxType:&amp;#039;&amp;#039;&amp;#039; {{RageType|int}} One of the following types of effect (see BASSFXType)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;priority:&amp;#039;&amp;#039;&amp;#039; {{RageType|int}} The priority of the new FX, which determines it&amp;#039;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 &amp;quot;with FX flag&amp;quot; DX8 effect implementation is used.&lt;br /&gt;
&lt;br /&gt;
==BASSFXType==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
const BASSFXType = {&lt;br /&gt;
    BASS_FX_DX8_CHORUS: 0,&lt;br /&gt;
    BASS_FX_DX8_COMPRESSOR: 1,&lt;br /&gt;
    BASS_FX_DX8_DISTORTION: 2,&lt;br /&gt;
    BASS_FX_DX8_ECHO: 3,&lt;br /&gt;
    BASS_FX_DX8_FLANGER: 4,&lt;br /&gt;
    BASS_FX_DX8_GARGLE: 5,&lt;br /&gt;
    BASS_FX_DX8_I3DL2REVERB: 6,&lt;br /&gt;
    BASS_FX_DX8_PARAMEQ: 7,&lt;br /&gt;
    BASS_FX_DX8_REVERB: 8,&lt;br /&gt;
    BASS_FX_VOLUME: 9,&lt;br /&gt;
&lt;br /&gt;
    // bass_fx.dll&lt;br /&gt;
    BASS_FX_BFX_PEAKEQ: 65540,&lt;br /&gt;
    BASS_FX_BFX_BQF: 65555&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{ClientsideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Simple walkie talkie (radio) effect&lt;br /&gt;
const bassBfxBqfLowpass = 0;&lt;br /&gt;
const bassBfxBqfHighpass = 1;&lt;br /&gt;
const bassBfxChannelAll = -1;&lt;br /&gt;
&lt;br /&gt;
const bfqHandle = player.setVoiceFx(BASSFXType.BASS_FX_BFX_BQF, 0);&lt;br /&gt;
const peakEqHandle = player.setVoiceFx(BASSFXType.BASS_FX_BFX_PEAKEQ, 0);&lt;br /&gt;
&lt;br /&gt;
player.setVoiceFxBQF(bfqHandle, {&lt;br /&gt;
    lFilter: bassBfxBqfHighpass,&lt;br /&gt;
    fCenter: 900.0,&lt;br /&gt;
    fGain: 0.0, &lt;br /&gt;
    fBandwidth: 0.86, &lt;br /&gt;
    fQ: 0.0, &lt;br /&gt;
    fS: 0.0, &lt;br /&gt;
    lChannel: bassBfxChannelAll&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
player.setVoiceFxBQF(bfqHandle, {&lt;br /&gt;
    lFilter: bassBfxBqfLowpass,&lt;br /&gt;
    fCenter: 1400.0,&lt;br /&gt;
    fGain: 0.0,&lt;br /&gt;
    fBandwidth: 0.83,&lt;br /&gt;
    fQ: 0.0,&lt;br /&gt;
    fS: 0.0,&lt;br /&gt;
    lChannel: bassBfxChannelAll&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
player.setVoiceFxPeakEq(peakEqHandle, {&lt;br /&gt;
    lBand: 0,&lt;br /&gt;
    fBandwidth: 13.0, &lt;br /&gt;
    fQ: 1070.0, &lt;br /&gt;
    fCenter: 0.0, &lt;br /&gt;
    fGain: 0.3, &lt;br /&gt;
    lChannel: bassBfxChannelAll&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
player.setVoiceFxPeakEq(peakEqHandle, {&lt;br /&gt;
    lBand: 1,&lt;br /&gt;
    fBandwidth: 13.0,&lt;br /&gt;
    fQ: 1300.0,&lt;br /&gt;
    fCenter: 0.0,&lt;br /&gt;
    fGain: 0.4,&lt;br /&gt;
    lChannel: bassBfxChannelAll&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also== &lt;br /&gt;
[[Player::removeVoiceFx]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Player::resetVoiceFx]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Player::setVoiceFxChorus]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Player::setVoiceFxCompressor]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Player::setVoiceFxDistortion]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Player::setVoiceFxEcho]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Player::setVoiceFxFlanger]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Player::setVoiceFxGargle]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Player::setVoiceFxI3DL2Reverb]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Player::setVoiceFxParamEq]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Player::setVoiceFxReverb]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Player::setVoiceFxVolume]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Player::setVoiceFxPeakEq]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Player::setVoiceFxBQF]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Ufteers</name></author>
	</entry>
</feed>