2019-04-15 12:49:41 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-03-01 00:44:37 +00:00
|
|
|
<class name="AudioEffectSpectrumAnalyzerInstance" inherits="AudioEffectInstance" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2019-04-15 12:49:41 +00:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="get_magnitude_for_frequency_range" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="Vector2" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="from_hz" type="float" />
|
|
|
|
<param index="1" name="to_hz" type="float" />
|
|
|
|
<param index="2" name="mode" type="int" enum="AudioEffectSpectrumAnalyzerInstance.MagnitudeMode" default="1" />
|
2019-04-15 12:49:41 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<constants>
|
|
|
|
<constant name="MAGNITUDE_AVERAGE" value="0" enum="MagnitudeMode">
|
2019-06-27 09:10:53 +00:00
|
|
|
Use the average value as magnitude.
|
2019-04-15 12:49:41 +00:00
|
|
|
</constant>
|
|
|
|
<constant name="MAGNITUDE_MAX" value="1" enum="MagnitudeMode">
|
2019-06-27 09:10:53 +00:00
|
|
|
Use the maximum value as magnitude.
|
2019-04-15 12:49:41 +00:00
|
|
|
</constant>
|
|
|
|
</constants>
|
|
|
|
</class>
|