@opendaw/studio-boxes 0.0.109 → 0.0.111
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/AudioEffectCompositeCellBox.d.ts +1 -0
- package/dist/AudioEffectCompositeCellBox.d.ts.map +1 -1
- package/dist/AudioEffectCompositeCellBox.js +2 -1
- package/dist/AudioSinkDeviceBox.d.ts +32 -0
- package/dist/AudioSinkDeviceBox.d.ts.map +1 -0
- package/dist/AudioSinkDeviceBox.js +119 -0
- package/dist/CrusherDeviceBox.js +1 -1
- package/dist/CubedPattern.js +1 -1
- package/dist/{CompositeDeviceBox.d.ts → InstrumentCompositeBox.d.ts} +7 -7
- package/dist/InstrumentCompositeBox.d.ts.map +1 -0
- package/dist/{CompositeDeviceBox.js → InstrumentCompositeBox.js} +7 -7
- package/dist/InstrumentCompositeCellBox.d.ts +38 -0
- package/dist/InstrumentCompositeCellBox.d.ts.map +1 -0
- package/dist/InstrumentCompositeCellBox.js +180 -0
- package/dist/LoopArea.d.ts.map +1 -1
- package/dist/LoopArea.js +1 -1
- package/dist/NanoDeviceBox.d.ts +21 -1
- package/dist/NanoDeviceBox.d.ts.map +1 -1
- package/dist/NanoDeviceBox.js +181 -1
- package/dist/RootBox.d.ts +1 -0
- package/dist/RootBox.d.ts.map +1 -1
- package/dist/RootBox.js +2 -1
- package/dist/TubularDeviceBox.d.ts +61 -0
- package/dist/TubularDeviceBox.d.ts.map +1 -0
- package/dist/TubularDeviceBox.js +328 -0
- package/dist/TubularLfo.d.ts +22 -0
- package/dist/TubularLfo.d.ts.map +1 -0
- package/dist/TubularLfo.js +122 -0
- package/dist/TubularOperator.d.ts +54 -0
- package/dist/TubularOperator.d.ts.map +1 -0
- package/dist/TubularOperator.js +410 -0
- package/dist/TubularPitchEnvelope.d.ts +26 -0
- package/dist/TubularPitchEnvelope.d.ts.map +1 -0
- package/dist/TubularPitchEnvelope.js +158 -0
- package/dist/index.d.ts +11 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -4
- package/dist/io.d.ts +5 -3
- package/dist/io.d.ts.map +1 -1
- package/dist/io.js +13 -7
- package/dist/visitor.d.ts +5 -3
- package/dist/visitor.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/CompositeCellBox.d.ts +0 -28
- package/dist/CompositeCellBox.d.ts.map +0 -1
- package/dist/CompositeCellBox.js +0 -98
- package/dist/CompositeDeviceBox.d.ts.map +0 -1
package/dist/NanoDeviceBox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { safeExecute, } from "@opendaw/lib-std";
|
|
2
|
-
import { Box, NoPointers, PointerField, StringField, BooleanField, Float32Field, } from "@opendaw/lib-box";
|
|
2
|
+
import { Box, NoPointers, PointerField, StringField, BooleanField, Float32Field, Int32Field, } from "@opendaw/lib-box";
|
|
3
3
|
import { Pointers } from "@opendaw/studio-enums";
|
|
4
4
|
export class NanoDeviceBox extends Box {
|
|
5
5
|
static create(graph, uuid, constructor) {
|
|
@@ -56,12 +56,42 @@ export class NanoDeviceBox extends Box {
|
|
|
56
56
|
get volume() {
|
|
57
57
|
return this.getField(10);
|
|
58
58
|
}
|
|
59
|
+
get octave() {
|
|
60
|
+
return this.getField(11);
|
|
61
|
+
}
|
|
62
|
+
get tune() {
|
|
63
|
+
return this.getField(13);
|
|
64
|
+
}
|
|
65
|
+
get rootKey() {
|
|
66
|
+
return this.getField(14);
|
|
67
|
+
}
|
|
59
68
|
get file() {
|
|
60
69
|
return this.getField(15);
|
|
61
70
|
}
|
|
62
71
|
get release() {
|
|
63
72
|
return this.getField(20);
|
|
64
73
|
}
|
|
74
|
+
get attack() {
|
|
75
|
+
return this.getField(21);
|
|
76
|
+
}
|
|
77
|
+
get sampleStart() {
|
|
78
|
+
return this.getField(22);
|
|
79
|
+
}
|
|
80
|
+
get sampleEnd() {
|
|
81
|
+
return this.getField(23);
|
|
82
|
+
}
|
|
83
|
+
get loop() {
|
|
84
|
+
return this.getField(24);
|
|
85
|
+
}
|
|
86
|
+
get loopFade() {
|
|
87
|
+
return this.getField(25);
|
|
88
|
+
}
|
|
89
|
+
get loopStart() {
|
|
90
|
+
return this.getField(26);
|
|
91
|
+
}
|
|
92
|
+
get loopEnd() {
|
|
93
|
+
return this.getField(27);
|
|
94
|
+
}
|
|
65
95
|
initializeFields() {
|
|
66
96
|
return {
|
|
67
97
|
1: PointerField.create({
|
|
@@ -114,6 +144,51 @@ export class NanoDeviceBox extends Box {
|
|
|
114
144
|
exclusive: false,
|
|
115
145
|
},
|
|
116
146
|
}, "decibel", "dB", -3),
|
|
147
|
+
11: Int32Field.create({
|
|
148
|
+
parent: this,
|
|
149
|
+
fieldKey: 11,
|
|
150
|
+
fieldName: "octave",
|
|
151
|
+
deprecated: false,
|
|
152
|
+
pointerRules: {
|
|
153
|
+
accepts: [
|
|
154
|
+
Pointers.Modulation,
|
|
155
|
+
Pointers.Automation,
|
|
156
|
+
Pointers.MIDIControl,
|
|
157
|
+
],
|
|
158
|
+
mandatory: false,
|
|
159
|
+
exclusive: false,
|
|
160
|
+
},
|
|
161
|
+
}, { min: -3, max: 3 }, "oct", 0),
|
|
162
|
+
13: Float32Field.create({
|
|
163
|
+
parent: this,
|
|
164
|
+
fieldKey: 13,
|
|
165
|
+
fieldName: "tune",
|
|
166
|
+
deprecated: false,
|
|
167
|
+
pointerRules: {
|
|
168
|
+
accepts: [
|
|
169
|
+
Pointers.Modulation,
|
|
170
|
+
Pointers.Automation,
|
|
171
|
+
Pointers.MIDIControl,
|
|
172
|
+
],
|
|
173
|
+
mandatory: false,
|
|
174
|
+
exclusive: false,
|
|
175
|
+
},
|
|
176
|
+
}, { min: -1200, max: 1200, scaling: "linear" }, "ct", 0),
|
|
177
|
+
14: Int32Field.create({
|
|
178
|
+
parent: this,
|
|
179
|
+
fieldKey: 14,
|
|
180
|
+
fieldName: "rootKey",
|
|
181
|
+
deprecated: false,
|
|
182
|
+
pointerRules: {
|
|
183
|
+
accepts: [
|
|
184
|
+
Pointers.Modulation,
|
|
185
|
+
Pointers.Automation,
|
|
186
|
+
Pointers.MIDIControl,
|
|
187
|
+
],
|
|
188
|
+
mandatory: false,
|
|
189
|
+
exclusive: false,
|
|
190
|
+
},
|
|
191
|
+
}, { min: 0, max: 127 }, "", 60),
|
|
117
192
|
15: PointerField.create({
|
|
118
193
|
parent: this,
|
|
119
194
|
fieldKey: 15,
|
|
@@ -136,6 +211,111 @@ export class NanoDeviceBox extends Box {
|
|
|
136
211
|
exclusive: false,
|
|
137
212
|
},
|
|
138
213
|
}, { min: 0.001, max: 8, scaling: "exponential" }, "s", 0.1),
|
|
214
|
+
21: Float32Field.create({
|
|
215
|
+
parent: this,
|
|
216
|
+
fieldKey: 21,
|
|
217
|
+
fieldName: "attack",
|
|
218
|
+
deprecated: false,
|
|
219
|
+
pointerRules: {
|
|
220
|
+
accepts: [
|
|
221
|
+
Pointers.Modulation,
|
|
222
|
+
Pointers.Automation,
|
|
223
|
+
Pointers.MIDIControl,
|
|
224
|
+
],
|
|
225
|
+
mandatory: false,
|
|
226
|
+
exclusive: false,
|
|
227
|
+
},
|
|
228
|
+
}, { min: 0.001, max: 5, scaling: "exponential" }, "s", 0.003),
|
|
229
|
+
22: Float32Field.create({
|
|
230
|
+
parent: this,
|
|
231
|
+
fieldKey: 22,
|
|
232
|
+
fieldName: "sampleStart",
|
|
233
|
+
deprecated: false,
|
|
234
|
+
pointerRules: {
|
|
235
|
+
accepts: [
|
|
236
|
+
Pointers.Modulation,
|
|
237
|
+
Pointers.Automation,
|
|
238
|
+
Pointers.MIDIControl,
|
|
239
|
+
],
|
|
240
|
+
mandatory: false,
|
|
241
|
+
exclusive: false,
|
|
242
|
+
},
|
|
243
|
+
}, "unipolar", "%", 0),
|
|
244
|
+
23: Float32Field.create({
|
|
245
|
+
parent: this,
|
|
246
|
+
fieldKey: 23,
|
|
247
|
+
fieldName: "sampleEnd",
|
|
248
|
+
deprecated: false,
|
|
249
|
+
pointerRules: {
|
|
250
|
+
accepts: [
|
|
251
|
+
Pointers.Modulation,
|
|
252
|
+
Pointers.Automation,
|
|
253
|
+
Pointers.MIDIControl,
|
|
254
|
+
],
|
|
255
|
+
mandatory: false,
|
|
256
|
+
exclusive: false,
|
|
257
|
+
},
|
|
258
|
+
}, "unipolar", "%", 1),
|
|
259
|
+
24: BooleanField.create({
|
|
260
|
+
parent: this,
|
|
261
|
+
fieldKey: 24,
|
|
262
|
+
fieldName: "loop",
|
|
263
|
+
deprecated: false,
|
|
264
|
+
pointerRules: {
|
|
265
|
+
accepts: [
|
|
266
|
+
Pointers.Modulation,
|
|
267
|
+
Pointers.Automation,
|
|
268
|
+
Pointers.MIDIControl,
|
|
269
|
+
],
|
|
270
|
+
mandatory: false,
|
|
271
|
+
exclusive: false,
|
|
272
|
+
},
|
|
273
|
+
}, false),
|
|
274
|
+
25: Float32Field.create({
|
|
275
|
+
parent: this,
|
|
276
|
+
fieldKey: 25,
|
|
277
|
+
fieldName: "loopFade",
|
|
278
|
+
deprecated: false,
|
|
279
|
+
pointerRules: {
|
|
280
|
+
accepts: [
|
|
281
|
+
Pointers.Modulation,
|
|
282
|
+
Pointers.Automation,
|
|
283
|
+
Pointers.MIDIControl,
|
|
284
|
+
],
|
|
285
|
+
mandatory: false,
|
|
286
|
+
exclusive: false,
|
|
287
|
+
},
|
|
288
|
+
}, { min: 0.001, max: 1, scaling: "exponential" }, "s", 0.05),
|
|
289
|
+
26: Float32Field.create({
|
|
290
|
+
parent: this,
|
|
291
|
+
fieldKey: 26,
|
|
292
|
+
fieldName: "loopStart",
|
|
293
|
+
deprecated: false,
|
|
294
|
+
pointerRules: {
|
|
295
|
+
accepts: [
|
|
296
|
+
Pointers.Modulation,
|
|
297
|
+
Pointers.Automation,
|
|
298
|
+
Pointers.MIDIControl,
|
|
299
|
+
],
|
|
300
|
+
mandatory: false,
|
|
301
|
+
exclusive: false,
|
|
302
|
+
},
|
|
303
|
+
}, "unipolar", "%", 0),
|
|
304
|
+
27: Float32Field.create({
|
|
305
|
+
parent: this,
|
|
306
|
+
fieldKey: 27,
|
|
307
|
+
fieldName: "loopEnd",
|
|
308
|
+
deprecated: false,
|
|
309
|
+
pointerRules: {
|
|
310
|
+
accepts: [
|
|
311
|
+
Pointers.Modulation,
|
|
312
|
+
Pointers.Automation,
|
|
313
|
+
Pointers.MIDIControl,
|
|
314
|
+
],
|
|
315
|
+
mandatory: false,
|
|
316
|
+
exclusive: false,
|
|
317
|
+
},
|
|
318
|
+
}, "unipolar", "%", 1),
|
|
139
319
|
};
|
|
140
320
|
}
|
|
141
321
|
}
|
package/dist/RootBox.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export declare class RootBox extends Box<Pointers.MetaData, RootBoxFields> {
|
|
|
43
43
|
get pianoMode(): PianoMode;
|
|
44
44
|
get shadertoy(): PointerField<Pointers.Shadertoy>;
|
|
45
45
|
get projectMeta(): PointerField<Pointers.ProjectMeta>;
|
|
46
|
+
/** @deprecated */
|
|
46
47
|
get editingChannel(): PointerField<Pointers.Editing>;
|
|
47
48
|
initializeFields(): RootBoxFields;
|
|
48
49
|
}
|
package/dist/RootBox.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RootBox.d.ts","sourceRoot":"","sources":["../src/RootBox.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,QAAQ,EAER,IAAI,EACJ,SAAS,EACV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,GAAG,EAEH,QAAQ,EACR,YAAY,EAEZ,YAAY,EACZ,KAAK,EACL,WAAW,EACX,YAAY,EACb,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAWjD,MAAM,MAAM,aAAa,GAAG;IAC1B,CAAC,EAAiB,YAAY,CAAC,QAAQ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I,aAAa,IAAI,KAAK,CAAC,QAAQ,CAAC,YAAY,CAAC,CAEhD;IAED,IAAI,UAAU,IAAI,KAAK,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAEpD;IAED,IAAI,UAAU,IAAI,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CAE3C;IAED,IAAI,WAAW,IAAI,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,CAE7C;IAED,IAAI,YAAY,IAAI,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,CAE9C;IAED,IAAI,iBAAiB,IAAI,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CAElD;IAED,IAAI,SAAS,IAAI,SAAS,CAEzB;IAED,IAAI,SAAS,IAAI,YAAY,CAAC,QAAQ,CAAC,SAAS,CAAC,CAEhD;IAED,IAAI,WAAW,IAAI,YAAY,CAAC,QAAQ,CAAC,WAAW,CAAC,CAEpD;IAED,kBAAkB;IAClB,IAAI,cAAc,IAAI,YAAY,CAAC,QAAQ,CAAC,OAAO,CAAC,CAEnD;IAED,gBAAgB,IAAI,aAAa;CAkKlC"}
|
package/dist/RootBox.js
CHANGED
|
@@ -72,6 +72,7 @@ export class RootBox extends Box {
|
|
|
72
72
|
get projectMeta() {
|
|
73
73
|
return this.getField(101);
|
|
74
74
|
}
|
|
75
|
+
/** @deprecated */
|
|
75
76
|
get editingChannel() {
|
|
76
77
|
return this.getField(111);
|
|
77
78
|
}
|
|
@@ -207,7 +208,7 @@ export class RootBox extends Box {
|
|
|
207
208
|
parent: this,
|
|
208
209
|
fieldKey: 111,
|
|
209
210
|
fieldName: "editingChannel",
|
|
210
|
-
deprecated:
|
|
211
|
+
deprecated: true,
|
|
211
212
|
pointerRules: NoPointers,
|
|
212
213
|
}, Pointers.Editing, false),
|
|
213
214
|
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Maybe, Optional, UUID, Procedure } from "@opendaw/lib-std";
|
|
2
|
+
import { Box, BoxGraph, ResourceType, PointerField, StringField, BooleanField, Float32Field, Int32Field, ArrayField } from "@opendaw/lib-box";
|
|
3
|
+
import { TubularOperator } from "./TubularOperator";
|
|
4
|
+
import { TubularLfo } from "./TubularLfo";
|
|
5
|
+
import { TubularPitchEnvelope } from "./TubularPitchEnvelope";
|
|
6
|
+
import { BoxVisitor } from ".";
|
|
7
|
+
import { Pointers } from "@opendaw/studio-enums";
|
|
8
|
+
export type TubularDeviceBoxFields = {
|
|
9
|
+
1: PointerField<Pointers.InstrumentHost>;
|
|
10
|
+
2: StringField;
|
|
11
|
+
3: StringField;
|
|
12
|
+
4: BooleanField;
|
|
13
|
+
5: BooleanField;
|
|
14
|
+
10: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
15
|
+
11: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
16
|
+
12: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
17
|
+
13: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
18
|
+
14: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
19
|
+
15: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
20
|
+
16: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
21
|
+
17: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
22
|
+
20: TubularLfo;
|
|
23
|
+
21: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
24
|
+
22: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
25
|
+
30: TubularPitchEnvelope;
|
|
26
|
+
40: ArrayField<TubularOperator>;
|
|
27
|
+
50: Int32Field;
|
|
28
|
+
51: Int32Field;
|
|
29
|
+
};
|
|
30
|
+
export declare class TubularDeviceBox extends Box<Pointers.Device | Pointers.Selection | Pointers.MetaData | Pointers.SideChain, TubularDeviceBoxFields> {
|
|
31
|
+
static create(graph: BoxGraph, uuid: UUID.Bytes, constructor?: Procedure<TubularDeviceBox>): TubularDeviceBox;
|
|
32
|
+
static readonly ClassName: string;
|
|
33
|
+
static readonly Resource: Optional<ResourceType>;
|
|
34
|
+
static readonly Ephemeral: boolean;
|
|
35
|
+
static readonly Tags: Readonly<Record<string, string | number | boolean>>;
|
|
36
|
+
private constructor();
|
|
37
|
+
accept<R>(visitor: BoxVisitor<R>): Maybe<R>;
|
|
38
|
+
get tags(): Readonly<Record<string, string | number | boolean>>;
|
|
39
|
+
get host(): PointerField<Pointers.InstrumentHost>;
|
|
40
|
+
get label(): StringField;
|
|
41
|
+
get icon(): StringField;
|
|
42
|
+
get enabled(): BooleanField;
|
|
43
|
+
get minimized(): BooleanField;
|
|
44
|
+
get cutoff(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
45
|
+
get resonance(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
46
|
+
get volume(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
47
|
+
get voicingMode(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
48
|
+
get tune(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
49
|
+
get algorithm(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
50
|
+
get feedback(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
51
|
+
get oscKeySync(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
52
|
+
get lfo(): TubularLfo;
|
|
53
|
+
get pitchModSens(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
54
|
+
get transpose(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
55
|
+
get pitchEnvelope(): TubularPitchEnvelope;
|
|
56
|
+
get operators(): ArrayField<TubularOperator>;
|
|
57
|
+
get voiceLoad(): Int32Field;
|
|
58
|
+
get engine(): Int32Field;
|
|
59
|
+
initializeFields(): TubularDeviceBoxFields;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=TubularDeviceBox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TubularDeviceBox.d.ts","sourceRoot":"","sources":["../src/TubularDeviceBox.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,QAAQ,EAER,IAAI,EACJ,SAAS,EACV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,GAAG,EAEH,QAAQ,EACR,YAAY,EAEZ,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,UAAU,EACX,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAWjD,MAAM,MAAM,sBAAsB,GAAG;IACnC,CAAC,EAAa,YAAY,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;IACpD,CAAC,EAAc,WAAW,CAAC;IAC3B,CAAC,EAAa,WAAW,CAAC;IAC1B,CAAC,EAAsB,YAAY,CAAC;IACpC,CAAC,EAAyB,YAAY,CAAC;IACvC,EAAE,EAAkB,YAAY,CAC9B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAAC;IACF,EAAE,EAAqB,YAAY,CACjC,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,W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Field, ArrayField, } from "@opendaw/lib-box";
|
|
3
|
+
import { TubularOperator } from "./TubularOperator";
|
|
4
|
+
import { TubularLfo } from "./TubularLfo";
|
|
5
|
+
import { TubularPitchEnvelope } from "./TubularPitchEnvelope";
|
|
6
|
+
import { Pointers } from "@opendaw/studio-enums";
|
|
7
|
+
export class TubularDeviceBox extends Box {
|
|
8
|
+
static create(graph, uuid, constructor) {
|
|
9
|
+
return graph.stageBox(new TubularDeviceBox({
|
|
10
|
+
uuid,
|
|
11
|
+
graph,
|
|
12
|
+
name: "TubularDeviceBox",
|
|
13
|
+
pointerRules: {
|
|
14
|
+
accepts: [
|
|
15
|
+
Pointers.Device,
|
|
16
|
+
Pointers.Selection,
|
|
17
|
+
Pointers.MetaData,
|
|
18
|
+
Pointers.SideChain,
|
|
19
|
+
],
|
|
20
|
+
mandatory: false,
|
|
21
|
+
exclusive: false,
|
|
22
|
+
},
|
|
23
|
+
resource: undefined,
|
|
24
|
+
ephemeral: false,
|
|
25
|
+
}), constructor);
|
|
26
|
+
}
|
|
27
|
+
static ClassName = "TubularDeviceBox";
|
|
28
|
+
static Resource = undefined;
|
|
29
|
+
static Ephemeral = false;
|
|
30
|
+
static Tags = Object.freeze({
|
|
31
|
+
type: "device",
|
|
32
|
+
deviceType: "instrument",
|
|
33
|
+
content: "notes",
|
|
34
|
+
});
|
|
35
|
+
constructor(construct) {
|
|
36
|
+
super(construct);
|
|
37
|
+
}
|
|
38
|
+
accept(visitor) {
|
|
39
|
+
return safeExecute(visitor.visitTubularDeviceBox, this);
|
|
40
|
+
}
|
|
41
|
+
get tags() {
|
|
42
|
+
return TubularDeviceBox.Tags;
|
|
43
|
+
}
|
|
44
|
+
get host() {
|
|
45
|
+
return this.getField(1);
|
|
46
|
+
}
|
|
47
|
+
get label() {
|
|
48
|
+
return this.getField(2);
|
|
49
|
+
}
|
|
50
|
+
get icon() {
|
|
51
|
+
return this.getField(3);
|
|
52
|
+
}
|
|
53
|
+
get enabled() {
|
|
54
|
+
return this.getField(4);
|
|
55
|
+
}
|
|
56
|
+
get minimized() {
|
|
57
|
+
return this.getField(5);
|
|
58
|
+
}
|
|
59
|
+
get cutoff() {
|
|
60
|
+
return this.getField(10);
|
|
61
|
+
}
|
|
62
|
+
get resonance() {
|
|
63
|
+
return this.getField(11);
|
|
64
|
+
}
|
|
65
|
+
get volume() {
|
|
66
|
+
return this.getField(12);
|
|
67
|
+
}
|
|
68
|
+
get voicingMode() {
|
|
69
|
+
return this.getField(13);
|
|
70
|
+
}
|
|
71
|
+
get tune() {
|
|
72
|
+
return this.getField(14);
|
|
73
|
+
}
|
|
74
|
+
get algorithm() {
|
|
75
|
+
return this.getField(15);
|
|
76
|
+
}
|
|
77
|
+
get feedback() {
|
|
78
|
+
return this.getField(16);
|
|
79
|
+
}
|
|
80
|
+
get oscKeySync() {
|
|
81
|
+
return this.getField(17);
|
|
82
|
+
}
|
|
83
|
+
get lfo() {
|
|
84
|
+
return this.getField(20);
|
|
85
|
+
}
|
|
86
|
+
get pitchModSens() {
|
|
87
|
+
return this.getField(21);
|
|
88
|
+
}
|
|
89
|
+
get transpose() {
|
|
90
|
+
return this.getField(22);
|
|
91
|
+
}
|
|
92
|
+
get pitchEnvelope() {
|
|
93
|
+
return this.getField(30);
|
|
94
|
+
}
|
|
95
|
+
get operators() {
|
|
96
|
+
return this.getField(40);
|
|
97
|
+
}
|
|
98
|
+
get voiceLoad() {
|
|
99
|
+
return this.getField(50);
|
|
100
|
+
}
|
|
101
|
+
get engine() {
|
|
102
|
+
return this.getField(51);
|
|
103
|
+
}
|
|
104
|
+
initializeFields() {
|
|
105
|
+
return {
|
|
106
|
+
1: PointerField.create({
|
|
107
|
+
parent: this,
|
|
108
|
+
fieldKey: 1,
|
|
109
|
+
fieldName: "host",
|
|
110
|
+
deprecated: false,
|
|
111
|
+
pointerRules: NoPointers,
|
|
112
|
+
}, Pointers.InstrumentHost, true),
|
|
113
|
+
2: StringField.create({
|
|
114
|
+
parent: this,
|
|
115
|
+
fieldKey: 2,
|
|
116
|
+
fieldName: "label",
|
|
117
|
+
deprecated: false,
|
|
118
|
+
pointerRules: NoPointers,
|
|
119
|
+
}),
|
|
120
|
+
3: StringField.create({
|
|
121
|
+
parent: this,
|
|
122
|
+
fieldKey: 3,
|
|
123
|
+
fieldName: "icon",
|
|
124
|
+
deprecated: false,
|
|
125
|
+
pointerRules: NoPointers,
|
|
126
|
+
}),
|
|
127
|
+
4: BooleanField.create({
|
|
128
|
+
parent: this,
|
|
129
|
+
fieldKey: 4,
|
|
130
|
+
fieldName: "enabled",
|
|
131
|
+
deprecated: false,
|
|
132
|
+
pointerRules: NoPointers,
|
|
133
|
+
}, true),
|
|
134
|
+
5: BooleanField.create({
|
|
135
|
+
parent: this,
|
|
136
|
+
fieldKey: 5,
|
|
137
|
+
fieldName: "minimized",
|
|
138
|
+
deprecated: false,
|
|
139
|
+
pointerRules: NoPointers,
|
|
140
|
+
}, false),
|
|
141
|
+
10: Float32Field.create({
|
|
142
|
+
parent: this,
|
|
143
|
+
fieldKey: 10,
|
|
144
|
+
fieldName: "cutoff",
|
|
145
|
+
deprecated: false,
|
|
146
|
+
pointerRules: {
|
|
147
|
+
accepts: [
|
|
148
|
+
Pointers.Modulation,
|
|
149
|
+
Pointers.Automation,
|
|
150
|
+
Pointers.MIDIControl,
|
|
151
|
+
],
|
|
152
|
+
mandatory: false,
|
|
153
|
+
exclusive: false,
|
|
154
|
+
},
|
|
155
|
+
}, "unipolar", "%", 1),
|
|
156
|
+
11: Float32Field.create({
|
|
157
|
+
parent: this,
|
|
158
|
+
fieldKey: 11,
|
|
159
|
+
fieldName: "resonance",
|
|
160
|
+
deprecated: false,
|
|
161
|
+
pointerRules: {
|
|
162
|
+
accepts: [
|
|
163
|
+
Pointers.Modulation,
|
|
164
|
+
Pointers.Automation,
|
|
165
|
+
Pointers.MIDIControl,
|
|
166
|
+
],
|
|
167
|
+
mandatory: false,
|
|
168
|
+
exclusive: false,
|
|
169
|
+
},
|
|
170
|
+
}, "unipolar", "%", 0),
|
|
171
|
+
12: Float32Field.create({
|
|
172
|
+
parent: this,
|
|
173
|
+
fieldKey: 12,
|
|
174
|
+
fieldName: "volume",
|
|
175
|
+
deprecated: false,
|
|
176
|
+
pointerRules: {
|
|
177
|
+
accepts: [
|
|
178
|
+
Pointers.Modulation,
|
|
179
|
+
Pointers.Automation,
|
|
180
|
+
Pointers.MIDIControl,
|
|
181
|
+
],
|
|
182
|
+
mandatory: false,
|
|
183
|
+
exclusive: false,
|
|
184
|
+
},
|
|
185
|
+
}, "unipolar", "%", 1),
|
|
186
|
+
13: Int32Field.create({
|
|
187
|
+
parent: this,
|
|
188
|
+
fieldKey: 13,
|
|
189
|
+
fieldName: "voicingMode",
|
|
190
|
+
deprecated: false,
|
|
191
|
+
pointerRules: {
|
|
192
|
+
accepts: [
|
|
193
|
+
Pointers.Modulation,
|
|
194
|
+
Pointers.Automation,
|
|
195
|
+
Pointers.MIDIControl,
|
|
196
|
+
],
|
|
197
|
+
mandatory: false,
|
|
198
|
+
exclusive: false,
|
|
199
|
+
},
|
|
200
|
+
}, { values: [0, 1] }, "", 1),
|
|
201
|
+
14: Float32Field.create({
|
|
202
|
+
parent: this,
|
|
203
|
+
fieldKey: 14,
|
|
204
|
+
fieldName: "tune",
|
|
205
|
+
deprecated: false,
|
|
206
|
+
pointerRules: {
|
|
207
|
+
accepts: [
|
|
208
|
+
Pointers.Modulation,
|
|
209
|
+
Pointers.Automation,
|
|
210
|
+
Pointers.MIDIControl,
|
|
211
|
+
],
|
|
212
|
+
mandatory: false,
|
|
213
|
+
exclusive: false,
|
|
214
|
+
},
|
|
215
|
+
}, { min: -100, max: 100, scaling: "linear" }, "ct", 0),
|
|
216
|
+
15: Int32Field.create({
|
|
217
|
+
parent: this,
|
|
218
|
+
fieldKey: 15,
|
|
219
|
+
fieldName: "algorithm",
|
|
220
|
+
deprecated: false,
|
|
221
|
+
pointerRules: {
|
|
222
|
+
accepts: [
|
|
223
|
+
Pointers.Modulation,
|
|
224
|
+
Pointers.Automation,
|
|
225
|
+
Pointers.MIDIControl,
|
|
226
|
+
],
|
|
227
|
+
mandatory: false,
|
|
228
|
+
exclusive: false,
|
|
229
|
+
},
|
|
230
|
+
}, { min: 0, max: 31 }, "", 0),
|
|
231
|
+
16: Int32Field.create({
|
|
232
|
+
parent: this,
|
|
233
|
+
fieldKey: 16,
|
|
234
|
+
fieldName: "feedback",
|
|
235
|
+
deprecated: false,
|
|
236
|
+
pointerRules: {
|
|
237
|
+
accepts: [
|
|
238
|
+
Pointers.Modulation,
|
|
239
|
+
Pointers.Automation,
|
|
240
|
+
Pointers.MIDIControl,
|
|
241
|
+
],
|
|
242
|
+
mandatory: false,
|
|
243
|
+
exclusive: false,
|
|
244
|
+
},
|
|
245
|
+
}, { min: 0, max: 7 }, "", 0),
|
|
246
|
+
17: Int32Field.create({
|
|
247
|
+
parent: this,
|
|
248
|
+
fieldKey: 17,
|
|
249
|
+
fieldName: "oscKeySync",
|
|
250
|
+
deprecated: false,
|
|
251
|
+
pointerRules: {
|
|
252
|
+
accepts: [
|
|
253
|
+
Pointers.Modulation,
|
|
254
|
+
Pointers.Automation,
|
|
255
|
+
Pointers.MIDIControl,
|
|
256
|
+
],
|
|
257
|
+
mandatory: false,
|
|
258
|
+
exclusive: false,
|
|
259
|
+
},
|
|
260
|
+
}, { min: 0, max: 1 }, "", 1),
|
|
261
|
+
20: TubularLfo.create({
|
|
262
|
+
parent: this,
|
|
263
|
+
fieldKey: 20,
|
|
264
|
+
fieldName: "lfo",
|
|
265
|
+
deprecated: false,
|
|
266
|
+
pointerRules: NoPointers,
|
|
267
|
+
}),
|
|
268
|
+
21: Int32Field.create({
|
|
269
|
+
parent: this,
|
|
270
|
+
fieldKey: 21,
|
|
271
|
+
fieldName: "pitchModSens",
|
|
272
|
+
deprecated: false,
|
|
273
|
+
pointerRules: {
|
|
274
|
+
accepts: [
|
|
275
|
+
Pointers.Modulation,
|
|
276
|
+
Pointers.Automation,
|
|
277
|
+
Pointers.MIDIControl,
|
|
278
|
+
],
|
|
279
|
+
mandatory: false,
|
|
280
|
+
exclusive: false,
|
|
281
|
+
},
|
|
282
|
+
}, { min: 0, max: 7 }, "", 3),
|
|
283
|
+
22: Int32Field.create({
|
|
284
|
+
parent: this,
|
|
285
|
+
fieldKey: 22,
|
|
286
|
+
fieldName: "transpose",
|
|
287
|
+
deprecated: false,
|
|
288
|
+
pointerRules: {
|
|
289
|
+
accepts: [
|
|
290
|
+
Pointers.Modulation,
|
|
291
|
+
Pointers.Automation,
|
|
292
|
+
Pointers.MIDIControl,
|
|
293
|
+
],
|
|
294
|
+
mandatory: false,
|
|
295
|
+
exclusive: false,
|
|
296
|
+
},
|
|
297
|
+
}, { min: 0, max: 48 }, "", 24),
|
|
298
|
+
30: TubularPitchEnvelope.create({
|
|
299
|
+
parent: this,
|
|
300
|
+
fieldKey: 30,
|
|
301
|
+
fieldName: "pitchEnvelope",
|
|
302
|
+
deprecated: false,
|
|
303
|
+
pointerRules: NoPointers,
|
|
304
|
+
}),
|
|
305
|
+
40: ArrayField.create({
|
|
306
|
+
parent: this,
|
|
307
|
+
fieldKey: 40,
|
|
308
|
+
fieldName: "operators",
|
|
309
|
+
deprecated: false,
|
|
310
|
+
pointerRules: NoPointers,
|
|
311
|
+
}, (construct) => TubularOperator.create(construct), 6),
|
|
312
|
+
50: Int32Field.create({
|
|
313
|
+
parent: this,
|
|
314
|
+
fieldKey: 50,
|
|
315
|
+
fieldName: "voiceLoad",
|
|
316
|
+
deprecated: false,
|
|
317
|
+
pointerRules: NoPointers,
|
|
318
|
+
}, "index", "", 0),
|
|
319
|
+
51: Int32Field.create({
|
|
320
|
+
parent: this,
|
|
321
|
+
fieldKey: 51,
|
|
322
|
+
fieldName: "engine",
|
|
323
|
+
deprecated: false,
|
|
324
|
+
pointerRules: NoPointers,
|
|
325
|
+
}, { min: 0, max: 1 }, "", 1),
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ObjectField, FieldConstruct, Int32Field, UnreferenceableType } from "@opendaw/lib-box";
|
|
2
|
+
import { Pointers } from "@opendaw/studio-enums";
|
|
3
|
+
export type TubularLfoFields = {
|
|
4
|
+
1: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
5
|
+
2: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
6
|
+
3: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
7
|
+
4: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
8
|
+
5: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
9
|
+
6: Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
10
|
+
};
|
|
11
|
+
export declare class TubularLfo extends ObjectField<TubularLfoFields> {
|
|
12
|
+
static create(construct: FieldConstruct<UnreferenceableType>): TubularLfo;
|
|
13
|
+
private constructor();
|
|
14
|
+
get speed(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
15
|
+
get delay(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
16
|
+
get pmDepth(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
17
|
+
get amDepth(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
18
|
+
get sync(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
19
|
+
get wave(): Int32Field<Pointers.Modulation | Pointers.Automation | Pointers.MIDIControl>;
|
|
20
|
+
initializeFields(): TubularLfoFields;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=TubularLfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TubularLfo.d.ts","sourceRoot":"","sources":["../src/TubularLfo.ts"],"names":[],"m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