AudioEffectEQ.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="AudioEffectEQ" inherits="AudioEffect" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. Base class for audio equalizers. Gives you control over frequencies.
  5. Use it to create a custom equalizer if [AudioEffectEQ6], [AudioEffectEQ10] or [AudioEffectEQ21] don't fit your needs.
  6. </brief_description>
  7. <description>
  8. AudioEffectEQ gives you control over frequencies. Use it to compensate for existing deficiencies in audio. AudioEffectEQ are very useful on the Master Bus to completely master a mix and give it character. They are also very useful when a game is run on a mobile device, to adjust the mix to that kind of speakers (it can be added but disabled when headphones are plugged).
  9. </description>
  10. <tutorials>
  11. </tutorials>
  12. <demos>
  13. </demos>
  14. <methods>
  15. <method name="get_band_count" qualifiers="const">
  16. <return type="int">
  17. </return>
  18. <description>
  19. Returns the number of bands of the equalizer.
  20. </description>
  21. </method>
  22. <method name="get_band_gain_db" qualifiers="const">
  23. <return type="float">
  24. </return>
  25. <argument index="0" name="band_idx" type="int">
  26. </argument>
  27. <description>
  28. Returns the band's gain at the specified index, in dB.
  29. </description>
  30. </method>
  31. <method name="set_band_gain_db">
  32. <return type="void">
  33. </return>
  34. <argument index="0" name="band_idx" type="int">
  35. </argument>
  36. <argument index="1" name="volume_db" type="float">
  37. </argument>
  38. <description>
  39. Sets band's gain at the specified index, in dB.
  40. </description>
  41. </method>
  42. </methods>
  43. <constants>
  44. </constants>
  45. </class>