1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- :github_url: hide
- .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the AudioStreamGenerator.xml source instead.
- .. The source is found in doc/classes or modules/<name>/doc_classes.
- .. _class_AudioStreamGenerator:
- AudioStreamGenerator
- ====================
- **Inherits:** :ref:`AudioStream<class_AudioStream>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
- Tutorials
- ---------
- - `https://github.com/godotengine/godot-demo-projects/tree/master/audio/generator <https://github.com/godotengine/godot-demo-projects/tree/master/audio/generator>`_
- Properties
- ----------
- +---------------------------+-------------------------------------------------------------------------+-------------+
- | :ref:`float<class_float>` | :ref:`buffer_length<class_AudioStreamGenerator_property_buffer_length>` | ``0.5`` |
- +---------------------------+-------------------------------------------------------------------------+-------------+
- | :ref:`float<class_float>` | :ref:`mix_rate<class_AudioStreamGenerator_property_mix_rate>` | ``44100.0`` |
- +---------------------------+-------------------------------------------------------------------------+-------------+
- Property Descriptions
- ---------------------
- .. _class_AudioStreamGenerator_property_buffer_length:
- - :ref:`float<class_float>` **buffer_length**
- +-----------+--------------------------+
- | *Default* | ``0.5`` |
- +-----------+--------------------------+
- | *Setter* | set_buffer_length(value) |
- +-----------+--------------------------+
- | *Getter* | get_buffer_length() |
- +-----------+--------------------------+
- ----
- .. _class_AudioStreamGenerator_property_mix_rate:
- - :ref:`float<class_float>` **mix_rate**
- +-----------+---------------------+
- | *Default* | ``44100.0`` |
- +-----------+---------------------+
- | *Setter* | set_mix_rate(value) |
- +-----------+---------------------+
- | *Getter* | get_mix_rate() |
- +-----------+---------------------+
- .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
- .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
- .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
|