2017-09-12 22:42:36 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2017-11-15 18:37:54 +01:00
|
|
|
<class name="AudioStreamRandomPitch" inherits="AudioStream" category="Core" version="3.0-alpha">
|
2017-09-12 22:42:36 +02:00
|
|
|
<brief_description>
|
2017-09-16 23:12:52 +02:00
|
|
|
Plays audio with random pitch tweaking.
|
2017-09-12 22:42:36 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2017-09-16 23:12:52 +02:00
|
|
|
Randomly varies pitch on each start.
|
2017-09-12 22:42:36 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<demos>
|
|
|
|
</demos>
|
|
|
|
<methods>
|
|
|
|
<method name="get_audio_stream" qualifiers="const">
|
|
|
|
<return type="AudioStream">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_random_pitch" qualifiers="const">
|
|
|
|
<return type="float">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_audio_stream">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="stream" type="AudioStream">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_random_pitch">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="scale" type="float">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2017-09-13 08:49:40 +02:00
|
|
|
<member name="audio_stream" type="AudioStream" setter="set_audio_stream" getter="get_audio_stream">
|
2017-09-16 23:12:52 +02:00
|
|
|
The current [AudioStream].
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
2017-09-13 08:49:40 +02:00
|
|
|
<member name="random_pitch" type="float" setter="set_random_pitch" getter="get_random_pitch">
|
2017-09-16 23:12:52 +02:00
|
|
|
The intensity of random pitch variation.
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|