Garry's Mod Wiki

Player:SetDSP

  Player:SetDSP( number dspEffectId, boolean fastReset )

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 CSoundPatch:SetDSP

Arguments

1 number dspEffectId
The index of the DSP sound filter to apply.

For a list of the available IDs and their meaning, see DSP Presets.

2 boolean fastReset
If set to true the sound filter will be removed faster.
This only works clientside
If used serverside, a message will be displayed (SetPlayerDSP: fastReset only valid from client) in the server console.