godot/doc/classes/AudioEffectFilter.xml

39 lines
1.2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
2018-06-01 16:19:33 +00:00
<class name="AudioEffectFilter" inherits="AudioEffect" category="Core" version="3.0.3">
<brief_description>
Adds a filter to the Audio Bus.
</brief_description>
<description>
Allows frequencies other than the [member cutoff_hz] to pass.
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
</methods>
<members>
<member name="cutoff_hz" type="float" setter="set_cutoff" getter="get_cutoff">
Threshold frequency for the filter.
</member>
<member name="db" type="int" setter="set_db" getter="get_db" enum="AudioEffectFilter.FilterDB">
</member>
<member name="gain" type="float" setter="set_gain" getter="get_gain">
Gain amount of the frequencies after the filter.
</member>
<member name="resonance" type="float" setter="set_resonance" getter="get_resonance">
Amount of boost in the overtones near the cutoff frequency.
</member>
</members>
<constants>
2017-11-24 22:16:30 +00:00
<constant name="FILTER_6DB" value="0" enum="FilterDB">
</constant>
2017-11-24 22:16:30 +00:00
<constant name="FILTER_12DB" value="1" enum="FilterDB">
</constant>
2017-11-24 22:16:30 +00:00
<constant name="FILTER_18DB" value="2" enum="FilterDB">
</constant>
2017-11-24 22:16:30 +00:00
<constant name="FILTER_24DB" value="3" enum="FilterDB">
</constant>
</constants>
</class>