Garry's Mod Wiki

Revision Difference

CSoundPatch:SetDSP#546756

<function name="SetDSP" parent="CSoundPatch" type="classfunc"> <description> Sets the DSP (Digital Signal Processor) effect for the sound. Similar to <page>Player:SetDSP</page> but for individual sounds. ⤶ <bug issue="4086">This will only apply if the sound is not playing.</bug>⤶ </description>⤶ ⤶ </description>⤶ <realm>Shared</realm> <args> <arg name="dsp" type="number">The DSP effect to set. Pick from the [list of DSP's](https://developer.valvesoftware.com/wiki/Dsp_presets)</arg> </args> </function>