class_audioeffectphaser.rst 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the AudioEffectPhaser.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_AudioEffectPhaser:
  6. AudioEffectPhaser
  7. =================
  8. **Inherits:** :ref:`AudioEffect<class_AudioEffect>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. Adds a Phaser audio effect to an Audio bus.
  13. Combines the original signal with a copy that is slightly out of phase with the original.
  14. Properties
  15. ----------
  16. +---------------------------+--------------------------------------------------------------------+
  17. | :ref:`float<class_float>` | :ref:`depth<class_AudioEffectPhaser_property_depth>` |
  18. +---------------------------+--------------------------------------------------------------------+
  19. | :ref:`float<class_float>` | :ref:`feedback<class_AudioEffectPhaser_property_feedback>` |
  20. +---------------------------+--------------------------------------------------------------------+
  21. | :ref:`float<class_float>` | :ref:`range_max_hz<class_AudioEffectPhaser_property_range_max_hz>` |
  22. +---------------------------+--------------------------------------------------------------------+
  23. | :ref:`float<class_float>` | :ref:`range_min_hz<class_AudioEffectPhaser_property_range_min_hz>` |
  24. +---------------------------+--------------------------------------------------------------------+
  25. | :ref:`float<class_float>` | :ref:`rate_hz<class_AudioEffectPhaser_property_rate_hz>` |
  26. +---------------------------+--------------------------------------------------------------------+
  27. Description
  28. -----------
  29. Combines phase-shifted signals with the original signal. The movement of the phase-shifted signals is controlled using a Low Frequency Oscillator.
  30. Property Descriptions
  31. ---------------------
  32. .. _class_AudioEffectPhaser_property_depth:
  33. - :ref:`float<class_float>` **depth**
  34. +----------+------------------+
  35. | *Setter* | set_depth(value) |
  36. +----------+------------------+
  37. | *Getter* | get_depth() |
  38. +----------+------------------+
  39. Governs 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. Default value: ``1``.
  40. ----
  41. .. _class_AudioEffectPhaser_property_feedback:
  42. - :ref:`float<class_float>` **feedback**
  43. +----------+---------------------+
  44. | *Setter* | set_feedback(value) |
  45. +----------+---------------------+
  46. | *Getter* | get_feedback() |
  47. +----------+---------------------+
  48. Output percent of modified sound. Value can range from 0.1 to 0.9. Default value: ``0.7``.
  49. ----
  50. .. _class_AudioEffectPhaser_property_range_max_hz:
  51. - :ref:`float<class_float>` **range_max_hz**
  52. +----------+-------------------------+
  53. | *Setter* | set_range_max_hz(value) |
  54. +----------+-------------------------+
  55. | *Getter* | get_range_max_hz() |
  56. +----------+-------------------------+
  57. Determines the maximum frequency affected by the LFO modulations. Value can range from 10 to 10000. Default value: ``1600hz``.
  58. ----
  59. .. _class_AudioEffectPhaser_property_range_min_hz:
  60. - :ref:`float<class_float>` **range_min_hz**
  61. +----------+-------------------------+
  62. | *Setter* | set_range_min_hz(value) |
  63. +----------+-------------------------+
  64. | *Getter* | get_range_min_hz() |
  65. +----------+-------------------------+
  66. Determines the minimum frequency affected by the LFO modulations. Value can range from 10 to 10000. Default value: ``440hz``.
  67. ----
  68. .. _class_AudioEffectPhaser_property_rate_hz:
  69. - :ref:`float<class_float>` **rate_hz**
  70. +----------+--------------------+
  71. | *Setter* | set_rate_hz(value) |
  72. +----------+--------------------+
  73. | *Getter* | get_rate_hz() |
  74. +----------+--------------------+
  75. Adjusts the rate at which the effect sweeps up and down across the frequency range.