class_audioeffectfilter.rst 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the AudioEffectFilter.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_AudioEffectFilter:
  5. AudioEffectFilter
  6. =================
  7. **Inherits:** :ref:`AudioEffect<class_audioeffect>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  8. **Inherited By:** :ref:`AudioEffectHighPassFilter<class_audioeffecthighpassfilter>`, :ref:`AudioEffectBandLimitFilter<class_audioeffectbandlimitfilter>`, :ref:`AudioEffectLowShelfFilter<class_audioeffectlowshelffilter>`, :ref:`AudioEffectHighShelfFilter<class_audioeffecthighshelffilter>`, :ref:`AudioEffectBandPassFilter<class_audioeffectbandpassfilter>`, :ref:`AudioEffectNotchFilter<class_audioeffectnotchfilter>`, :ref:`AudioEffectLowPassFilter<class_audioeffectlowpassfilter>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. Adds a filter to the Audio Bus.
  13. Member Variables
  14. ----------------
  15. .. _class_AudioEffectFilter_cutoff_hz:
  16. - :ref:`float<class_float>` **cutoff_hz** - Threshold frequency for the filter.
  17. .. _class_AudioEffectFilter_db:
  18. - :ref:`FilterDB<enum_audioeffectfilter_filterdb>` **db**
  19. .. _class_AudioEffectFilter_gain:
  20. - :ref:`float<class_float>` **gain** - Gain amount of the frequencies after the filter.
  21. .. _class_AudioEffectFilter_resonance:
  22. - :ref:`float<class_float>` **resonance** - Amount of boost in the overtones near the cutoff frequency.
  23. Enums
  24. -----
  25. .. _enum_AudioEffectFilter_FilterDB:
  26. enum **FilterDB**
  27. - **FILTER_6DB** = **0**
  28. - **FILTER_12DB** = **1**
  29. - **FILTER_18DB** = **2**
  30. - **FILTER_24DB** = **3**
  31. Description
  32. -----------
  33. Allows frequencies other than the :ref:`cutoff_hz<class_AudioEffectFilter_cutoff_hz>` to pass.