class_audioeffectphaser.rst 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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/AudioEffectPhaser.xml.
  6. .. _class_AudioEffectPhaser:
  7. AudioEffectPhaser
  8. =================
  9. **Inherits:** :ref:`AudioEffect<class_AudioEffect>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Adds a phaser audio effect to an audio bus.
  11. Combines the original signal with a copy that is slightly out of phase with the original.
  12. .. rst-class:: classref-introduction-group
  13. Description
  14. -----------
  15. Combines phase-shifted signals with the original signal. The movement of the phase-shifted signals is controlled using a low-frequency oscillator.
  16. .. rst-class:: classref-introduction-group
  17. Tutorials
  18. ---------
  19. - :doc:`Audio buses <../tutorials/audio/audio_buses>`
  20. .. rst-class:: classref-reftable-group
  21. Properties
  22. ----------
  23. .. table::
  24. :widths: auto
  25. +---------------------------+--------------------------------------------------------------------+------------+
  26. | :ref:`float<class_float>` | :ref:`depth<class_AudioEffectPhaser_property_depth>` | ``1.0`` |
  27. +---------------------------+--------------------------------------------------------------------+------------+
  28. | :ref:`float<class_float>` | :ref:`feedback<class_AudioEffectPhaser_property_feedback>` | ``0.7`` |
  29. +---------------------------+--------------------------------------------------------------------+------------+
  30. | :ref:`float<class_float>` | :ref:`range_max_hz<class_AudioEffectPhaser_property_range_max_hz>` | ``1600.0`` |
  31. +---------------------------+--------------------------------------------------------------------+------------+
  32. | :ref:`float<class_float>` | :ref:`range_min_hz<class_AudioEffectPhaser_property_range_min_hz>` | ``440.0`` |
  33. +---------------------------+--------------------------------------------------------------------+------------+
  34. | :ref:`float<class_float>` | :ref:`rate_hz<class_AudioEffectPhaser_property_rate_hz>` | ``0.5`` |
  35. +---------------------------+--------------------------------------------------------------------+------------+
  36. .. rst-class:: classref-section-separator
  37. ----
  38. .. rst-class:: classref-descriptions-group
  39. Property Descriptions
  40. ---------------------
  41. .. _class_AudioEffectPhaser_property_depth:
  42. .. rst-class:: classref-property
  43. :ref:`float<class_float>` **depth** = ``1.0`` :ref:`🔗<class_AudioEffectPhaser_property_depth>`
  44. .. rst-class:: classref-property-setget
  45. - |void| **set_depth**\ (\ value\: :ref:`float<class_float>`\ )
  46. - :ref:`float<class_float>` **get_depth**\ (\ )
  47. Determines how high the filter frequencies sweep. Low value will primarily affect bass frequencies. High value can sweep high into the treble. Value can range from ``0.1`` to ``4.0``.
  48. .. rst-class:: classref-item-separator
  49. ----
  50. .. _class_AudioEffectPhaser_property_feedback:
  51. .. rst-class:: classref-property
  52. :ref:`float<class_float>` **feedback** = ``0.7`` :ref:`🔗<class_AudioEffectPhaser_property_feedback>`
  53. .. rst-class:: classref-property-setget
  54. - |void| **set_feedback**\ (\ value\: :ref:`float<class_float>`\ )
  55. - :ref:`float<class_float>` **get_feedback**\ (\ )
  56. Output percent of modified sound. Value can range from 0.1 to 0.9.
  57. .. rst-class:: classref-item-separator
  58. ----
  59. .. _class_AudioEffectPhaser_property_range_max_hz:
  60. .. rst-class:: classref-property
  61. :ref:`float<class_float>` **range_max_hz** = ``1600.0`` :ref:`🔗<class_AudioEffectPhaser_property_range_max_hz>`
  62. .. rst-class:: classref-property-setget
  63. - |void| **set_range_max_hz**\ (\ value\: :ref:`float<class_float>`\ )
  64. - :ref:`float<class_float>` **get_range_max_hz**\ (\ )
  65. Determines the maximum frequency affected by the LFO modulations, in Hz. Value can range from 10 to 10000.
  66. .. rst-class:: classref-item-separator
  67. ----
  68. .. _class_AudioEffectPhaser_property_range_min_hz:
  69. .. rst-class:: classref-property
  70. :ref:`float<class_float>` **range_min_hz** = ``440.0`` :ref:`🔗<class_AudioEffectPhaser_property_range_min_hz>`
  71. .. rst-class:: classref-property-setget
  72. - |void| **set_range_min_hz**\ (\ value\: :ref:`float<class_float>`\ )
  73. - :ref:`float<class_float>` **get_range_min_hz**\ (\ )
  74. Determines the minimum frequency affected by the LFO modulations, in Hz. Value can range from 10 to 10000.
  75. .. rst-class:: classref-item-separator
  76. ----
  77. .. _class_AudioEffectPhaser_property_rate_hz:
  78. .. rst-class:: classref-property
  79. :ref:`float<class_float>` **rate_hz** = ``0.5`` :ref:`🔗<class_AudioEffectPhaser_property_rate_hz>`
  80. .. rst-class:: classref-property-setget
  81. - |void| **set_rate_hz**\ (\ value\: :ref:`float<class_float>`\ )
  82. - :ref:`float<class_float>` **get_rate_hz**\ (\ )
  83. Adjusts the rate in Hz at which the effect sweeps up and down across the frequency range.
  84. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  85. .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)`
  86. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  87. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  88. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  89. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  90. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  91. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  92. .. |void| replace:: :abbr:`void (No return value.)`