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

Threshold frequency for the filter, in Hz.

int db = 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.

float gain = 1.0

Gain amount of the frequencies after the filter.

float resonance = 0.5

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

Constants

FILTER_6DB = 0

Enum: FilterDB

Cutting off at 6dB per octave.

FILTER_12DB = 1

Enum: FilterDB

Cutting off at 12dB per octave.

FILTER_18DB = 2

Enum: FilterDB

Cutting off at 18dB per octave.

FILTER_24DB = 3

Enum: FilterDB

Cutting off at 24dB per octave.

Tutorials

Source revision 5592dc3a7a61
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.