Distortion power. Value can range from 0 to 1.
High-pass filter, in Hz. Frequencies higher than this value will not be affected by the distortion. Value can range from 1 to 20000.
Distortion type.
Increases or decreases the volume after the effect. Value can range from -80 to 24.
Increases or decreases the volume before the effect. Value can range from -60 to 60.
Construct a new instance of AudioEffectDistortion. Note: use memnew!AudioEffectDistortion instead.
Adds a distortion audio effect to an Audio bus. Modify the sound to make it distorted.
Different types are available: clip, tan, lo-fi (bit crushing), overdrive, or waveshape. By distorting the waveform the frequency content change, which will often make the sound "crunchy" or "abrasive". For games, it can simulate sound coming from some saturated device or speaker very efficiently.