/
AudioEffectChorus.hx
233 lines (186 loc) · 4.68 KB
/
AudioEffectChorus.hx
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
// Automatically generated Godot externs: DO NOT EDIT
// MIT licensed, see LICENSE.md
package godot;
import cs.system.*;
/**
Adds a chorus audio effect. The effect applies a filter with voices to duplicate the audio source and manipulate it through the filter.
**/
@:libType
@:csNative
@:native("Godot.AudioEffectChorus")
@:autoBuild(godot.Godot.buildUserClass())
extern class AudioEffectChorus extends godot.AudioEffect {
/**
The voice's pan level.
**/
@:native("Voice__4__pan")
public var voice__4__pan:Single;
/**
The voice's cutoff frequency.
**/
@:native("Voice__4__cutoffHz")
public var voice__4__cutoffHz:Single;
/**
The voice's volume.
**/
@:native("Voice__4__levelDb")
public var voice__4__levelDb:Single;
/**
The voice filter's depth.
**/
@:native("Voice__4__depthMs")
public var voice__4__depthMs:Single;
/**
The voice's filter rate.
**/
@:native("Voice__4__rateHz")
public var voice__4__rateHz:Single;
/**
The voice's signal delay.
**/
@:native("Voice__4__delayMs")
public var voice__4__delayMs:Single;
/**
The voice's pan level.
**/
@:native("Voice__3__pan")
public var voice__3__pan:Single;
/**
The voice's cutoff frequency.
**/
@:native("Voice__3__cutoffHz")
public var voice__3__cutoffHz:Single;
/**
The voice's volume.
**/
@:native("Voice__3__levelDb")
public var voice__3__levelDb:Single;
/**
The voice filter's depth.
**/
@:native("Voice__3__depthMs")
public var voice__3__depthMs:Single;
/**
The voice's filter rate.
**/
@:native("Voice__3__rateHz")
public var voice__3__rateHz:Single;
/**
The voice's signal delay.
**/
@:native("Voice__3__delayMs")
public var voice__3__delayMs:Single;
/**
The voice's pan level.
**/
@:native("Voice__2__pan")
public var voice__2__pan:Single;
/**
The voice's cutoff frequency.
**/
@:native("Voice__2__cutoffHz")
public var voice__2__cutoffHz:Single;
/**
The voice's volume.
**/
@:native("Voice__2__levelDb")
public var voice__2__levelDb:Single;
/**
The voice filter's depth.
**/
@:native("Voice__2__depthMs")
public var voice__2__depthMs:Single;
/**
The voice's filter rate.
**/
@:native("Voice__2__rateHz")
public var voice__2__rateHz:Single;
/**
The voice's signal delay.
**/
@:native("Voice__2__delayMs")
public var voice__2__delayMs:Single;
/**
The voice's pan level.
**/
@:native("Voice__1__pan")
public var voice__1__pan:Single;
/**
The voice's cutoff frequency.
**/
@:native("Voice__1__cutoffHz")
public var voice__1__cutoffHz:Single;
/**
The voice's volume.
**/
@:native("Voice__1__levelDb")
public var voice__1__levelDb:Single;
/**
The voice filter's depth.
**/
@:native("Voice__1__depthMs")
public var voice__1__depthMs:Single;
/**
The voice's filter rate.
**/
@:native("Voice__1__rateHz")
public var voice__1__rateHz:Single;
/**
The voice's signal delay.
**/
@:native("Voice__1__delayMs")
public var voice__1__delayMs:Single;
/**
The effect's processed signal.
**/
@:native("Wet")
public var wet:Single;
/**
The effect's raw signal.
**/
@:native("Dry")
public var dry:Single;
/**
The amount of voices in the effect.
**/
@:native("VoiceCount")
public var voiceCount:Int;
@:native("new")
public function new():Void;
@:native("SetVoiceCount")
public function setVoiceCount(voices:Int):Void;
@:native("GetVoiceCount")
public function getVoiceCount():Int;
@:native("SetVoiceDelayMs")
public function setVoiceDelayMs(voiceIdx:Int, delayMs:Single):Void;
@:native("GetVoiceDelayMs")
public function getVoiceDelayMs(voiceIdx:Int):Single;
@:native("SetVoiceRateHz")
public function setVoiceRateHz(voiceIdx:Int, rateHz:Single):Void;
@:native("GetVoiceRateHz")
public function getVoiceRateHz(voiceIdx:Int):Single;
@:native("SetVoiceDepthMs")
public function setVoiceDepthMs(voiceIdx:Int, depthMs:Single):Void;
@:native("GetVoiceDepthMs")
public function getVoiceDepthMs(voiceIdx:Int):Single;
@:native("SetVoiceLevelDb")
public function setVoiceLevelDb(voiceIdx:Int, levelDb:Single):Void;
@:native("GetVoiceLevelDb")
public function getVoiceLevelDb(voiceIdx:Int):Single;
@:native("SetVoiceCutoffHz")
public function setVoiceCutoffHz(voiceIdx:Int, cutoffHz:Single):Void;
@:native("GetVoiceCutoffHz")
public function getVoiceCutoffHz(voiceIdx:Int):Single;
@:native("SetVoicePan")
public function setVoicePan(voiceIdx:Int, pan:Single):Void;
@:native("GetVoicePan")
public function getVoicePan(voiceIdx:Int):Single;
@:native("SetWet")
public function setWet(amount:Single):Void;
@:native("GetWet")
public function getWet():Single;
@:native("SetDry")
public function setDry(amount:Single):Void;
@:native("GetDry")
public function getDry():Single;
}