class_audioeffectreverb.rst 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. Simulates the sound of acoustic environments such as rooms, concert halls, caverns, or an open spaces.
  15. .. rst-class:: classref-introduction-group
  16. Tutorials
  17. ---------
  18. - :doc:`Audio buses <../tutorials/audio/audio_buses>`
  19. - `Third Person Shooter (TPS) Demo <https://godotengine.org/asset-library/asset/2710>`__
  20. .. rst-class:: classref-reftable-group
  21. Properties
  22. ----------
  23. .. table::
  24. :widths: auto
  25. +---------------------------+------------------------------------------------------------------------------+-----------+
  26. | :ref:`float<class_float>` | :ref:`damping<class_AudioEffectReverb_property_damping>` | ``0.5`` |
  27. +---------------------------+------------------------------------------------------------------------------+-----------+
  28. | :ref:`float<class_float>` | :ref:`dry<class_AudioEffectReverb_property_dry>` | ``1.0`` |
  29. +---------------------------+------------------------------------------------------------------------------+-----------+
  30. | :ref:`float<class_float>` | :ref:`hipass<class_AudioEffectReverb_property_hipass>` | ``0.0`` |
  31. +---------------------------+------------------------------------------------------------------------------+-----------+
  32. | :ref:`float<class_float>` | :ref:`predelay_feedback<class_AudioEffectReverb_property_predelay_feedback>` | ``0.4`` |
  33. +---------------------------+------------------------------------------------------------------------------+-----------+
  34. | :ref:`float<class_float>` | :ref:`predelay_msec<class_AudioEffectReverb_property_predelay_msec>` | ``150.0`` |
  35. +---------------------------+------------------------------------------------------------------------------+-----------+
  36. | :ref:`float<class_float>` | :ref:`room_size<class_AudioEffectReverb_property_room_size>` | ``0.8`` |
  37. +---------------------------+------------------------------------------------------------------------------+-----------+
  38. | :ref:`float<class_float>` | :ref:`spread<class_AudioEffectReverb_property_spread>` | ``1.0`` |
  39. +---------------------------+------------------------------------------------------------------------------+-----------+
  40. | :ref:`float<class_float>` | :ref:`wet<class_AudioEffectReverb_property_wet>` | ``0.5`` |
  41. +---------------------------+------------------------------------------------------------------------------+-----------+
  42. .. rst-class:: classref-section-separator
  43. ----
  44. .. rst-class:: classref-descriptions-group
  45. Property Descriptions
  46. ---------------------
  47. .. _class_AudioEffectReverb_property_damping:
  48. .. rst-class:: classref-property
  49. :ref:`float<class_float>` **damping** = ``0.5`` :ref:`🔗<class_AudioEffectReverb_property_damping>`
  50. .. rst-class:: classref-property-setget
  51. - |void| **set_damping**\ (\ value\: :ref:`float<class_float>`\ )
  52. - :ref:`float<class_float>` **get_damping**\ (\ )
  53. Defines how reflective the imaginary room's walls are. Value can range from 0 to 1.
  54. .. rst-class:: classref-item-separator
  55. ----
  56. .. _class_AudioEffectReverb_property_dry:
  57. .. rst-class:: classref-property
  58. :ref:`float<class_float>` **dry** = ``1.0`` :ref:`🔗<class_AudioEffectReverb_property_dry>`
  59. .. rst-class:: classref-property-setget
  60. - |void| **set_dry**\ (\ value\: :ref:`float<class_float>`\ )
  61. - :ref:`float<class_float>` **get_dry**\ (\ )
  62. Output percent of original sound. At 0, only modified sound is outputted. Value can range from 0 to 1.
  63. .. rst-class:: classref-item-separator
  64. ----
  65. .. _class_AudioEffectReverb_property_hipass:
  66. .. rst-class:: classref-property
  67. :ref:`float<class_float>` **hipass** = ``0.0`` :ref:`🔗<class_AudioEffectReverb_property_hipass>`
  68. .. rst-class:: classref-property-setget
  69. - |void| **set_hpf**\ (\ value\: :ref:`float<class_float>`\ )
  70. - :ref:`float<class_float>` **get_hpf**\ (\ )
  71. 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.
  72. .. rst-class:: classref-item-separator
  73. ----
  74. .. _class_AudioEffectReverb_property_predelay_feedback:
  75. .. rst-class:: classref-property
  76. :ref:`float<class_float>` **predelay_feedback** = ``0.4`` :ref:`🔗<class_AudioEffectReverb_property_predelay_feedback>`
  77. .. rst-class:: classref-property-setget
  78. - |void| **set_predelay_feedback**\ (\ value\: :ref:`float<class_float>`\ )
  79. - :ref:`float<class_float>` **get_predelay_feedback**\ (\ )
  80. Output percent of predelay. Value can range from 0 to 1.
  81. .. rst-class:: classref-item-separator
  82. ----
  83. .. _class_AudioEffectReverb_property_predelay_msec:
  84. .. rst-class:: classref-property
  85. :ref:`float<class_float>` **predelay_msec** = ``150.0`` :ref:`🔗<class_AudioEffectReverb_property_predelay_msec>`
  86. .. rst-class:: classref-property-setget
  87. - |void| **set_predelay_msec**\ (\ value\: :ref:`float<class_float>`\ )
  88. - :ref:`float<class_float>` **get_predelay_msec**\ (\ )
  89. Time between the original signal and the early reflections of the reverb signal, in milliseconds.
  90. .. rst-class:: classref-item-separator
  91. ----
  92. .. _class_AudioEffectReverb_property_room_size:
  93. .. rst-class:: classref-property
  94. :ref:`float<class_float>` **room_size** = ``0.8`` :ref:`🔗<class_AudioEffectReverb_property_room_size>`
  95. .. rst-class:: classref-property-setget
  96. - |void| **set_room_size**\ (\ value\: :ref:`float<class_float>`\ )
  97. - :ref:`float<class_float>` **get_room_size**\ (\ )
  98. Dimensions of simulated room. Bigger means more echoes. Value can range from 0 to 1.
  99. .. rst-class:: classref-item-separator
  100. ----
  101. .. _class_AudioEffectReverb_property_spread:
  102. .. rst-class:: classref-property
  103. :ref:`float<class_float>` **spread** = ``1.0`` :ref:`🔗<class_AudioEffectReverb_property_spread>`
  104. .. rst-class:: classref-property-setget
  105. - |void| **set_spread**\ (\ value\: :ref:`float<class_float>`\ )
  106. - :ref:`float<class_float>` **get_spread**\ (\ )
  107. Widens or narrows the stereo image of the reverb tail. 1 means fully widens. Value can range from 0 to 1.
  108. .. rst-class:: classref-item-separator
  109. ----
  110. .. _class_AudioEffectReverb_property_wet:
  111. .. rst-class:: classref-property
  112. :ref:`float<class_float>` **wet** = ``0.5`` :ref:`🔗<class_AudioEffectReverb_property_wet>`
  113. .. rst-class:: classref-property-setget
  114. - |void| **set_wet**\ (\ value\: :ref:`float<class_float>`\ )
  115. - :ref:`float<class_float>` **get_wet**\ (\ )
  116. Output percent of modified sound. At 0, only original sound is outputted. Value can range from 0 to 1.
  117. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  118. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  119. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  120. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  121. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  122. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  123. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  124. .. |void| replace:: :abbr:`void (No return value.)`