Garry's Mod Wiki

Revision Difference

CSoundPatch:GetDSP#562507

<function name="GetDSP" parent="CSoundPatch" type="classfunc"> <description>Returns the DSP ( Digital Signal Processor ) effect for the sound.</description> <description>Returns the DSP (Digital Signal Processor) effect ID for the sound.</description> <realm>Shared</realm> <rets> <ret name="" type="number">The DSP effects of the sound⤶ List of DSP's are Pick from the [here](https://developer.valvesoftware.com/wiki/Dsp_presets).</ret>⤶ <ret name="dspEffectId" type="number">⤶ The numerical ID for the DSP effect currently enabled on the sound.⤶ For a list of the available IDs and their meaning, see <page text="DSP Presets">DSP_Presets</page>.⤶ </ret>⤶ </rets> </function>