AudioEffectFilter

Inherits:AudioEffect<Resource<RefCounted<Object

Inherited By:AudioEffectBandLimitFilter,AudioEffectBandPassFilter,AudioEffectHighPassFilter,AudioEffectHighShelfFilter,AudioEffectLowPassFilter,AudioEffectLowShelfFilter,AudioEffectNotchFilter

Adds a filter to the audio bus.

Description

Allows frequencies other than thecutoff_hz to pass.

Tutorials

Properties

float

cutoff_hz

2000.0

FilterDB

db

0

float

gain

1.0

float

resonance

0.5


Enumerations

enumFilterDB:🔗

FilterDBFILTER_6DB =0

Cutting off at 6dB per octave.

FilterDBFILTER_12DB =1

Cutting off at 12dB per octave.

FilterDBFILTER_18DB =2

Cutting off at 18dB per octave.

FilterDBFILTER_24DB =3

Cutting off at 24dB per octave.


Property Descriptions

floatcutoff_hz =2000.0🔗

Threshold frequency for the filter, in Hz.


FilterDBdb =0🔗

Steepness of the cutoff curve in dB per octave, also known as the order of the filter. Higher orders have a more aggressive cutoff.


floatgain =1.0🔗

Gain amount of the frequencies after the filter.


floatresonance =0.5🔗

Amount of boost in the frequency range near the cutoff frequency.


User-contributed notes

Please read theUser-contributed notes policy before submitting a comment.