@opendaw/studio-boxes 0.0.46 → 0.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ArpeggioDeviceBox.d.ts.map +1 -1
- package/dist/ArpeggioDeviceBox.js +11 -0
- package/dist/AudioBusBox.d.ts.map +1 -1
- package/dist/AudioBusBox.js +8 -0
- package/dist/AudioClipBox.d.ts.map +1 -1
- package/dist/AudioClipBox.js +9 -0
- package/dist/AudioFileBox.d.ts.map +1 -1
- package/dist/AudioFileBox.js +3 -0
- package/dist/AudioRegionBox.d.ts +9 -7
- package/dist/AudioRegionBox.d.ts.map +1 -1
- package/dist/AudioRegionBox.js +25 -4
- package/dist/AudioUnitBox.d.ts.map +1 -1
- package/dist/AudioUnitBox.js +15 -0
- package/dist/AuxSendBox.d.ts.map +1 -1
- package/dist/AuxSendBox.js +6 -0
- package/dist/CaptureAudioBox.d.ts.map +1 -1
- package/dist/CaptureAudioBox.js +4 -0
- package/dist/CaptureMidiBox.d.ts.map +1 -1
- package/dist/CaptureMidiBox.js +3 -0
- package/dist/ClipPlaybackFields.d.ts.map +1 -1
- package/dist/ClipPlaybackFields.js +6 -0
- package/dist/CompressorDeviceBox.d.ts.map +1 -1
- package/dist/CompressorDeviceBox.js +17 -0
- package/dist/CrusherDeviceBox.d.ts.map +1 -1
- package/dist/CrusherDeviceBox.js +9 -0
- package/dist/DelayDeviceBox.d.ts.map +1 -1
- package/dist/DelayDeviceBox.js +11 -0
- package/dist/Device.d.ts.map +1 -1
- package/dist/Device.js +2 -0
- package/dist/DeviceInterfaceKnobBox.d.ts.map +1 -1
- package/dist/DeviceInterfaceKnobBox.js +5 -0
- package/dist/DeviceUserInterface.d.ts.map +1 -1
- package/dist/DeviceUserInterface.js +1 -0
- package/dist/FoldDeviceBox.d.ts.map +1 -1
- package/dist/FoldDeviceBox.js +8 -0
- package/dist/GrooveShuffleBox.d.ts.map +1 -1
- package/dist/GrooveShuffleBox.js +3 -0
- package/dist/LoopArea.d.ts.map +1 -1
- package/dist/LoopArea.js +3 -0
- package/dist/MIDIOutputBox.d.ts +26 -0
- package/dist/MIDIOutputBox.d.ts.map +1 -0
- package/dist/MIDIOutputBox.js +84 -0
- package/dist/MIDIOutputDeviceBox.d.ts +4 -2
- package/dist/MIDIOutputDeviceBox.d.ts.map +1 -1
- package/dist/MIDIOutputDeviceBox.js +23 -4
- package/dist/MIDIOutputParameterBox.d.ts.map +1 -1
- package/dist/MIDIOutputParameterBox.js +4 -0
- package/dist/MarkerBox.d.ts.map +1 -1
- package/dist/MarkerBox.js +5 -0
- package/dist/MarkerTrack.d.ts.map +1 -1
- package/dist/MarkerTrack.js +3 -0
- package/dist/ModularAudioInputBox.d.ts.map +1 -1
- package/dist/ModularAudioInputBox.js +2 -0
- package/dist/ModularAudioOutputBox.d.ts.map +1 -1
- package/dist/ModularAudioOutputBox.js +2 -0
- package/dist/ModularBox.d.ts.map +1 -1
- package/dist/ModularBox.js +6 -0
- package/dist/ModularDeviceBox.d.ts.map +1 -1
- package/dist/ModularDeviceBox.js +7 -0
- package/dist/ModuleAttributes.d.ts.map +1 -1
- package/dist/ModuleAttributes.js +6 -0
- package/dist/ModuleConnectionBox.d.ts.map +1 -1
- package/dist/ModuleConnectionBox.js +3 -0
- package/dist/ModuleDelayBox.d.ts.map +1 -1
- package/dist/ModuleDelayBox.js +4 -0
- package/dist/ModuleGainBox.d.ts.map +1 -1
- package/dist/ModuleGainBox.js +4 -0
- package/dist/ModuleMultiplierBox.d.ts.map +1 -1
- package/dist/ModuleMultiplierBox.js +5 -0
- package/dist/NanoDeviceBox.d.ts.map +1 -1
- package/dist/NanoDeviceBox.js +8 -0
- package/dist/NoteClipBox.d.ts.map +1 -1
- package/dist/NoteClipBox.js +8 -0
- package/dist/NoteEventBox.d.ts.map +1 -1
- package/dist/NoteEventBox.js +9 -0
- package/dist/NoteEventCollectionBox.d.ts.map +1 -1
- package/dist/NoteEventCollectionBox.js +2 -0
- package/dist/NoteEventRepeatBox.d.ts.map +1 -1
- package/dist/NoteEventRepeatBox.js +4 -0
- package/dist/NoteRegionBox.d.ts.map +1 -1
- package/dist/NoteRegionBox.js +10 -0
- package/dist/PianoMode.d.ts.map +1 -1
- package/dist/PianoMode.js +5 -0
- package/dist/PitchDeviceBox.d.ts.map +1 -1
- package/dist/PitchDeviceBox.js +8 -0
- package/dist/PlayfieldDeviceBox.d.ts.map +1 -1
- package/dist/PlayfieldDeviceBox.js +6 -0
- package/dist/PlayfieldSampleBox.d.ts.map +1 -1
- package/dist/PlayfieldSampleBox.js +19 -0
- package/dist/RevampBell.d.ts.map +1 -1
- package/dist/RevampBell.js +4 -0
- package/dist/RevampDeviceBox.d.ts.map +1 -1
- package/dist/RevampDeviceBox.js +13 -0
- package/dist/RevampPass.d.ts.map +1 -1
- package/dist/RevampPass.js +4 -0
- package/dist/RevampShelf.d.ts.map +1 -1
- package/dist/RevampShelf.js +3 -0
- package/dist/ReverbDeviceBox.d.ts.map +1 -1
- package/dist/ReverbDeviceBox.js +11 -0
- package/dist/RootBox.d.ts +2 -0
- package/dist/RootBox.d.ts.map +1 -1
- package/dist/RootBox.js +23 -0
- package/dist/SelectionBox.d.ts.map +1 -1
- package/dist/SelectionBox.js +2 -0
- package/dist/Signature.d.ts.map +1 -1
- package/dist/Signature.js +2 -0
- package/dist/SoundfontDeviceBox.d.ts.map +1 -1
- package/dist/SoundfontDeviceBox.js +7 -0
- package/dist/SoundfontFileBox.d.ts.map +1 -1
- package/dist/SoundfontFileBox.js +1 -0
- package/dist/StereoToolDeviceBox.d.ts.map +1 -1
- package/dist/StereoToolDeviceBox.js +12 -0
- package/dist/TapeDeviceBox.d.ts.map +1 -1
- package/dist/TapeDeviceBox.js +9 -0
- package/dist/TidalDeviceBox.d.ts +36 -0
- package/dist/TidalDeviceBox.d.ts.map +1 -0
- package/dist/TidalDeviceBox.js +179 -0
- package/dist/TimelineBox.d.ts.map +1 -1
- package/dist/TimelineBox.js +7 -0
- package/dist/TrackBox.d.ts.map +1 -1
- package/dist/TrackBox.js +8 -0
- package/dist/UnknownAudioEffectDeviceBox.d.ts.map +1 -1
- package/dist/UnknownAudioEffectDeviceBox.js +6 -0
- package/dist/UnknownMidiEffectDeviceBox.d.ts.map +1 -1
- package/dist/UnknownMidiEffectDeviceBox.js +6 -0
- package/dist/UploadFileBox.d.ts.map +1 -1
- package/dist/UploadFileBox.js +2 -0
- package/dist/UserInterfaceBox.d.ts.map +1 -1
- package/dist/UserInterfaceBox.js +6 -0
- package/dist/ValueClipBox.d.ts.map +1 -1
- package/dist/ValueClipBox.js +8 -0
- package/dist/ValueEventBox.d.ts.map +1 -1
- package/dist/ValueEventBox.js +6 -0
- package/dist/ValueEventCollectionBox.d.ts.map +1 -1
- package/dist/ValueEventCollectionBox.js +2 -0
- package/dist/ValueEventCurveBox.d.ts.map +1 -1
- package/dist/ValueEventCurveBox.js +2 -0
- package/dist/ValueRegionBox.d.ts.map +1 -1
- package/dist/ValueRegionBox.js +9 -0
- package/dist/VaporisateurDeviceBox.d.ts +30 -1
- package/dist/VaporisateurDeviceBox.d.ts.map +1 -1
- package/dist/VaporisateurDeviceBox.js +212 -2
- package/dist/VaporisateurLFO.d.ts +23 -0
- package/dist/VaporisateurLFO.d.ts.map +1 -0
- package/dist/VaporisateurLFO.js +117 -0
- package/dist/VaporisateurNoise.d.ts +19 -0
- package/dist/VaporisateurNoise.d.ts.map +1 -0
- package/dist/VaporisateurNoise.js +83 -0
- package/dist/VaporisateurOsc.d.ts +19 -0
- package/dist/VaporisateurOsc.d.ts.map +1 -0
- package/dist/VaporisateurOsc.js +83 -0
- package/dist/VelocityDeviceBox.d.ts.map +1 -1
- package/dist/VelocityDeviceBox.js +11 -0
- package/dist/ZeitgeistDeviceBox.d.ts.map +1 -1
- package/dist/ZeitgeistDeviceBox.js +6 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/io.d.ts +3 -1
- package/dist/io.d.ts.map +1 -1
- package/dist/io.js +5 -1
- package/dist/visitor.d.ts +3 -1
- package/dist/visitor.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { safeExecute } from "@opendaw/lib-std";
|
|
2
|
-
import { Box, NoPointers, PointerField, StringField, BooleanField, Float32Field, Int32Field, } from "@opendaw/lib-box";
|
|
2
|
+
import { Box, NoPointers, PointerField, StringField, BooleanField, Float32Field, Int32Field, ArrayField, } from "@opendaw/lib-box";
|
|
3
|
+
import { VaporisateurOsc } from "./VaporisateurOsc";
|
|
4
|
+
import { VaporisateurLFO } from "./VaporisateurLFO";
|
|
5
|
+
import { VaporisateurNoise } from "./VaporisateurNoise";
|
|
3
6
|
import { Pointers } from "@opendaw/studio-enums";
|
|
4
7
|
export class VaporisateurDeviceBox extends Box {
|
|
5
8
|
static create(graph, uuid, constructor) {
|
|
@@ -62,42 +65,87 @@ export class VaporisateurDeviceBox extends Box {
|
|
|
62
65
|
get filterEnvelope() {
|
|
63
66
|
return this.getField(18);
|
|
64
67
|
}
|
|
68
|
+
get decay() {
|
|
69
|
+
return this.getField(19);
|
|
70
|
+
}
|
|
71
|
+
get sustain() {
|
|
72
|
+
return this.getField(20);
|
|
73
|
+
}
|
|
74
|
+
get glideTime() {
|
|
75
|
+
return this.getField(21);
|
|
76
|
+
}
|
|
77
|
+
get voicingMode() {
|
|
78
|
+
return this.getField(22);
|
|
79
|
+
}
|
|
80
|
+
get unisonCount() {
|
|
81
|
+
return this.getField(23);
|
|
82
|
+
}
|
|
83
|
+
get unisonDetune() {
|
|
84
|
+
return this.getField(24);
|
|
85
|
+
}
|
|
86
|
+
get unisonStereo() {
|
|
87
|
+
return this.getField(25);
|
|
88
|
+
}
|
|
89
|
+
get filterOrder() {
|
|
90
|
+
return this.getField(26);
|
|
91
|
+
}
|
|
92
|
+
get filterKeyboard() {
|
|
93
|
+
return this.getField(27);
|
|
94
|
+
}
|
|
95
|
+
get lfo() {
|
|
96
|
+
return this.getField(30);
|
|
97
|
+
}
|
|
98
|
+
get oscillators() {
|
|
99
|
+
return this.getField(40);
|
|
100
|
+
}
|
|
101
|
+
get noise() {
|
|
102
|
+
return this.getField(50);
|
|
103
|
+
}
|
|
104
|
+
get version() {
|
|
105
|
+
return this.getField(99);
|
|
106
|
+
}
|
|
65
107
|
initializeFields() {
|
|
66
108
|
return {
|
|
67
109
|
1: PointerField.create({
|
|
68
110
|
parent: this,
|
|
69
111
|
fieldKey: 1,
|
|
70
112
|
fieldName: "host",
|
|
113
|
+
deprecated: false,
|
|
71
114
|
pointerRules: NoPointers,
|
|
72
115
|
}, Pointers.InstrumentHost, true),
|
|
73
116
|
2: StringField.create({
|
|
74
117
|
parent: this,
|
|
75
118
|
fieldKey: 2,
|
|
76
119
|
fieldName: "label",
|
|
120
|
+
deprecated: false,
|
|
77
121
|
pointerRules: NoPointers,
|
|
78
122
|
}),
|
|
79
123
|
3: StringField.create({
|
|
80
124
|
parent: this,
|
|
81
125
|
fieldKey: 3,
|
|
82
126
|
fieldName: "icon",
|
|
127
|
+
deprecated: false,
|
|
83
128
|
pointerRules: NoPointers,
|
|
84
129
|
}),
|
|
85
130
|
4: BooleanField.create({
|
|
86
131
|
parent: this,
|
|
87
132
|
fieldKey: 4,
|
|
88
133
|
fieldName: "enabled",
|
|
134
|
+
deprecated: false,
|
|
89
135
|
pointerRules: NoPointers,
|
|
90
136
|
}, true),
|
|
91
137
|
5: BooleanField.create({
|
|
92
138
|
parent: this,
|
|
93
139
|
fieldKey: 5,
|
|
94
140
|
fieldName: "minimized",
|
|
141
|
+
deprecated: false,
|
|
95
142
|
pointerRules: NoPointers,
|
|
96
143
|
}, false),
|
|
97
144
|
10: Float32Field.create({
|
|
98
145
|
parent: this,
|
|
99
146
|
fieldKey: 10,
|
|
100
147
|
fieldName: "volume",
|
|
148
|
+
deprecated: true,
|
|
101
149
|
pointerRules: {
|
|
102
150
|
accepts: [
|
|
103
151
|
Pointers.Modulation,
|
|
@@ -106,11 +154,12 @@ export class VaporisateurDeviceBox extends Box {
|
|
|
106
154
|
],
|
|
107
155
|
mandatory: false,
|
|
108
156
|
},
|
|
109
|
-
}),
|
|
157
|
+
}, -6),
|
|
110
158
|
11: Int32Field.create({
|
|
111
159
|
parent: this,
|
|
112
160
|
fieldKey: 11,
|
|
113
161
|
fieldName: "octave",
|
|
162
|
+
deprecated: true,
|
|
114
163
|
pointerRules: {
|
|
115
164
|
accepts: [
|
|
116
165
|
Pointers.Modulation,
|
|
@@ -124,6 +173,7 @@ export class VaporisateurDeviceBox extends Box {
|
|
|
124
173
|
parent: this,
|
|
125
174
|
fieldKey: 12,
|
|
126
175
|
fieldName: "tune",
|
|
176
|
+
deprecated: true,
|
|
127
177
|
pointerRules: {
|
|
128
178
|
accepts: [
|
|
129
179
|
Pointers.Modulation,
|
|
@@ -137,6 +187,7 @@ export class VaporisateurDeviceBox extends Box {
|
|
|
137
187
|
parent: this,
|
|
138
188
|
fieldKey: 13,
|
|
139
189
|
fieldName: "waveform",
|
|
190
|
+
deprecated: true,
|
|
140
191
|
pointerRules: {
|
|
141
192
|
accepts: [
|
|
142
193
|
Pointers.Modulation,
|
|
@@ -150,6 +201,7 @@ export class VaporisateurDeviceBox extends Box {
|
|
|
150
201
|
parent: this,
|
|
151
202
|
fieldKey: 14,
|
|
152
203
|
fieldName: "cutoff",
|
|
204
|
+
deprecated: false,
|
|
153
205
|
pointerRules: {
|
|
154
206
|
accepts: [
|
|
155
207
|
Pointers.Modulation,
|
|
@@ -163,6 +215,7 @@ export class VaporisateurDeviceBox extends Box {
|
|
|
163
215
|
parent: this,
|
|
164
216
|
fieldKey: 15,
|
|
165
217
|
fieldName: "resonance",
|
|
218
|
+
deprecated: false,
|
|
166
219
|
pointerRules: {
|
|
167
220
|
accepts: [
|
|
168
221
|
Pointers.Modulation,
|
|
@@ -176,6 +229,7 @@ export class VaporisateurDeviceBox extends Box {
|
|
|
176
229
|
parent: this,
|
|
177
230
|
fieldKey: 16,
|
|
178
231
|
fieldName: "attack",
|
|
232
|
+
deprecated: false,
|
|
179
233
|
pointerRules: {
|
|
180
234
|
accepts: [
|
|
181
235
|
Pointers.Modulation,
|
|
@@ -189,6 +243,7 @@ export class VaporisateurDeviceBox extends Box {
|
|
|
189
243
|
parent: this,
|
|
190
244
|
fieldKey: 17,
|
|
191
245
|
fieldName: "release",
|
|
246
|
+
deprecated: false,
|
|
192
247
|
pointerRules: {
|
|
193
248
|
accepts: [
|
|
194
249
|
Pointers.Modulation,
|
|
@@ -202,6 +257,35 @@ export class VaporisateurDeviceBox extends Box {
|
|
|
202
257
|
parent: this,
|
|
203
258
|
fieldKey: 18,
|
|
204
259
|
fieldName: "filterEnvelope",
|
|
260
|
+
deprecated: false,
|
|
261
|
+
pointerRules: {
|
|
262
|
+
accepts: [
|
|
263
|
+
Pointers.Modulation,
|
|
264
|
+
Pointers.Automation,
|
|
265
|
+
Pointers.MidiControl,
|
|
266
|
+
],
|
|
267
|
+
mandatory: false,
|
|
268
|
+
},
|
|
269
|
+
}),
|
|
270
|
+
19: Float32Field.create({
|
|
271
|
+
parent: this,
|
|
272
|
+
fieldKey: 19,
|
|
273
|
+
fieldName: "decay",
|
|
274
|
+
deprecated: false,
|
|
275
|
+
pointerRules: {
|
|
276
|
+
accepts: [
|
|
277
|
+
Pointers.Modulation,
|
|
278
|
+
Pointers.Automation,
|
|
279
|
+
Pointers.MidiControl,
|
|
280
|
+
],
|
|
281
|
+
mandatory: false,
|
|
282
|
+
},
|
|
283
|
+
}, 0.001),
|
|
284
|
+
20: Float32Field.create({
|
|
285
|
+
parent: this,
|
|
286
|
+
fieldKey: 20,
|
|
287
|
+
fieldName: "sustain",
|
|
288
|
+
deprecated: false,
|
|
205
289
|
pointerRules: {
|
|
206
290
|
accepts: [
|
|
207
291
|
Pointers.Modulation,
|
|
@@ -210,6 +294,132 @@ export class VaporisateurDeviceBox extends Box {
|
|
|
210
294
|
],
|
|
211
295
|
mandatory: false,
|
|
212
296
|
},
|
|
297
|
+
}, 1),
|
|
298
|
+
21: Float32Field.create({
|
|
299
|
+
parent: this,
|
|
300
|
+
fieldKey: 21,
|
|
301
|
+
fieldName: "glideTime",
|
|
302
|
+
deprecated: false,
|
|
303
|
+
pointerRules: {
|
|
304
|
+
accepts: [
|
|
305
|
+
Pointers.Modulation,
|
|
306
|
+
Pointers.Automation,
|
|
307
|
+
Pointers.MidiControl,
|
|
308
|
+
],
|
|
309
|
+
mandatory: false,
|
|
310
|
+
},
|
|
311
|
+
}, 0),
|
|
312
|
+
22: Int32Field.create({
|
|
313
|
+
parent: this,
|
|
314
|
+
fieldKey: 22,
|
|
315
|
+
fieldName: "voicingMode",
|
|
316
|
+
deprecated: false,
|
|
317
|
+
pointerRules: {
|
|
318
|
+
accepts: [
|
|
319
|
+
Pointers.Modulation,
|
|
320
|
+
Pointers.Automation,
|
|
321
|
+
Pointers.MidiControl,
|
|
322
|
+
],
|
|
323
|
+
mandatory: false,
|
|
324
|
+
},
|
|
325
|
+
}, 1),
|
|
326
|
+
23: Int32Field.create({
|
|
327
|
+
parent: this,
|
|
328
|
+
fieldKey: 23,
|
|
329
|
+
fieldName: "unisonCount",
|
|
330
|
+
deprecated: false,
|
|
331
|
+
pointerRules: {
|
|
332
|
+
accepts: [
|
|
333
|
+
Pointers.Modulation,
|
|
334
|
+
Pointers.Automation,
|
|
335
|
+
Pointers.MidiControl,
|
|
336
|
+
],
|
|
337
|
+
mandatory: false,
|
|
338
|
+
},
|
|
339
|
+
}, 1),
|
|
340
|
+
24: Float32Field.create({
|
|
341
|
+
parent: this,
|
|
342
|
+
fieldKey: 24,
|
|
343
|
+
fieldName: "unisonDetune",
|
|
344
|
+
deprecated: false,
|
|
345
|
+
pointerRules: {
|
|
346
|
+
accepts: [
|
|
347
|
+
Pointers.Modulation,
|
|
348
|
+
Pointers.Automation,
|
|
349
|
+
Pointers.MidiControl,
|
|
350
|
+
],
|
|
351
|
+
mandatory: false,
|
|
352
|
+
},
|
|
353
|
+
}, 30),
|
|
354
|
+
25: Float32Field.create({
|
|
355
|
+
parent: this,
|
|
356
|
+
fieldKey: 25,
|
|
357
|
+
fieldName: "unisonStereo",
|
|
358
|
+
deprecated: false,
|
|
359
|
+
pointerRules: {
|
|
360
|
+
accepts: [
|
|
361
|
+
Pointers.Modulation,
|
|
362
|
+
Pointers.Automation,
|
|
363
|
+
Pointers.MidiControl,
|
|
364
|
+
],
|
|
365
|
+
mandatory: false,
|
|
366
|
+
},
|
|
367
|
+
}, 1),
|
|
368
|
+
26: Int32Field.create({
|
|
369
|
+
parent: this,
|
|
370
|
+
fieldKey: 26,
|
|
371
|
+
fieldName: "filterOrder",
|
|
372
|
+
deprecated: false,
|
|
373
|
+
pointerRules: {
|
|
374
|
+
accepts: [
|
|
375
|
+
Pointers.Modulation,
|
|
376
|
+
Pointers.Automation,
|
|
377
|
+
Pointers.MidiControl,
|
|
378
|
+
],
|
|
379
|
+
mandatory: false,
|
|
380
|
+
},
|
|
381
|
+
}, 1),
|
|
382
|
+
27: Float32Field.create({
|
|
383
|
+
parent: this,
|
|
384
|
+
fieldKey: 27,
|
|
385
|
+
fieldName: "filterKeyboard",
|
|
386
|
+
deprecated: false,
|
|
387
|
+
pointerRules: {
|
|
388
|
+
accepts: [
|
|
389
|
+
Pointers.Modulation,
|
|
390
|
+
Pointers.Automation,
|
|
391
|
+
Pointers.MidiControl,
|
|
392
|
+
],
|
|
393
|
+
mandatory: false,
|
|
394
|
+
},
|
|
395
|
+
}),
|
|
396
|
+
30: VaporisateurLFO.create({
|
|
397
|
+
parent: this,
|
|
398
|
+
fieldKey: 30,
|
|
399
|
+
fieldName: "lfo",
|
|
400
|
+
deprecated: false,
|
|
401
|
+
pointerRules: NoPointers,
|
|
402
|
+
}),
|
|
403
|
+
40: ArrayField.create({
|
|
404
|
+
parent: this,
|
|
405
|
+
fieldKey: 40,
|
|
406
|
+
fieldName: "oscillators",
|
|
407
|
+
deprecated: false,
|
|
408
|
+
pointerRules: NoPointers,
|
|
409
|
+
}, (construct) => VaporisateurOsc.create(construct), 2),
|
|
410
|
+
50: VaporisateurNoise.create({
|
|
411
|
+
parent: this,
|
|
412
|
+
fieldKey: 50,
|
|
413
|
+
fieldName: "noise",
|
|
414
|
+
deprecated: false,
|
|
415
|
+
pointerRules: NoPointers,
|
|
416
|
+
}),
|
|
417
|
+
99: Int32Field.create({
|
|
418
|
+
parent: this,
|
|
419
|
+
fieldKey: 99,
|
|
420
|
+
fieldName: "version",
|
|
421
|
+
deprecated: false,
|
|
422
|
+
pointerRules: NoPointers,
|
|
213
423
|
}),
|
|
214
424
|
};
|
|
215
425
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import "@opendaw/lib-std";
|
|
2
|
+
import { ObjectField, FieldConstruct, Int32Field, Float32Field, BooleanField, UnreferenceableType } from "@opendaw/lib-box";
|
|
3
|
+
import { Pointers } from "@opendaw/studio-enums";
|
|
4
|
+
export type VaporisateurLFOFields = {
|
|
5
|
+
1: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
6
|
+
2: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
7
|
+
3: BooleanField<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
8
|
+
10: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
9
|
+
11: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
10
|
+
12: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
11
|
+
};
|
|
12
|
+
export declare class VaporisateurLFO extends ObjectField<VaporisateurLFOFields> {
|
|
13
|
+
static create(construct: FieldConstruct<UnreferenceableType>): VaporisateurLFO;
|
|
14
|
+
private constructor();
|
|
15
|
+
get waveform(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
16
|
+
get rate(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
17
|
+
get sync(): BooleanField<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
18
|
+
get targetTune(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
19
|
+
get targetCutoff(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
20
|
+
get targetVolume(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
21
|
+
initializeFields(): VaporisateurLFOFields;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=VaporisateurLFO.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VaporisateurLFO.d.ts","sourceRoot":"","sources":["../src/VaporisateurLFO.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAA;AACzB,OAAO,EACH,WAAW,EACX,cAAc,EACd,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,mBAAmB,EACtB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAA;AAW9C,MAAM,MAAM,qBAAqB,GAAG;IAChC,CAAC,EAAiB,UAAU,CACxB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;IACD,CAAC,EAAgB,YAAY,CACzB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;IACD,CAAC,EAAoB,YAAY,CAC7B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;IACD,EAAE,EAAmB,YAAY,CAC7B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;IACD,EAAE,EAAqB,YAAY,CAC/B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;IACD,EAAE,EAAqB,YAAY,CAC/B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;CACJ,CAAA;AAED,qBAAa,eAAgB,SAAQ,WAAW,CAAC,qBAAqB,CAAC;IACnE,MAAM,CAAC,MAAM,CACT,SAAS,EAAE,cAAc,CAAC,mBAAmB,CAAC,GAC/C,eAAe;IAIlB,OAAO;IAIP,IAAI,QAAQ,IAAI,UAAU,CACtB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,IAAI,IAAI,IAAI,YAAY,CACpB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,IAAI,IAAI,IAAI,YAAY,CACpB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,IAAI,UAAU,IAAI,YAAY,CAC1B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,IAAI,YAAY,IAAI,YAAY,CAC5B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,IAAI,YAAY,IAAI,YAAY,CAC5B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,gBAAgB,IAAI,qBAAqB;CA8F5C"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import "@opendaw/lib-std";
|
|
2
|
+
import { ObjectField, Int32Field, Float32Field, BooleanField, } from "@opendaw/lib-box";
|
|
3
|
+
import { Pointers } from "@opendaw/studio-enums";
|
|
4
|
+
export class VaporisateurLFO extends ObjectField {
|
|
5
|
+
static create(construct) {
|
|
6
|
+
return new VaporisateurLFO(construct);
|
|
7
|
+
}
|
|
8
|
+
constructor(construct) {
|
|
9
|
+
super(construct);
|
|
10
|
+
}
|
|
11
|
+
get waveform() {
|
|
12
|
+
return this.getField(1);
|
|
13
|
+
}
|
|
14
|
+
get rate() {
|
|
15
|
+
return this.getField(2);
|
|
16
|
+
}
|
|
17
|
+
get sync() {
|
|
18
|
+
return this.getField(3);
|
|
19
|
+
}
|
|
20
|
+
get targetTune() {
|
|
21
|
+
return this.getField(10);
|
|
22
|
+
}
|
|
23
|
+
get targetCutoff() {
|
|
24
|
+
return this.getField(11);
|
|
25
|
+
}
|
|
26
|
+
get targetVolume() {
|
|
27
|
+
return this.getField(12);
|
|
28
|
+
}
|
|
29
|
+
initializeFields() {
|
|
30
|
+
return {
|
|
31
|
+
1: Int32Field.create({
|
|
32
|
+
parent: this,
|
|
33
|
+
fieldKey: 1,
|
|
34
|
+
fieldName: "waveform",
|
|
35
|
+
deprecated: false,
|
|
36
|
+
pointerRules: {
|
|
37
|
+
accepts: [
|
|
38
|
+
Pointers.Modulation,
|
|
39
|
+
Pointers.Automation,
|
|
40
|
+
Pointers.MidiControl,
|
|
41
|
+
],
|
|
42
|
+
mandatory: false,
|
|
43
|
+
},
|
|
44
|
+
}),
|
|
45
|
+
2: Float32Field.create({
|
|
46
|
+
parent: this,
|
|
47
|
+
fieldKey: 2,
|
|
48
|
+
fieldName: "rate",
|
|
49
|
+
deprecated: false,
|
|
50
|
+
pointerRules: {
|
|
51
|
+
accepts: [
|
|
52
|
+
Pointers.Modulation,
|
|
53
|
+
Pointers.Automation,
|
|
54
|
+
Pointers.MidiControl,
|
|
55
|
+
],
|
|
56
|
+
mandatory: false,
|
|
57
|
+
},
|
|
58
|
+
}, 0),
|
|
59
|
+
3: BooleanField.create({
|
|
60
|
+
parent: this,
|
|
61
|
+
fieldKey: 3,
|
|
62
|
+
fieldName: "sync",
|
|
63
|
+
deprecated: false,
|
|
64
|
+
pointerRules: {
|
|
65
|
+
accepts: [
|
|
66
|
+
Pointers.Modulation,
|
|
67
|
+
Pointers.Automation,
|
|
68
|
+
Pointers.MidiControl,
|
|
69
|
+
],
|
|
70
|
+
mandatory: false,
|
|
71
|
+
},
|
|
72
|
+
}, false),
|
|
73
|
+
10: Float32Field.create({
|
|
74
|
+
parent: this,
|
|
75
|
+
fieldKey: 10,
|
|
76
|
+
fieldName: "targetTune",
|
|
77
|
+
deprecated: false,
|
|
78
|
+
pointerRules: {
|
|
79
|
+
accepts: [
|
|
80
|
+
Pointers.Modulation,
|
|
81
|
+
Pointers.Automation,
|
|
82
|
+
Pointers.MidiControl,
|
|
83
|
+
],
|
|
84
|
+
mandatory: false,
|
|
85
|
+
},
|
|
86
|
+
}),
|
|
87
|
+
11: Float32Field.create({
|
|
88
|
+
parent: this,
|
|
89
|
+
fieldKey: 11,
|
|
90
|
+
fieldName: "targetCutoff",
|
|
91
|
+
deprecated: false,
|
|
92
|
+
pointerRules: {
|
|
93
|
+
accepts: [
|
|
94
|
+
Pointers.Modulation,
|
|
95
|
+
Pointers.Automation,
|
|
96
|
+
Pointers.MidiControl,
|
|
97
|
+
],
|
|
98
|
+
mandatory: false,
|
|
99
|
+
},
|
|
100
|
+
}),
|
|
101
|
+
12: Float32Field.create({
|
|
102
|
+
parent: this,
|
|
103
|
+
fieldKey: 12,
|
|
104
|
+
fieldName: "targetVolume",
|
|
105
|
+
deprecated: false,
|
|
106
|
+
pointerRules: {
|
|
107
|
+
accepts: [
|
|
108
|
+
Pointers.Modulation,
|
|
109
|
+
Pointers.Automation,
|
|
110
|
+
Pointers.MidiControl,
|
|
111
|
+
],
|
|
112
|
+
mandatory: false,
|
|
113
|
+
},
|
|
114
|
+
}),
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "@opendaw/lib-std";
|
|
2
|
+
import { ObjectField, FieldConstruct, Float32Field, UnreferenceableType } from "@opendaw/lib-box";
|
|
3
|
+
import { Pointers } from "@opendaw/studio-enums";
|
|
4
|
+
export type VaporisateurNoiseFields = {
|
|
5
|
+
1: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
6
|
+
2: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
7
|
+
3: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
8
|
+
4: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
9
|
+
};
|
|
10
|
+
export declare class VaporisateurNoise extends ObjectField<VaporisateurNoiseFields> {
|
|
11
|
+
static create(construct: FieldConstruct<UnreferenceableType>): VaporisateurNoise;
|
|
12
|
+
private constructor();
|
|
13
|
+
get attack(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
14
|
+
get hold(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
15
|
+
get release(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
16
|
+
get volume(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
17
|
+
initializeFields(): VaporisateurNoiseFields;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=VaporisateurNoise.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VaporisateurNoise.d.ts","sourceRoot":"","sources":["../src/VaporisateurNoise.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAA;AACzB,OAAO,EACH,WAAW,EACX,cAAc,EACd,YAAY,EACZ,mBAAmB,EACtB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAA;AAW9C,MAAM,MAAM,uBAAuB,GAAG;IAClC,CAAC,EAAsB,YAAY,CAC/B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;IACD,CAAC,EAAoB,YAAY,CAC7B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;IACD,CAAC,EAAuB,YAAY,CAChC,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;IACD,CAAC,EAAsB,YAAY,CAC/B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;CACJ,CAAA;AAED,qBAAa,iBAAkB,SAAQ,WAAW,CAAC,uBAAuB,CAAC;IACvE,MAAM,CAAC,MAAM,CACT,SAAS,EAAE,cAAc,CAAC,mBAAmB,CAAC,GAC/C,iBAAiB;IAIpB,OAAO;IAIP,IAAI,MAAM,IAAI,YAAY,CACtB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,IAAI,IAAI,IAAI,YAAY,CACpB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,IAAI,OAAO,IAAI,YAAY,CACvB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,IAAI,MAAM,IAAI,YAAY,CACtB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,gBAAgB,IAAI,uBAAuB;CAwE9C"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import "@opendaw/lib-std";
|
|
2
|
+
import { ObjectField, Float32Field, } from "@opendaw/lib-box";
|
|
3
|
+
import { Pointers } from "@opendaw/studio-enums";
|
|
4
|
+
export class VaporisateurNoise extends ObjectField {
|
|
5
|
+
static create(construct) {
|
|
6
|
+
return new VaporisateurNoise(construct);
|
|
7
|
+
}
|
|
8
|
+
constructor(construct) {
|
|
9
|
+
super(construct);
|
|
10
|
+
}
|
|
11
|
+
get attack() {
|
|
12
|
+
return this.getField(1);
|
|
13
|
+
}
|
|
14
|
+
get hold() {
|
|
15
|
+
return this.getField(2);
|
|
16
|
+
}
|
|
17
|
+
get release() {
|
|
18
|
+
return this.getField(3);
|
|
19
|
+
}
|
|
20
|
+
get volume() {
|
|
21
|
+
return this.getField(4);
|
|
22
|
+
}
|
|
23
|
+
initializeFields() {
|
|
24
|
+
return {
|
|
25
|
+
1: Float32Field.create({
|
|
26
|
+
parent: this,
|
|
27
|
+
fieldKey: 1,
|
|
28
|
+
fieldName: "attack",
|
|
29
|
+
deprecated: false,
|
|
30
|
+
pointerRules: {
|
|
31
|
+
accepts: [
|
|
32
|
+
Pointers.Modulation,
|
|
33
|
+
Pointers.Automation,
|
|
34
|
+
Pointers.MidiControl,
|
|
35
|
+
],
|
|
36
|
+
mandatory: false,
|
|
37
|
+
},
|
|
38
|
+
}, 0.001),
|
|
39
|
+
2: Float32Field.create({
|
|
40
|
+
parent: this,
|
|
41
|
+
fieldKey: 2,
|
|
42
|
+
fieldName: "hold",
|
|
43
|
+
deprecated: false,
|
|
44
|
+
pointerRules: {
|
|
45
|
+
accepts: [
|
|
46
|
+
Pointers.Modulation,
|
|
47
|
+
Pointers.Automation,
|
|
48
|
+
Pointers.MidiControl,
|
|
49
|
+
],
|
|
50
|
+
mandatory: false,
|
|
51
|
+
},
|
|
52
|
+
}, 0.001),
|
|
53
|
+
3: Float32Field.create({
|
|
54
|
+
parent: this,
|
|
55
|
+
fieldKey: 3,
|
|
56
|
+
fieldName: "release",
|
|
57
|
+
deprecated: false,
|
|
58
|
+
pointerRules: {
|
|
59
|
+
accepts: [
|
|
60
|
+
Pointers.Modulation,
|
|
61
|
+
Pointers.Automation,
|
|
62
|
+
Pointers.MidiControl,
|
|
63
|
+
],
|
|
64
|
+
mandatory: false,
|
|
65
|
+
},
|
|
66
|
+
}, 0.001),
|
|
67
|
+
4: Float32Field.create({
|
|
68
|
+
parent: this,
|
|
69
|
+
fieldKey: 4,
|
|
70
|
+
fieldName: "volume",
|
|
71
|
+
deprecated: false,
|
|
72
|
+
pointerRules: {
|
|
73
|
+
accepts: [
|
|
74
|
+
Pointers.Modulation,
|
|
75
|
+
Pointers.Automation,
|
|
76
|
+
Pointers.MidiControl,
|
|
77
|
+
],
|
|
78
|
+
mandatory: false,
|
|
79
|
+
},
|
|
80
|
+
}, 0.001),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "@opendaw/lib-std";
|
|
2
|
+
import { ObjectField, FieldConstruct, Int32Field, Float32Field, UnreferenceableType } from "@opendaw/lib-box";
|
|
3
|
+
import { Pointers } from "@opendaw/studio-enums";
|
|
4
|
+
export type VaporisateurOscFields = {
|
|
5
|
+
1: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
6
|
+
2: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
7
|
+
3: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
8
|
+
4: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
9
|
+
};
|
|
10
|
+
export declare class VaporisateurOsc extends ObjectField<VaporisateurOscFields> {
|
|
11
|
+
static create(construct: FieldConstruct<UnreferenceableType>): VaporisateurOsc;
|
|
12
|
+
private constructor();
|
|
13
|
+
get waveform(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
14
|
+
get volume(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
15
|
+
get octave(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
16
|
+
get tune(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
|
17
|
+
initializeFields(): VaporisateurOscFields;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=VaporisateurOsc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VaporisateurOsc.d.ts","sourceRoot":"","sources":["../src/VaporisateurOsc.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAA;AACzB,OAAO,EACH,WAAW,EACX,cAAc,EACd,UAAU,EACV,YAAY,EACZ,mBAAmB,EACtB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAA;AAW9C,MAAM,MAAM,qBAAqB,GAAG;IAChC,CAAC,EAAiB,UAAU,CACxB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;IACD,CAAC,EAA0B,YAAY,CACnC,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;IACD,CAAC,EAAkB,UAAU,CACzB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;IACD,CAAC,EAAa,YAAY,CACtB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAAA;CACJ,CAAA;AAED,qBAAa,eAAgB,SAAQ,WAAW,CAAC,qBAAqB,CAAC;IACnE,MAAM,CAAC,MAAM,CACT,SAAS,EAAE,cAAc,CAAC,mBAAmB,CAAC,GAC/C,eAAe;IAIlB,OAAO;IAIP,IAAI,QAAQ,IAAI,UAAU,CACtB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,IAAI,MAAM,IAAI,YAAY,CACtB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,IAAI,MAAM,IAAI,UAAU,CACpB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,IAAI,IAAI,IAAI,YAAY,CACpB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACnE,CAEA;IAED,gBAAgB,IAAI,qBAAqB;CAkE5C"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import "@opendaw/lib-std";
|
|
2
|
+
import { ObjectField, Int32Field, Float32Field, } from "@opendaw/lib-box";
|
|
3
|
+
import { Pointers } from "@opendaw/studio-enums";
|
|
4
|
+
export class VaporisateurOsc extends ObjectField {
|
|
5
|
+
static create(construct) {
|
|
6
|
+
return new VaporisateurOsc(construct);
|
|
7
|
+
}
|
|
8
|
+
constructor(construct) {
|
|
9
|
+
super(construct);
|
|
10
|
+
}
|
|
11
|
+
get waveform() {
|
|
12
|
+
return this.getField(1);
|
|
13
|
+
}
|
|
14
|
+
get volume() {
|
|
15
|
+
return this.getField(2);
|
|
16
|
+
}
|
|
17
|
+
get octave() {
|
|
18
|
+
return this.getField(3);
|
|
19
|
+
}
|
|
20
|
+
get tune() {
|
|
21
|
+
return this.getField(4);
|
|
22
|
+
}
|
|
23
|
+
initializeFields() {
|
|
24
|
+
return {
|
|
25
|
+
1: Int32Field.create({
|
|
26
|
+
parent: this,
|
|
27
|
+
fieldKey: 1,
|
|
28
|
+
fieldName: "waveform",
|
|
29
|
+
deprecated: false,
|
|
30
|
+
pointerRules: {
|
|
31
|
+
accepts: [
|
|
32
|
+
Pointers.Modulation,
|
|
33
|
+
Pointers.Automation,
|
|
34
|
+
Pointers.MidiControl,
|
|
35
|
+
],
|
|
36
|
+
mandatory: false,
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
2: Float32Field.create({
|
|
40
|
+
parent: this,
|
|
41
|
+
fieldKey: 2,
|
|
42
|
+
fieldName: "volume",
|
|
43
|
+
deprecated: false,
|
|
44
|
+
pointerRules: {
|
|
45
|
+
accepts: [
|
|
46
|
+
Pointers.Modulation,
|
|
47
|
+
Pointers.Automation,
|
|
48
|
+
Pointers.MidiControl,
|
|
49
|
+
],
|
|
50
|
+
mandatory: false,
|
|
51
|
+
},
|
|
52
|
+
}, -Infinity),
|
|
53
|
+
3: Int32Field.create({
|
|
54
|
+
parent: this,
|
|
55
|
+
fieldKey: 3,
|
|
56
|
+
fieldName: "octave",
|
|
57
|
+
deprecated: false,
|
|
58
|
+
pointerRules: {
|
|
59
|
+
accepts: [
|
|
60
|
+
Pointers.Modulation,
|
|
61
|
+
Pointers.Automation,
|
|
62
|
+
Pointers.MidiControl,
|
|
63
|
+
],
|
|
64
|
+
mandatory: false,
|
|
65
|
+
},
|
|
66
|
+
}, 0),
|
|
67
|
+
4: Float32Field.create({
|
|
68
|
+
parent: this,
|
|
69
|
+
fieldKey: 4,
|
|
70
|
+
fieldName: "tune",
|
|
71
|
+
deprecated: false,
|
|
72
|
+
pointerRules: {
|
|
73
|
+
accepts: [
|
|
74
|
+
Pointers.Modulation,
|
|
75
|
+
Pointers.Automation,
|
|
76
|
+
Pointers.MidiControl,
|
|
77
|
+
],
|
|
78
|
+
mandatory: false,
|
|
79
|
+
},
|
|
80
|
+
}),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}
|