AudioEffectEQ.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="AudioEffectEQ" inherits="AudioEffect" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  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. AudioEffectEQs are useful on the Master bus to completely master a mix and give it more character. They are also 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. <methods>
  13. <method name="get_band_count" qualifiers="const">
  14. <return type="int" />
  15. <description>
  16. Returns the number of bands of the equalizer.
  17. </description>
  18. </method>
  19. <method name="get_band_gain_db" qualifiers="const">
  20. <return type="float" />
  21. <argument index="0" name="band_idx" type="int" />
  22. <description>
  23. Returns the band's gain at the specified index, in dB.
  24. </description>
  25. </method>
  26. <method name="set_band_gain_db">
  27. <return type="void" />
  28. <argument index="0" name="band_idx" type="int" />
  29. <argument index="1" name="volume_db" type="float" />
  30. <description>
  31. Sets band's gain at the specified index, in dB.
  32. </description>
  33. </method>
  34. </methods>
  35. <constants>
  36. </constants>
  37. </class>