2017-09-12 20:42:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2018-02-24 17:59:38 +00:00
|
|
|
<class name="AudioEffectFilter" inherits="AudioEffect" category="Core" version="3.0.1">
|
2017-09-12 20:42:36 +00:00
|
|
|
<brief_description>
|
2017-10-21 15:45:27 +00:00
|
|
|
Adds a filter to the Audio Bus.
|
2017-09-12 20:42:36 +00:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2017-10-21 15:45:27 +00:00
|
|
|
Allows frequencies other than the [member cutoff_hz] to pass.
|
2017-09-12 20:42:36 +00:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<demos>
|
|
|
|
</demos>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="cutoff_hz" type="float" setter="set_cutoff" getter="get_cutoff">
|
2017-10-21 15:45:27 +00:00
|
|
|
Threshold frequency for the filter.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
2017-10-22 10:56:11 +00:00
|
|
|
<member name="db" type="int" setter="set_db" getter="get_db" enum="AudioEffectFilter.FilterDB">
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="gain" type="float" setter="set_gain" getter="get_gain">
|
2017-10-25 13:07:45 +00:00
|
|
|
Gain amount of the frequencies after the filter.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="resonance" type="float" setter="set_resonance" getter="get_resonance">
|
2017-10-21 15:45:27 +00:00
|
|
|
Amount of boost in the overtones near the cutoff frequency.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
2017-11-24 22:16:30 +00:00
|
|
|
<constant name="FILTER_6DB" value="0" enum="FilterDB">
|
2017-09-15 23:46:14 +00:00
|
|
|
</constant>
|
2017-11-24 22:16:30 +00:00
|
|
|
<constant name="FILTER_12DB" value="1" enum="FilterDB">
|
2017-09-15 23:46:14 +00:00
|
|
|
</constant>
|
2017-11-24 22:16:30 +00:00
|
|
|
<constant name="FILTER_18DB" value="2" enum="FilterDB">
|
2017-09-15 23:46:14 +00:00
|
|
|
</constant>
|
2017-11-24 22:16:30 +00:00
|
|
|
<constant name="FILTER_24DB" value="3" enum="FilterDB">
|
2017-09-15 23:46:14 +00:00
|
|
|
</constant>
|
2017-09-12 20:42:36 +00:00
|
|
|
</constants>
|
|
|
|
</class>
|