class_audioeffectreverb.rst 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioEffectReverb.xml.
  6. .. _class_AudioEffectReverb:
  7. AudioEffectReverb
  8. =================
  9. **Inherits:** :ref:`AudioEffect<class_AudioEffect>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Adds a reverberation audio effect to an Audio bus.
  11. Description
  12. -----------
  13. Simulates the sound of acoustic environments such as rooms, concert halls, caverns, or an open spaces.
  14. Tutorials
  15. ---------
  16. - :doc:`Audio buses <../tutorials/audio/audio_buses>`
  17. - `Third Person Shooter Demo <https://godotengine.org/asset-library/asset/678>`__
  18. Properties
  19. ----------
  20. +---------------------------+------------------------------------------------------------------------------+-----------+
  21. | :ref:`float<class_float>` | :ref:`damping<class_AudioEffectReverb_property_damping>` | ``0.5`` |
  22. +---------------------------+------------------------------------------------------------------------------+-----------+
  23. | :ref:`float<class_float>` | :ref:`dry<class_AudioEffectReverb_property_dry>` | ``1.0`` |
  24. +---------------------------+------------------------------------------------------------------------------+-----------+
  25. | :ref:`float<class_float>` | :ref:`hipass<class_AudioEffectReverb_property_hipass>` | ``0.0`` |
  26. +---------------------------+------------------------------------------------------------------------------+-----------+
  27. | :ref:`float<class_float>` | :ref:`predelay_feedback<class_AudioEffectReverb_property_predelay_feedback>` | ``0.4`` |
  28. +---------------------------+------------------------------------------------------------------------------+-----------+
  29. | :ref:`float<class_float>` | :ref:`predelay_msec<class_AudioEffectReverb_property_predelay_msec>` | ``150.0`` |
  30. +---------------------------+------------------------------------------------------------------------------+-----------+
  31. | :ref:`float<class_float>` | :ref:`room_size<class_AudioEffectReverb_property_room_size>` | ``0.8`` |
  32. +---------------------------+------------------------------------------------------------------------------+-----------+
  33. | :ref:`float<class_float>` | :ref:`spread<class_AudioEffectReverb_property_spread>` | ``1.0`` |
  34. +---------------------------+------------------------------------------------------------------------------+-----------+
  35. | :ref:`float<class_float>` | :ref:`wet<class_AudioEffectReverb_property_wet>` | ``0.5`` |
  36. +---------------------------+------------------------------------------------------------------------------+-----------+
  37. Property Descriptions
  38. ---------------------
  39. .. _class_AudioEffectReverb_property_damping:
  40. - :ref:`float<class_float>` **damping**
  41. +-----------+--------------------+
  42. | *Default* | ``0.5`` |
  43. +-----------+--------------------+
  44. | *Setter* | set_damping(value) |
  45. +-----------+--------------------+
  46. | *Getter* | get_damping() |
  47. +-----------+--------------------+
  48. Defines how reflective the imaginary room's walls are. Value can range from 0 to 1.
  49. ----
  50. .. _class_AudioEffectReverb_property_dry:
  51. - :ref:`float<class_float>` **dry**
  52. +-----------+----------------+
  53. | *Default* | ``1.0`` |
  54. +-----------+----------------+
  55. | *Setter* | set_dry(value) |
  56. +-----------+----------------+
  57. | *Getter* | get_dry() |
  58. +-----------+----------------+
  59. Output percent of original sound. At 0, only modified sound is outputted. Value can range from 0 to 1.
  60. ----
  61. .. _class_AudioEffectReverb_property_hipass:
  62. - :ref:`float<class_float>` **hipass**
  63. +-----------+----------------+
  64. | *Default* | ``0.0`` |
  65. +-----------+----------------+
  66. | *Setter* | set_hpf(value) |
  67. +-----------+----------------+
  68. | *Getter* | get_hpf() |
  69. +-----------+----------------+
  70. High-pass filter passes signals with a frequency higher than a certain cutoff frequency and attenuates signals with frequencies lower than the cutoff frequency. Value can range from 0 to 1.
  71. ----
  72. .. _class_AudioEffectReverb_property_predelay_feedback:
  73. - :ref:`float<class_float>` **predelay_feedback**
  74. +-----------+------------------------------+
  75. | *Default* | ``0.4`` |
  76. +-----------+------------------------------+
  77. | *Setter* | set_predelay_feedback(value) |
  78. +-----------+------------------------------+
  79. | *Getter* | get_predelay_feedback() |
  80. +-----------+------------------------------+
  81. Output percent of predelay. Value can range from 0 to 1.
  82. ----
  83. .. _class_AudioEffectReverb_property_predelay_msec:
  84. - :ref:`float<class_float>` **predelay_msec**
  85. +-----------+--------------------------+
  86. | *Default* | ``150.0`` |
  87. +-----------+--------------------------+
  88. | *Setter* | set_predelay_msec(value) |
  89. +-----------+--------------------------+
  90. | *Getter* | get_predelay_msec() |
  91. +-----------+--------------------------+
  92. Time between the original signal and the early reflections of the reverb signal, in milliseconds.
  93. ----
  94. .. _class_AudioEffectReverb_property_room_size:
  95. - :ref:`float<class_float>` **room_size**
  96. +-----------+----------------------+
  97. | *Default* | ``0.8`` |
  98. +-----------+----------------------+
  99. | *Setter* | set_room_size(value) |
  100. +-----------+----------------------+
  101. | *Getter* | get_room_size() |
  102. +-----------+----------------------+
  103. Dimensions of simulated room. Bigger means more echoes. Value can range from 0 to 1.
  104. ----
  105. .. _class_AudioEffectReverb_property_spread:
  106. - :ref:`float<class_float>` **spread**
  107. +-----------+-------------------+
  108. | *Default* | ``1.0`` |
  109. +-----------+-------------------+
  110. | *Setter* | set_spread(value) |
  111. +-----------+-------------------+
  112. | *Getter* | get_spread() |
  113. +-----------+-------------------+
  114. Widens or narrows the stereo image of the reverb tail. 1 means fully widens. Value can range from 0 to 1.
  115. ----
  116. .. _class_AudioEffectReverb_property_wet:
  117. - :ref:`float<class_float>` **wet**
  118. +-----------+----------------+
  119. | *Default* | ``0.5`` |
  120. +-----------+----------------+
  121. | *Setter* | set_wet(value) |
  122. +-----------+----------------+
  123. | *Getter* | get_wet() |
  124. +-----------+----------------+
  125. Output percent of modified sound. At 0, only original sound is outputted. Value can range from 0 to 1.
  126. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  127. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  128. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  129. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  130. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  131. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`