class_audioeffectreverb.rst 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the AudioEffectReverb.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_AudioEffectReverb:
  5. AudioEffectReverb
  6. =================
  7. **Inherits:** :ref:`AudioEffect<class_AudioEffect>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Adds a Reverb audio effect to an Audio bus.
  12. Simulates the sound of acoustic environments such as rooms, concert halls, caverns, or an open spaces.
  13. Properties
  14. ----------
  15. +---------------------------+------------------------------------------------------------------------------+
  16. | :ref:`float<class_float>` | :ref:`damping<class_AudioEffectReverb_property_damping>` |
  17. +---------------------------+------------------------------------------------------------------------------+
  18. | :ref:`float<class_float>` | :ref:`dry<class_AudioEffectReverb_property_dry>` |
  19. +---------------------------+------------------------------------------------------------------------------+
  20. | :ref:`float<class_float>` | :ref:`hipass<class_AudioEffectReverb_property_hipass>` |
  21. +---------------------------+------------------------------------------------------------------------------+
  22. | :ref:`float<class_float>` | :ref:`predelay_feedback<class_AudioEffectReverb_property_predelay_feedback>` |
  23. +---------------------------+------------------------------------------------------------------------------+
  24. | :ref:`float<class_float>` | :ref:`predelay_msec<class_AudioEffectReverb_property_predelay_msec>` |
  25. +---------------------------+------------------------------------------------------------------------------+
  26. | :ref:`float<class_float>` | :ref:`room_size<class_AudioEffectReverb_property_room_size>` |
  27. +---------------------------+------------------------------------------------------------------------------+
  28. | :ref:`float<class_float>` | :ref:`spread<class_AudioEffectReverb_property_spread>` |
  29. +---------------------------+------------------------------------------------------------------------------+
  30. | :ref:`float<class_float>` | :ref:`wet<class_AudioEffectReverb_property_wet>` |
  31. +---------------------------+------------------------------------------------------------------------------+
  32. Description
  33. -----------
  34. Simulates rooms of different sizes. Its parameters can be adjusted to simulate the sound of a specific room.
  35. Property Descriptions
  36. ---------------------
  37. .. _class_AudioEffectReverb_property_damping:
  38. - :ref:`float<class_float>` **damping**
  39. +----------+--------------------+
  40. | *Setter* | set_damping(value) |
  41. +----------+--------------------+
  42. | *Getter* | get_damping() |
  43. +----------+--------------------+
  44. Defines how reflective the imaginary room's walls are. Value can range from 0 to 1. Default value: ``1``.
  45. .. _class_AudioEffectReverb_property_dry:
  46. - :ref:`float<class_float>` **dry**
  47. +----------+----------------+
  48. | *Setter* | set_dry(value) |
  49. +----------+----------------+
  50. | *Getter* | get_dry() |
  51. +----------+----------------+
  52. Output percent of original sound. At 0, only modified sound is outputted. Value can range from 0 to 1. Default value: ``1``.
  53. .. _class_AudioEffectReverb_property_hipass:
  54. - :ref:`float<class_float>` **hipass**
  55. +----------+----------------+
  56. | *Setter* | set_hpf(value) |
  57. +----------+----------------+
  58. | *Getter* | get_hpf() |
  59. +----------+----------------+
  60. 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. Default value: ``0``.
  61. .. _class_AudioEffectReverb_property_predelay_feedback:
  62. - :ref:`float<class_float>` **predelay_feedback**
  63. +----------+------------------------------+
  64. | *Setter* | set_predelay_feedback(value) |
  65. +----------+------------------------------+
  66. | *Getter* | get_predelay_feedback() |
  67. +----------+------------------------------+
  68. Output percent of predelay. Value can range from 0 to 1. Default value: ``1``.
  69. .. _class_AudioEffectReverb_property_predelay_msec:
  70. - :ref:`float<class_float>` **predelay_msec**
  71. +----------+--------------------------+
  72. | *Setter* | set_predelay_msec(value) |
  73. +----------+--------------------------+
  74. | *Getter* | get_predelay_msec() |
  75. +----------+--------------------------+
  76. Time between the original signal and the early reflections of the reverb signal. Default value: ``150ms``.
  77. .. _class_AudioEffectReverb_property_room_size:
  78. - :ref:`float<class_float>` **room_size**
  79. +----------+----------------------+
  80. | *Setter* | set_room_size(value) |
  81. +----------+----------------------+
  82. | *Getter* | get_room_size() |
  83. +----------+----------------------+
  84. Dimensions of simulated room. Bigger means more echoes. Value can range from 0 to 1. Default value: ``0.8``.
  85. .. _class_AudioEffectReverb_property_spread:
  86. - :ref:`float<class_float>` **spread**
  87. +----------+-------------------+
  88. | *Setter* | set_spread(value) |
  89. +----------+-------------------+
  90. | *Getter* | get_spread() |
  91. +----------+-------------------+
  92. Widens or narrows the stereo image of the reverb tail. 1 means fully widens. Value can range from 0 to 1. Default value: ``1``.
  93. .. _class_AudioEffectReverb_property_wet:
  94. - :ref:`float<class_float>` **wet**
  95. +----------+----------------+
  96. | *Setter* | set_wet(value) |
  97. +----------+----------------+
  98. | *Getter* | get_wet() |
  99. +----------+----------------+
  100. Output percent of modified sound. At 0, only original sound is outputted. Value can range from 0 to 1. Default value: ``0.5``.