mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
59 lines
2.0 KiB
ReStructuredText
59 lines
2.0 KiB
ReStructuredText
: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() |
|
|
+-----------+---------------------+
|
|
|