2017-09-13 04:42:36 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-03-01 08:44:37 +08:00
|
|
|
<class name="AudioEffectChorus" inherits="AudioEffect" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2017-09-13 04:42:36 +08:00
|
|
|
<brief_description>
|
|
|
|
Adds a chorus audio effect.
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
Adds a chorus audio effect. The effect applies a filter with voices to duplicate the audio source and manipulate it through the filter.
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
2022-06-20 07:11:11 +08:00
|
|
|
<link title="Audio buses">$DOCS_URL/tutorials/audio/audio_buses.html</link>
|
2017-09-13 04:42:36 +08:00
|
|
|
</tutorials>
|
|
|
|
<methods>
|
2019-06-27 22:10:09 +08:00
|
|
|
<method name="get_voice_cutoff_hz" qualifiers="const">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="float" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="voice_idx" type="int" />
|
2019-06-27 22:10:09 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_voice_delay_ms" qualifiers="const">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="float" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="voice_idx" type="int" />
|
2019-06-27 22:10:09 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_voice_depth_ms" qualifiers="const">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="float" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="voice_idx" type="int" />
|
2019-06-27 22:10:09 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_voice_level_db" qualifiers="const">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="float" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="voice_idx" type="int" />
|
2019-06-27 22:10:09 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_voice_pan" qualifiers="const">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="float" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="voice_idx" type="int" />
|
2019-06-27 22:10:09 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_voice_rate_hz" qualifiers="const">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="float" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="voice_idx" type="int" />
|
2019-06-27 22:10:09 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_voice_cutoff_hz">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="void" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="voice_idx" type="int" />
|
|
|
|
<param index="1" name="cutoff_hz" type="float" />
|
2019-06-27 22:10:09 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_voice_delay_ms">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="void" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="voice_idx" type="int" />
|
|
|
|
<param index="1" name="delay_ms" type="float" />
|
2019-06-27 22:10:09 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_voice_depth_ms">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="void" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="voice_idx" type="int" />
|
|
|
|
<param index="1" name="depth_ms" type="float" />
|
2019-06-27 22:10:09 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_voice_level_db">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="void" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="voice_idx" type="int" />
|
|
|
|
<param index="1" name="level_db" type="float" />
|
2019-06-27 22:10:09 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_voice_pan">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="void" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="voice_idx" type="int" />
|
|
|
|
<param index="1" name="pan" type="float" />
|
2019-06-27 22:10:09 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_voice_rate_hz">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="void" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="voice_idx" type="int" />
|
|
|
|
<param index="1" name="rate_hz" type="float" />
|
2019-06-27 22:10:09 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2017-09-13 04:42:36 +08:00
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="dry" type="float" setter="set_dry" getter="get_dry" default="1.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
The effect's raw signal.
|
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="voice/1/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz" default="8000.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's cutoff frequency.
|
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="voice/1/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms" default="15.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's signal delay.
|
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="voice/1/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms" default="2.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice filter's depth.
|
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="voice/1/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db" default="0.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's volume.
|
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="voice/1/pan" type="float" setter="set_voice_pan" getter="get_voice_pan" default="-0.5">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's pan level.
|
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="voice/1/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz" default="0.8">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's filter rate.
|
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="voice/2/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz" default="8000.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's cutoff frequency.
|
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="voice/2/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms" default="20.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's signal delay.
|
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="voice/2/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms" default="3.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice filter's depth.
|
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="voice/2/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db" default="0.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's volume.
|
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="voice/2/pan" type="float" setter="set_voice_pan" getter="get_voice_pan" default="0.5">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's pan level.
|
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="voice/2/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz" default="1.2">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's filter rate.
|
|
|
|
</member>
|
2019-06-30 03:22:15 +08:00
|
|
|
<member name="voice/3/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's cutoff frequency.
|
|
|
|
</member>
|
2019-06-30 03:22:15 +08:00
|
|
|
<member name="voice/3/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's signal delay.
|
|
|
|
</member>
|
2019-06-30 03:22:15 +08:00
|
|
|
<member name="voice/3/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice filter's depth.
|
|
|
|
</member>
|
2019-06-30 03:22:15 +08:00
|
|
|
<member name="voice/3/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's volume.
|
|
|
|
</member>
|
2019-06-30 03:22:15 +08:00
|
|
|
<member name="voice/3/pan" type="float" setter="set_voice_pan" getter="get_voice_pan">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's pan level.
|
|
|
|
</member>
|
2019-06-30 03:22:15 +08:00
|
|
|
<member name="voice/3/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's filter rate.
|
|
|
|
</member>
|
2019-06-30 03:22:15 +08:00
|
|
|
<member name="voice/4/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's cutoff frequency.
|
|
|
|
</member>
|
2019-06-30 03:22:15 +08:00
|
|
|
<member name="voice/4/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's signal delay.
|
|
|
|
</member>
|
2019-06-30 03:22:15 +08:00
|
|
|
<member name="voice/4/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice filter's depth.
|
|
|
|
</member>
|
2019-06-30 03:22:15 +08:00
|
|
|
<member name="voice/4/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's volume.
|
|
|
|
</member>
|
2019-06-30 03:22:15 +08:00
|
|
|
<member name="voice/4/pan" type="float" setter="set_voice_pan" getter="get_voice_pan">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's pan level.
|
|
|
|
</member>
|
2019-06-30 03:22:15 +08:00
|
|
|
<member name="voice/4/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz">
|
2017-09-13 04:42:36 +08:00
|
|
|
The voice's filter rate.
|
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="voice_count" type="int" setter="set_voice_count" getter="get_voice_count" default="2">
|
2022-08-18 06:08:09 +08:00
|
|
|
The number of voices in the effect.
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="wet" type="float" setter="set_wet" getter="get_wet" default="0.5">
|
2017-09-13 04:42:36 +08:00
|
|
|
The effect's processed signal.
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|