AudioEffectFilter

Inherits: AudioEffect < Resource < Reference < 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

floatcutoff_hz2000.0
FilterDBdb0
floatgain1.0
floatresonance0.5

Enumerations

enum FilterDB:

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

Property Descriptions

Default2000.0
Setterset_cutoff(value)
Getterget_cutoff()

Threshold frequency for the filter, in Hz.


Default0
Setterset_db(value)
Getterget_db()

Default1.0
Setterset_gain(value)
Getterget_gain()

Gain amount of the frequencies after the filter.


Default0.5
Setterset_resonance(value)
Getterget_resonance()

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