class_audioeffectamplify.rst 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 AudioEffectAmplify.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_AudioEffectAmplify:
  6. AudioEffectAmplify
  7. ==================
  8. **Inherits:** :ref:`AudioEffect<class_AudioEffect>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Adds an amplifying audio effect to an audio bus.
  10. Increases or decreases the volume of the selected audio bus.
  11. Description
  12. -----------
  13. Increases or decreases the volume being routed through the audio bus.
  14. Properties
  15. ----------
  16. +---------------------------+---------------------------------------------------------------+---------+
  17. | :ref:`float<class_float>` | :ref:`volume_db<class_AudioEffectAmplify_property_volume_db>` | ``0.0`` |
  18. +---------------------------+---------------------------------------------------------------+---------+
  19. Property Descriptions
  20. ---------------------
  21. .. _class_AudioEffectAmplify_property_volume_db:
  22. - :ref:`float<class_float>` **volume_db**
  23. +-----------+----------------------+
  24. | *Default* | ``0.0`` |
  25. +-----------+----------------------+
  26. | *Setter* | set_volume_db(value) |
  27. +-----------+----------------------+
  28. | *Getter* | get_volume_db() |
  29. +-----------+----------------------+
  30. Amount of amplification in decibels. Positive values make the sound louder, negative values make it quieter. Value can range from -80 to 24.
  31. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  32. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  33. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`