class_audioeffectreverb.rst 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. Member Functions
  14. ----------------
  15. +----------------------------+----------------------------------------------------------------------------------------------------------------------------+
  16. | :ref:`float<class_float>` | :ref:`get_predelay_feedback<class_AudioEffectReverb_get_predelay_feedback>` **(** **)** const |
  17. +----------------------------+----------------------------------------------------------------------------------------------------------------------------+
  18. | void | :ref:`set_predelay_feedback<class_AudioEffectReverb_set_predelay_feedback>` **(** :ref:`float<class_float>` feedback **)** |
  19. +----------------------------+----------------------------------------------------------------------------------------------------------------------------+
  20. Member Variables
  21. ----------------
  22. .. _class_AudioEffectReverb_damping:
  23. - :ref:`float<class_float>` **damping** - Widens or narrows the stereo image of the reverb tail. 1 means fully widens. Value can range from 0 to 1. Default value: ``1``.
  24. .. _class_AudioEffectReverb_dry:
  25. - :ref:`float<class_float>` **dry** - Output percent of original sound. At 0, only modified sound is outputted. Value can range from 0 to 1. Default value: ``1``.
  26. .. _class_AudioEffectReverb_hipass:
  27. - :ref:`float<class_float>` **hipass** - 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``.
  28. .. _class_AudioEffectReverb_predelay_feedback:
  29. - :ref:`float<class_float>` **predelay_feedback** - Output percent of predelay. Value can range from 0 to 1. Default value: ``1``.
  30. .. _class_AudioEffectReverb_predelay_msec:
  31. - :ref:`float<class_float>` **predelay_msec** - Time between the original signal and the early reflections of the reverb signal. Default value: ``150ms``.
  32. .. _class_AudioEffectReverb_room_size:
  33. - :ref:`float<class_float>` **room_size** - Dimensions of simulated room. Bigger means more echoes. Value can range from 0 to 1. Default value: ``0.8``.
  34. .. _class_AudioEffectReverb_spread:
  35. - :ref:`float<class_float>` **spread** - Defines how reflective the imaginary room's walls are. Value can range from 0 to 1. Default value: ``1``.
  36. .. _class_AudioEffectReverb_wet:
  37. - :ref:`float<class_float>` **wet** - Output percent of modified sound. At 0, only original sound is outputted. Value can range from 0 to 1. Default value: ``0.5``.
  38. Description
  39. -----------
  40. Simulates rooms of different sizes. Its parameters can be adjusted to simulate the sound of a specific room.
  41. Member Function Description
  42. ---------------------------
  43. .. _class_AudioEffectReverb_get_predelay_feedback:
  44. - :ref:`float<class_float>` **get_predelay_feedback** **(** **)** const
  45. .. _class_AudioEffectReverb_set_predelay_feedback:
  46. - void **set_predelay_feedback** **(** :ref:`float<class_float>` feedback **)**