2017-09-12 22:42:36 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2021-04-26 13:14:51 +02:00
|
|
|
<class name="AudioEffectFilter" inherits="AudioEffect" version="3.4">
|
2017-09-12 22:42:36 +02:00
|
|
|
<brief_description>
|
2019-06-22 01:04:47 +02:00
|
|
|
Adds a filter to the audio bus.
|
2017-09-12 22:42:36 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2017-10-21 17:45:27 +02:00
|
|
|
Allows frequencies other than the [member cutoff_hz] to pass.
|
2017-09-12 22:42:36 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
2021-03-26 10:43:43 +01:00
|
|
|
<link title="Audio buses">https://docs.godotengine.org/en/3.3/tutorials/audio/audio_buses.html</link>
|
2017-09-12 22:42:36 +02:00
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="cutoff_hz" type="float" setter="set_cutoff" getter="get_cutoff" default="2000.0">
|
2019-06-22 01:04:47 +02:00
|
|
|
Threshold frequency for the filter, in Hz.
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="db" type="int" setter="set_db" getter="get_db" enum="AudioEffectFilter.FilterDB" default="0">
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="gain" type="float" setter="set_gain" getter="get_gain" default="1.0">
|
2017-10-25 15:07:45 +02:00
|
|
|
Gain amount of the frequencies after the filter.
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="resonance" type="float" setter="set_resonance" getter="get_resonance" default="0.5">
|
2020-09-11 17:20:21 +02:00
|
|
|
Amount of boost in the frequency range near the cutoff frequency.
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
2017-11-24 23:16:30 +01:00
|
|
|
<constant name="FILTER_6DB" value="0" enum="FilterDB">
|
2017-09-16 01:46:14 +02:00
|
|
|
</constant>
|
2017-11-24 23:16:30 +01:00
|
|
|
<constant name="FILTER_12DB" value="1" enum="FilterDB">
|
2017-09-16 01:46:14 +02:00
|
|
|
</constant>
|
2017-11-24 23:16:30 +01:00
|
|
|
<constant name="FILTER_18DB" value="2" enum="FilterDB">
|
2017-09-16 01:46:14 +02:00
|
|
|
</constant>
|
2017-11-24 23:16:30 +01:00
|
|
|
<constant name="FILTER_24DB" value="3" enum="FilterDB">
|
2017-09-16 01:46:14 +02:00
|
|
|
</constant>
|
2017-09-12 22:42:36 +02:00
|
|
|
</constants>
|
|
|
|
</class>
|