mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
a4005221f5
[ci skip]
269 lines
8.6 KiB
XML
269 lines
8.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="AudioEffectChorus" inherits="AudioEffect" category="Core" version="3.0.alpha.custom_build">
|
|
<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>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
<method name="get_dry" qualifiers="const">
|
|
<return type="float">
|
|
</return>
|
|
<description>
|
|
Returns the set dry ratio.
|
|
</description>
|
|
</method>
|
|
<method name="get_voice_count" qualifiers="const">
|
|
<return type="int">
|
|
</return>
|
|
<description>
|
|
Returns the set voice count.
|
|
</description>
|
|
</method>
|
|
<method name="get_voice_cutoff_hz" qualifiers="const">
|
|
<return type="float">
|
|
</return>
|
|
<argument index="0" name="voice_idx" type="int">
|
|
</argument>
|
|
<description>
|
|
Returns the voice's set cutoff frequency.
|
|
</description>
|
|
</method>
|
|
<method name="get_voice_delay_ms" qualifiers="const">
|
|
<return type="float">
|
|
</return>
|
|
<argument index="0" name="voice_idx" type="int">
|
|
</argument>
|
|
<description>
|
|
Returns the voice's set delay.
|
|
</description>
|
|
</method>
|
|
<method name="get_voice_depth_ms" qualifiers="const">
|
|
<return type="float">
|
|
</return>
|
|
<argument index="0" name="voice_idx" type="int">
|
|
</argument>
|
|
<description>
|
|
Returns the voice's set filter depth.
|
|
</description>
|
|
</method>
|
|
<method name="get_voice_level_db" qualifiers="const">
|
|
<return type="float">
|
|
</return>
|
|
<argument index="0" name="voice_idx" type="int">
|
|
</argument>
|
|
<description>
|
|
Returns the voice's set maximum volume.
|
|
</description>
|
|
</method>
|
|
<method name="get_voice_pan" qualifiers="const">
|
|
<return type="float">
|
|
</return>
|
|
<argument index="0" name="voice_idx" type="int">
|
|
</argument>
|
|
<description>
|
|
Returns the voice's set pan.
|
|
</description>
|
|
</method>
|
|
<method name="get_voice_rate_hz" qualifiers="const">
|
|
<return type="float">
|
|
</return>
|
|
<argument index="0" name="voice_idx" type="int">
|
|
</argument>
|
|
<description>
|
|
Returns the voice filter's set rate in cycles.
|
|
</description>
|
|
</method>
|
|
<method name="get_wet" qualifiers="const">
|
|
<return type="float">
|
|
</return>
|
|
<description>
|
|
Returns the set applied wetness of the effect.
|
|
</description>
|
|
</method>
|
|
<method name="set_dry">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="amount" type="float">
|
|
</argument>
|
|
<description>
|
|
Returns the set applied dryness of the effect.
|
|
</description>
|
|
</method>
|
|
<method name="set_voice_count">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="voices" type="int">
|
|
</argument>
|
|
<description>
|
|
Set the number of voices in the effect's filter.
|
|
</description>
|
|
</method>
|
|
<method name="set_voice_cutoff_hz">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="voice_idx" type="int">
|
|
</argument>
|
|
<argument index="1" name="cutoff_hz" type="float">
|
|
</argument>
|
|
<description>
|
|
Set the cutoff frequency of the voice. The maximum frequency the voice may affect.
|
|
</description>
|
|
</method>
|
|
<method name="set_voice_delay_ms">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="voice_idx" type="int">
|
|
</argument>
|
|
<argument index="1" name="delay_ms" type="float">
|
|
</argument>
|
|
<description>
|
|
Set the delay of the voice's signal.
|
|
</description>
|
|
</method>
|
|
<method name="set_voice_depth_ms">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="voice_idx" type="int">
|
|
</argument>
|
|
<argument index="1" name="depth_ms" type="float">
|
|
</argument>
|
|
<description>
|
|
Set the filter depth of the voice's signal.
|
|
</description>
|
|
</method>
|
|
<method name="set_voice_level_db">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="voice_idx" type="int">
|
|
</argument>
|
|
<argument index="1" name="level_db" type="float">
|
|
</argument>
|
|
<description>
|
|
Set the volume level of the voice.
|
|
</description>
|
|
</method>
|
|
<method name="set_voice_pan">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="voice_idx" type="int">
|
|
</argument>
|
|
<argument index="1" name="pan" type="float">
|
|
</argument>
|
|
<description>
|
|
Set the pan level of the voice.
|
|
</description>
|
|
</method>
|
|
<method name="set_voice_rate_hz">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="voice_idx" type="int">
|
|
</argument>
|
|
<argument index="1" name="rate_hz" type="float">
|
|
</argument>
|
|
<description>
|
|
Set the voice filter's rate.
|
|
</description>
|
|
</method>
|
|
<method name="set_wet">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="amount" type="float">
|
|
</argument>
|
|
<description>
|
|
Set the amount of effect.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="dry" type="float" setter="set_dry" getter="get_dry">
|
|
The effect's raw signal.
|
|
</member>
|
|
<member name="voice/1/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz">
|
|
The voice's cutoff frequency.
|
|
</member>
|
|
<member name="voice/1/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms">
|
|
The voice's signal delay.
|
|
</member>
|
|
<member name="voice/1/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms">
|
|
The voice filter's depth.
|
|
</member>
|
|
<member name="voice/1/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db">
|
|
The voice's volume.
|
|
</member>
|
|
<member name="voice/1/pan" type="float" setter="set_voice_pan" getter="get_voice_pan">
|
|
The voice's pan level.
|
|
</member>
|
|
<member name="voice/1/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz">
|
|
The voice's filter rate.
|
|
</member>
|
|
<member name="voice/2/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz">
|
|
The voice's cutoff frequency.
|
|
</member>
|
|
<member name="voice/2/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms">
|
|
The voice's signal delay.
|
|
</member>
|
|
<member name="voice/2/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms">
|
|
The voice filter's depth.
|
|
</member>
|
|
<member name="voice/2/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db">
|
|
The voice's volume.
|
|
</member>
|
|
<member name="voice/2/pan" type="float" setter="set_voice_pan" getter="get_voice_pan">
|
|
The voice's pan level.
|
|
</member>
|
|
<member name="voice/2/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz">
|
|
The voice's filter rate.
|
|
</member>
|
|
<member name="voice/3/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz">
|
|
The voice's cutoff frequency.
|
|
</member>
|
|
<member name="voice/3/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms">
|
|
The voice's signal delay.
|
|
</member>
|
|
<member name="voice/3/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms">
|
|
The voice filter's depth.
|
|
</member>
|
|
<member name="voice/3/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db">
|
|
The voice's volume.
|
|
</member>
|
|
<member name="voice/3/pan" type="float" setter="set_voice_pan" getter="get_voice_pan">
|
|
The voice's pan level.
|
|
</member>
|
|
<member name="voice/3/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz">
|
|
The voice's filter rate.
|
|
</member>
|
|
<member name="voice/4/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz">
|
|
The voice's cutoff frequency.
|
|
</member>
|
|
<member name="voice/4/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms">
|
|
The voice's signal delay.
|
|
</member>
|
|
<member name="voice/4/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms">
|
|
The voice filter's depth.
|
|
</member>
|
|
<member name="voice/4/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db">
|
|
The voice's volume.
|
|
</member>
|
|
<member name="voice/4/pan" type="float" setter="set_voice_pan" getter="get_voice_pan">
|
|
The voice's pan level.
|
|
</member>
|
|
<member name="voice/4/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz">
|
|
The voice's filter rate.
|
|
</member>
|
|
<member name="voice_count" type="int" setter="set_voice_count" getter="get_voice_count">
|
|
The amount of voices in the effect.
|
|
</member>
|
|
<member name="wet" type="float" setter="set_wet" getter="get_wet">
|
|
The effect's processed signal.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|