AudioEffectChorus.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="AudioEffectChorus" inherits="AudioEffect" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Adds a chorus audio effect.
  5. </brief_description>
  6. <description>
  7. Adds a chorus audio effect. The effect applies a filter with voices to duplicate the audio source and manipulate it through the filter.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. <method name="get_voice_cutoff_hz" qualifiers="const">
  13. <return type="float" />
  14. <argument index="0" name="voice_idx" type="int" />
  15. <description>
  16. </description>
  17. </method>
  18. <method name="get_voice_delay_ms" qualifiers="const">
  19. <return type="float" />
  20. <argument index="0" name="voice_idx" type="int" />
  21. <description>
  22. </description>
  23. </method>
  24. <method name="get_voice_depth_ms" qualifiers="const">
  25. <return type="float" />
  26. <argument index="0" name="voice_idx" type="int" />
  27. <description>
  28. </description>
  29. </method>
  30. <method name="get_voice_level_db" qualifiers="const">
  31. <return type="float" />
  32. <argument index="0" name="voice_idx" type="int" />
  33. <description>
  34. </description>
  35. </method>
  36. <method name="get_voice_pan" qualifiers="const">
  37. <return type="float" />
  38. <argument index="0" name="voice_idx" type="int" />
  39. <description>
  40. </description>
  41. </method>
  42. <method name="get_voice_rate_hz" qualifiers="const">
  43. <return type="float" />
  44. <argument index="0" name="voice_idx" type="int" />
  45. <description>
  46. </description>
  47. </method>
  48. <method name="set_voice_cutoff_hz">
  49. <return type="void" />
  50. <argument index="0" name="voice_idx" type="int" />
  51. <argument index="1" name="cutoff_hz" type="float" />
  52. <description>
  53. </description>
  54. </method>
  55. <method name="set_voice_delay_ms">
  56. <return type="void" />
  57. <argument index="0" name="voice_idx" type="int" />
  58. <argument index="1" name="delay_ms" type="float" />
  59. <description>
  60. </description>
  61. </method>
  62. <method name="set_voice_depth_ms">
  63. <return type="void" />
  64. <argument index="0" name="voice_idx" type="int" />
  65. <argument index="1" name="depth_ms" type="float" />
  66. <description>
  67. </description>
  68. </method>
  69. <method name="set_voice_level_db">
  70. <return type="void" />
  71. <argument index="0" name="voice_idx" type="int" />
  72. <argument index="1" name="level_db" type="float" />
  73. <description>
  74. </description>
  75. </method>
  76. <method name="set_voice_pan">
  77. <return type="void" />
  78. <argument index="0" name="voice_idx" type="int" />
  79. <argument index="1" name="pan" type="float" />
  80. <description>
  81. </description>
  82. </method>
  83. <method name="set_voice_rate_hz">
  84. <return type="void" />
  85. <argument index="0" name="voice_idx" type="int" />
  86. <argument index="1" name="rate_hz" type="float" />
  87. <description>
  88. </description>
  89. </method>
  90. </methods>
  91. <members>
  92. <member name="dry" type="float" setter="set_dry" getter="get_dry" default="1.0">
  93. The effect's raw signal.
  94. </member>
  95. <member name="voice/1/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz" default="8000.0">
  96. The voice's cutoff frequency.
  97. </member>
  98. <member name="voice/1/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms" default="15.0">
  99. The voice's signal delay.
  100. </member>
  101. <member name="voice/1/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms" default="2.0">
  102. The voice filter's depth.
  103. </member>
  104. <member name="voice/1/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db" default="0.0">
  105. The voice's volume.
  106. </member>
  107. <member name="voice/1/pan" type="float" setter="set_voice_pan" getter="get_voice_pan" default="-0.5">
  108. The voice's pan level.
  109. </member>
  110. <member name="voice/1/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz" default="0.8">
  111. The voice's filter rate.
  112. </member>
  113. <member name="voice/2/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz" default="8000.0">
  114. The voice's cutoff frequency.
  115. </member>
  116. <member name="voice/2/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms" default="20.0">
  117. The voice's signal delay.
  118. </member>
  119. <member name="voice/2/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms" default="3.0">
  120. The voice filter's depth.
  121. </member>
  122. <member name="voice/2/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db" default="0.0">
  123. The voice's volume.
  124. </member>
  125. <member name="voice/2/pan" type="float" setter="set_voice_pan" getter="get_voice_pan" default="0.5">
  126. The voice's pan level.
  127. </member>
  128. <member name="voice/2/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz" default="1.2">
  129. The voice's filter rate.
  130. </member>
  131. <member name="voice/3/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz">
  132. The voice's cutoff frequency.
  133. </member>
  134. <member name="voice/3/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms">
  135. The voice's signal delay.
  136. </member>
  137. <member name="voice/3/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms">
  138. The voice filter's depth.
  139. </member>
  140. <member name="voice/3/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db">
  141. The voice's volume.
  142. </member>
  143. <member name="voice/3/pan" type="float" setter="set_voice_pan" getter="get_voice_pan">
  144. The voice's pan level.
  145. </member>
  146. <member name="voice/3/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz">
  147. The voice's filter rate.
  148. </member>
  149. <member name="voice/4/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz">
  150. The voice's cutoff frequency.
  151. </member>
  152. <member name="voice/4/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms">
  153. The voice's signal delay.
  154. </member>
  155. <member name="voice/4/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms">
  156. The voice filter's depth.
  157. </member>
  158. <member name="voice/4/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db">
  159. The voice's volume.
  160. </member>
  161. <member name="voice/4/pan" type="float" setter="set_voice_pan" getter="get_voice_pan">
  162. The voice's pan level.
  163. </member>
  164. <member name="voice/4/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz">
  165. The voice's filter rate.
  166. </member>
  167. <member name="voice_count" type="int" setter="set_voice_count" getter="get_voice_count" default="2">
  168. The amount of voices in the effect.
  169. </member>
  170. <member name="wet" type="float" setter="set_wet" getter="get_wet" default="0.5">
  171. The effect's processed signal.
  172. </member>
  173. </members>
  174. <constants>
  175. </constants>
  176. </class>