Class reference
AudioEffectFilter
Inherits AudioEffect
Adds a filter to the audio bus.
Description
Allows frequencies other than the cutoff_hz to pass.
Properties
float cutoff_hz = 2000.0
float cutoff_hz = 2000.0Threshold frequency for the filter, in Hz.
int db = 0
int db = 0Steepness of the cutoff curve in dB per octave, also known as the order of the filter. Higher orders have a more aggressive cutoff.
float gain = 1.0
float gain = 1.0Gain amount of the frequencies after the filter.
float resonance = 0.5
float resonance = 0.5Amount of boost in the frequency range near the cutoff frequency.
Constants
FILTER_6DB = 0
Cutting off at 6dB per octave.
FILTER_12DB = 1
Cutting off at 12dB per octave.
FILTER_18DB = 2
Cutting off at 18dB per octave.
FILTER_24DB = 3
Cutting off at 24dB per octave.