AudioEffectFilter

Inherits: AudioEffect < Resource < Reference < Object

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

Category: Core

Brief Description

Adds a filter to the audio bus.

Properties

float cutoff_hz 2000.0
FilterDB db 0
float gain 1.0
float resonance 0.5

Enumerations

enum FilterDB:

  • FILTER_6DB = 0
  • FILTER_12DB = 1
  • FILTER_18DB = 2
  • FILTER_24DB = 3

Description

Allows frequencies other than the cutoff_hz to pass.

Property Descriptions

Default 2000.0
Setter set_cutoff(value)
Getter get_cutoff()

Threshold frequency for the filter, in Hz.

Default 0
Setter set_db(value)
Getter get_db()
Default 1.0
Setter set_gain(value)
Getter get_gain()

Gain amount of the frequencies after the filter.

Default 0.5
Setter set_resonance(value)
Getter get_resonance()

Amount of boost in the overtones near the cutoff frequency.