class_audioeffectreverb.rst 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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 AudioEffectReverb.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_AudioEffectReverb:
  6. AudioEffectReverb
  7. =================
  8. **Inherits:** :ref:`AudioEffect<class_AudioEffect>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Adds a reverberation audio effect to an Audio bus.
  10. Simulates the sound of acoustic environments such as rooms, concert halls, caverns, or an open spaces.
  11. Description
  12. -----------
  13. Simulates rooms of different sizes. Its parameters can be adjusted to simulate the sound of a specific room.
  14. Tutorials
  15. ---------
  16. - `Third Person Shooter Demo <https://godotengine.org/asset-library/asset/678>`__
  17. Properties
  18. ----------
  19. +---------------------------+------------------------------------------------------------------------------+-----------+
  20. | :ref:`float<class_float>` | :ref:`damping<class_AudioEffectReverb_property_damping>` | ``0.5`` |
  21. +---------------------------+------------------------------------------------------------------------------+-----------+
  22. | :ref:`float<class_float>` | :ref:`dry<class_AudioEffectReverb_property_dry>` | ``1.0`` |
  23. +---------------------------+------------------------------------------------------------------------------+-----------+
  24. | :ref:`float<class_float>` | :ref:`hipass<class_AudioEffectReverb_property_hipass>` | ``0.0`` |
  25. +---------------------------+------------------------------------------------------------------------------+-----------+
  26. | :ref:`float<class_float>` | :ref:`predelay_feedback<class_AudioEffectReverb_property_predelay_feedback>` | ``0.4`` |
  27. +---------------------------+------------------------------------------------------------------------------+-----------+
  28. | :ref:`float<class_float>` | :ref:`predelay_msec<class_AudioEffectReverb_property_predelay_msec>` | ``150.0`` |
  29. +---------------------------+------------------------------------------------------------------------------+-----------+
  30. | :ref:`float<class_float>` | :ref:`room_size<class_AudioEffectReverb_property_room_size>` | ``0.8`` |
  31. +---------------------------+------------------------------------------------------------------------------+-----------+
  32. | :ref:`float<class_float>` | :ref:`spread<class_AudioEffectReverb_property_spread>` | ``1.0`` |
  33. +---------------------------+------------------------------------------------------------------------------+-----------+
  34. | :ref:`float<class_float>` | :ref:`wet<class_AudioEffectReverb_property_wet>` | ``0.5`` |
  35. +---------------------------+------------------------------------------------------------------------------+-----------+
  36. Property Descriptions
  37. ---------------------
  38. .. _class_AudioEffectReverb_property_damping:
  39. - :ref:`float<class_float>` **damping**
  40. +-----------+--------------------+
  41. | *Default* | ``0.5`` |
  42. +-----------+--------------------+
  43. | *Setter* | set_damping(value) |
  44. +-----------+--------------------+
  45. | *Getter* | get_damping() |
  46. +-----------+--------------------+
  47. Defines how reflective the imaginary room's walls are. Value can range from 0 to 1.
  48. ----
  49. .. _class_AudioEffectReverb_property_dry:
  50. - :ref:`float<class_float>` **dry**
  51. +-----------+----------------+
  52. | *Default* | ``1.0`` |
  53. +-----------+----------------+
  54. | *Setter* | set_dry(value) |
  55. +-----------+----------------+
  56. | *Getter* | get_dry() |
  57. +-----------+----------------+
  58. Output percent of original sound. At 0, only modified sound is outputted. Value can range from 0 to 1.
  59. ----
  60. .. _class_AudioEffectReverb_property_hipass:
  61. - :ref:`float<class_float>` **hipass**
  62. +-----------+----------------+
  63. | *Default* | ``0.0`` |
  64. +-----------+----------------+
  65. | *Setter* | set_hpf(value) |
  66. +-----------+----------------+
  67. | *Getter* | get_hpf() |
  68. +-----------+----------------+
  69. 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.
  70. ----
  71. .. _class_AudioEffectReverb_property_predelay_feedback:
  72. - :ref:`float<class_float>` **predelay_feedback**
  73. +-----------+------------------------------+
  74. | *Default* | ``0.4`` |
  75. +-----------+------------------------------+
  76. | *Setter* | set_predelay_feedback(value) |
  77. +-----------+------------------------------+
  78. | *Getter* | get_predelay_feedback() |
  79. +-----------+------------------------------+
  80. Output percent of predelay. Value can range from 0 to 1.
  81. ----
  82. .. _class_AudioEffectReverb_property_predelay_msec:
  83. - :ref:`float<class_float>` **predelay_msec**
  84. +-----------+--------------------------+
  85. | *Default* | ``150.0`` |
  86. +-----------+--------------------------+
  87. | *Setter* | set_predelay_msec(value) |
  88. +-----------+--------------------------+
  89. | *Getter* | get_predelay_msec() |
  90. +-----------+--------------------------+
  91. Time between the original signal and the early reflections of the reverb signal, in milliseconds.
  92. ----
  93. .. _class_AudioEffectReverb_property_room_size:
  94. - :ref:`float<class_float>` **room_size**
  95. +-----------+----------------------+
  96. | *Default* | ``0.8`` |
  97. +-----------+----------------------+
  98. | *Setter* | set_room_size(value) |
  99. +-----------+----------------------+
  100. | *Getter* | get_room_size() |
  101. +-----------+----------------------+
  102. Dimensions of simulated room. Bigger means more echoes. Value can range from 0 to 1.
  103. ----
  104. .. _class_AudioEffectReverb_property_spread:
  105. - :ref:`float<class_float>` **spread**
  106. +-----------+-------------------+
  107. | *Default* | ``1.0`` |
  108. +-----------+-------------------+
  109. | *Setter* | set_spread(value) |
  110. +-----------+-------------------+
  111. | *Getter* | get_spread() |
  112. +-----------+-------------------+
  113. Widens or narrows the stereo image of the reverb tail. 1 means fully widens. Value can range from 0 to 1.
  114. ----
  115. .. _class_AudioEffectReverb_property_wet:
  116. - :ref:`float<class_float>` **wet**
  117. +-----------+----------------+
  118. | *Default* | ``0.5`` |
  119. +-----------+----------------+
  120. | *Setter* | set_wet(value) |
  121. +-----------+----------------+
  122. | *Getter* | get_wet() |
  123. +-----------+----------------+
  124. Output percent of modified sound. At 0, only original sound is outputted. Value can range from 0 to 1.
  125. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  126. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  127. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`