Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

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 the cutoff_hz to pass.

Tutorials

Properties

float

cutoff_hz

2000.0

FilterDB

db

0

float

gain

1.0

float

resonance

0.5


Enumerations

enum FilterDB:

FilterDB FILTER_6DB = 0

FilterDB FILTER_12DB = 1

FilterDB FILTER_18DB = 2

FilterDB FILTER_24DB = 3


Property Descriptions

float cutoff_hz = 2000.0

  • void set_cutoff ( float value )