summaryrefslogtreecommitdiff
path: root/doc/classes/AudioEffectDelay.xml
blob: a9251b6cf0711f7ae98f111578b3952ce7243fef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<?xml version="1.0" encoding="UTF-8" ?>
<class name="AudioEffectDelay" inherits="AudioEffect" category="Core" version="3.0-alpha">
	<brief_description>
		Adds a Delay audio effect to an Audio bus. Plays input signal back after a period of time.
		Two tap delay and feedback options.
	</brief_description>
	<description>
		Plays input signal back after a period of time. The delayed signal may be played back multiple times to create the sound of a repeating, decaying echo. Delay effects range from a subtle echo effect to a pronounced blending of previous sounds with new sounds.
	</description>
	<tutorials>
	</tutorials>
	<demos>
	</demos>
	<methods>
		<method name="get_dry">
			<return type="float">
			</return>
			<description>
			</description>
		</method>
		<method name="get_feedback_delay_ms" qualifiers="const">
			<return type="float">
			</return>
			<description>
			</description>
		</method>
		<method name="get_feedback_level_db" qualifiers="const">
			<return type="float">
			</return>
			<description>
			</description>
		</method>
		<method name="get_feedback_lowpass" qualifiers="const">
			<return type="float">
			</return>
			<description>
			</description>
		</method>
		<method name="get_tap1_delay_ms" qualifiers="const">
			<return type="float">
			</return>
			<description>
			</description>
		</method>
		<method name="get_tap1_level_db" qualifiers="const">
			<return type="float">
			</return>
			<description>
			</description>
		</method>
		<method name="get_tap1_pan" qualifiers="const">
			<return type="float">
			</return>
			<description>
			</description>
		</method>
		<method name="get_tap2_delay_ms" qualifiers="const">
			<return type="float">
			</return>
			<description>
			</description>
		</method>
		<method name="get_tap2_level_db" qualifiers="const">
			<return type="float">
			</return>
			<description>
			</description>
		</method>
		<method name="get_tap2_pan" qualifiers="const">
			<return type="float">
			</return>
			<description>
			</description>
		</method>
		<method name="is_feedback_active" qualifiers="const">
			<return type="bool">
			</return>
			<description>
			</description>
		</method>
		<method name="is_tap1_active" qualifiers="const">
			<return type="bool">
			</return>
			<description>
			</description>
		</method>
		<method name="is_tap2_active" qualifiers="const">
			<return type="bool">
			</return>
			<description>
			</description>
		</method>
		<method name="set_dry">
			<return type="void">
			</return>
			<argument index="0" name="amount" type="float">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_feedback_active">
			<return type="void">
			</return>
			<argument index="0" name="amount" type="bool">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_feedback_delay_ms">
			<return type="void">
			</return>
			<argument index="0" name="amount" type="float">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_feedback_level_db">
			<return type="void">
			</return>
			<argument index="0" name="amount" type="float">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_feedback_lowpass">
			<return type="void">
			</return>
			<argument index="0" name="amount" type="float">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_tap1_active">
			<return type="void">
			</return>
			<argument index="0" name="amount" type="bool">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_tap1_delay_ms">
			<return type="void">
			</return>
			<argument index="0" name="amount" type="float">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_tap1_level_db">
			<return type="void">
			</return>
			<argument index="0" name="amount" type="float">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_tap1_pan">
			<return type="void">
			</return>
			<argument index="0" name="amount" type="float">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_tap2_active">
			<return type="void">
			</return>
			<argument index="0" name="amount" type="bool">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_tap2_delay_ms">
			<return type="void">
			</return>
			<argument index="0" name="amount" type="float">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_tap2_level_db">
			<return type="void">
			</return>
			<argument index="0" name="amount" type="float">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_tap2_pan">
			<return type="void">
			</return>
			<argument index="0" name="amount" type="float">
			</argument>
			<description>
			</description>
		</method>
	</methods>
	<members>
		<member name="dry" type="float" setter="set_dry" getter="get_dry">
			Output percent of original sound. At 0, only delayed sounds are output. Value can range from 0 to 1. Default value: [code]1[/code].
		</member>
		<member name="feedback/active" type="bool" setter="set_feedback_active" getter="is_feedback_active">
			If [code]true[/code] feedback is enabled. Default value: [code]false[/code].
		</member>
		<member name="feedback/delay_ms" type="float" setter="set_feedback_delay_ms" getter="get_feedback_delay_ms">
			Feedback delay time in milliseconds. Default value: [code]340[/code].
		</member>
		<member name="feedback/level_db" type="float" setter="set_feedback_level_db" getter="get_feedback_level_db">
			Sound level for [code]tap1[/code]. Default value: [code]-6 dB[/code].
		</member>
		<member name="feedback/lowpass" type="float" setter="set_feedback_lowpass" getter="get_feedback_lowpass">
			Low-pass filter for feedback. Frequencies below the Low Cut value are filtered out of the source signal. Default value: [code]16000[/code].
		</member>
		<member name="tap1/active" type="bool" setter="set_tap1_active" getter="is_tap1_active">
			If [code]true[/code], [code]tap1[/code] will be enabled. Default value: [code]true[/code].
		</member>
		<member name="tap1/delay_ms" type="float" setter="set_tap1_delay_ms" getter="get_tap1_delay_ms">
			[b]Tap1[/b] delay time in milliseconds. Default value: [code]250ms[/code].
		</member>
		<member name="tap1/level_db" type="float" setter="set_tap1_level_db" getter="get_tap1_level_db">
			Sound level for [code]tap1[/code]. Default value: [code]-6 dB[/code].
		</member>
		<member name="tap1/pan" type="float" setter="set_tap1_pan" getter="get_tap1_pan">
			Pan position for [code]tap1[/code]. Value can range from -1 (fully left) to 1 (fully right). Default value: [code]0.2[/code].
		</member>
		<member name="tap2/active" type="bool" setter="set_tap2_active" getter="is_tap2_active">
			If [code]true[/code], [code]tap2[/code] will be enabled. Default value: [code]true[/code].
		</member>
		<member name="tap2/delay_ms" type="float" setter="set_tap2_delay_ms" getter="get_tap2_delay_ms">
			[b]Tap2[/b] delay time in milliseconds. Default value: [code]500ms[/code].
		</member>
		<member name="tap2/level_db" type="float" setter="set_tap2_level_db" getter="get_tap2_level_db">
			Sound level for [code]tap2[/code]. Default value: [code]-12 dB[/code].
		</member>
		<member name="tap2/pan" type="float" setter="set_tap2_pan" getter="get_tap2_pan">
			Pan position for [code]tap2[/code]. Value can range from -1 (fully left) to 1 (fully right). Default value: [code]-0.4[/code].
		</member>
	</members>
	<constants>
	</constants>
</class>