Revision Difference
Player:SetDSP#562509
<function name="SetDSP" parent="Player" type="classfunc">
<description> Applies the specified sound filter to the player.</description>⤶
<description>⤶
Activates a given DSP (Digital Signal Processor) effect on all sounds that the player hears.⤶
⤶
To apply a DSP effect to individual sounds, see <page>CSoundPatch:SetDSP</page>⤶
</description>⤶
<realm>Shared</realm>
<args>
<arg name="soundFilter" type="number">The index of the sound filter to apply.⤶
Pick from the <page>DSP Presets</page>.</arg>⤶
<arg name="fastReset" type="boolean">If set to true the sound filter will be removed faster.
⤶
<note>**This only works clientside**. If used serverside, a message will be displayed (`SetPlayerDSP: fastReset only valid from client`) in the server console.</note></arg>⤶
<arg name="dspEffectId" type="number">⤶
The index of the DSP sound filter to apply.⤶
⤶
For a list of the available IDs and their meaning, see <page text="DSP Presets">DSP_Presets</page>.
</arg>⤶
<arg name="fastReset" type="boolean">⤶
If set to true the sound filter will be removed faster.⤶
<note>⤶
**This only works clientside** ⤶
If used serverside, a message will be displayed (`SetPlayerDSP: fastReset only valid from client`) in the server console.⤶
</note>⤶
</arg>⤶
</args>
</function>