class_audiostreamrandompitch.rst 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the AudioStreamRandomPitch.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_AudioStreamRandomPitch:
  6. AudioStreamRandomPitch
  7. ======================
  8. **Inherits:** :ref:`AudioStream<class_AudioStream>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Plays audio with random pitch shifting.
  10. Description
  11. -----------
  12. Randomly varies pitch on each start.
  13. Properties
  14. ----------
  15. +---------------------------------------+-------------------------------------------------------------------------+---------+
  16. | :ref:`AudioStream<class_AudioStream>` | :ref:`audio_stream<class_AudioStreamRandomPitch_property_audio_stream>` | |
  17. +---------------------------------------+-------------------------------------------------------------------------+---------+
  18. | :ref:`float<class_float>` | :ref:`random_pitch<class_AudioStreamRandomPitch_property_random_pitch>` | ``1.1`` |
  19. +---------------------------------------+-------------------------------------------------------------------------+---------+
  20. Property Descriptions
  21. ---------------------
  22. .. _class_AudioStreamRandomPitch_property_audio_stream:
  23. - :ref:`AudioStream<class_AudioStream>` **audio_stream**
  24. +----------+-------------------------+
  25. | *Setter* | set_audio_stream(value) |
  26. +----------+-------------------------+
  27. | *Getter* | get_audio_stream() |
  28. +----------+-------------------------+
  29. The current :ref:`AudioStream<class_AudioStream>`.
  30. ----
  31. .. _class_AudioStreamRandomPitch_property_random_pitch:
  32. - :ref:`float<class_float>` **random_pitch**
  33. +-----------+-------------------------+
  34. | *Default* | ``1.1`` |
  35. +-----------+-------------------------+
  36. | *Setter* | set_random_pitch(value) |
  37. +-----------+-------------------------+
  38. | *Getter* | get_random_pitch() |
  39. +-----------+-------------------------+
  40. The intensity of random pitch variation.
  41. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  42. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  43. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`