@opendaw/studio-boxes 0.0.6
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/README.md +1 -0
- package/dist/ArpeggioDeviceBox.d.ts +35 -0
- package/dist/ArpeggioDeviceBox.d.ts.map +1 -0
- package/dist/ArpeggioDeviceBox.js +167 -0
- package/dist/AudioBusBox.d.ts +29 -0
- package/dist/AudioBusBox.d.ts.map +1 -0
- package/dist/AudioBusBox.js +95 -0
- package/dist/AudioClipBox.d.ts +32 -0
- package/dist/AudioClipBox.d.ts.map +1 -0
- package/dist/AudioClipBox.js +108 -0
- package/dist/AudioFileBox.d.ts +19 -0
- package/dist/AudioFileBox.d.ts.map +1 -0
- package/dist/AudioFileBox.js +50 -0
- package/dist/AudioRegionBox.d.ts +33 -0
- package/dist/AudioRegionBox.d.ts.map +1 -0
- package/dist/AudioRegionBox.js +116 -0
- package/dist/AudioUnitBox.d.ts +41 -0
- package/dist/AudioUnitBox.d.ts.map +1 -0
- package/dist/AudioUnitBox.js +183 -0
- package/dist/AuxSendBox.d.ts +25 -0
- package/dist/AuxSendBox.d.ts.map +1 -0
- package/dist/AuxSendBox.js +91 -0
- package/dist/ClashPattern.d.ts +17 -0
- package/dist/ClashPattern.d.ts.map +1 -0
- package/dist/ClashPattern.js +42 -0
- package/dist/ClashStep.d.ts +13 -0
- package/dist/ClashStep.d.ts.map +1 -0
- package/dist/ClashStep.js +24 -0
- package/dist/ClipPlaybackFields.d.ts +22 -0
- package/dist/ClipPlaybackFields.d.ts.map +1 -0
- package/dist/ClipPlaybackFields.js +68 -0
- package/dist/DelayDeviceBox.d.ts +35 -0
- package/dist/DelayDeviceBox.d.ts.map +1 -0
- package/dist/DelayDeviceBox.js +167 -0
- package/dist/DeviceClashBox.d.ts +38 -0
- package/dist/DeviceClashBox.d.ts.map +1 -0
- package/dist/DeviceClashBox.js +177 -0
- package/dist/DeviceInterfaceKnobBox.d.ts +23 -0
- package/dist/DeviceInterfaceKnobBox.d.ts.map +1 -0
- package/dist/DeviceInterfaceKnobBox.js +68 -0
- package/dist/DeviceUserInterface.d.ts +13 -0
- package/dist/DeviceUserInterface.d.ts.map +1 -0
- package/dist/DeviceUserInterface.js +27 -0
- package/dist/GrooveShuffleBox.d.ts +19 -0
- package/dist/GrooveShuffleBox.d.ts.map +1 -0
- package/dist/GrooveShuffleBox.js +64 -0
- package/dist/LoopArea.d.ts +16 -0
- package/dist/LoopArea.d.ts.map +1 -0
- package/dist/LoopArea.js +41 -0
- package/dist/MarkerBox.d.ts +23 -0
- package/dist/MarkerBox.d.ts.map +1 -0
- package/dist/MarkerBox.js +68 -0
- package/dist/MarkerTrack.d.ts +17 -0
- package/dist/MarkerTrack.d.ts.map +1 -0
- package/dist/MarkerTrack.js +42 -0
- package/dist/ModularAudioInputBox.d.ts +18 -0
- package/dist/ModularAudioInputBox.d.ts.map +1 -0
- package/dist/ModularAudioInputBox.js +45 -0
- package/dist/ModularAudioOutputBox.d.ts +18 -0
- package/dist/ModularAudioOutputBox.d.ts.map +1 -0
- package/dist/ModularAudioOutputBox.js +45 -0
- package/dist/ModularBox.d.ts +25 -0
- package/dist/ModularBox.d.ts.map +1 -0
- package/dist/ModularBox.js +83 -0
- package/dist/ModularDeviceBox.d.ts +28 -0
- package/dist/ModularDeviceBox.d.ts.map +1 -0
- package/dist/ModularDeviceBox.js +90 -0
- package/dist/ModuleAttributes.d.ts +23 -0
- package/dist/ModuleAttributes.d.ts.map +1 -0
- package/dist/ModuleAttributes.js +69 -0
- package/dist/ModuleConnectionBox.d.ts +19 -0
- package/dist/ModuleConnectionBox.d.ts.map +1 -0
- package/dist/ModuleConnectionBox.js +50 -0
- package/dist/ModuleDelayBox.d.ts +22 -0
- package/dist/ModuleDelayBox.d.ts.map +1 -0
- package/dist/ModuleDelayBox.js +69 -0
- package/dist/ModuleGainBox.d.ts +22 -0
- package/dist/ModuleGainBox.d.ts.map +1 -0
- package/dist/ModuleGainBox.js +69 -0
- package/dist/ModuleMultiplierBox.d.ts +24 -0
- package/dist/ModuleMultiplierBox.d.ts.map +1 -0
- package/dist/ModuleMultiplierBox.js +78 -0
- package/dist/NanoDeviceBox.d.ts +29 -0
- package/dist/NanoDeviceBox.d.ts.map +1 -0
- package/dist/NanoDeviceBox.js +112 -0
- package/dist/NoteClipBox.d.ts +30 -0
- package/dist/NoteClipBox.d.ts.map +1 -0
- package/dist/NoteClipBox.js +99 -0
- package/dist/NoteEventBox.d.ts +31 -0
- package/dist/NoteEventBox.d.ts.map +1 -0
- package/dist/NoteEventBox.js +107 -0
- package/dist/NoteEventCollectionBox.d.ts +17 -0
- package/dist/NoteEventCollectionBox.d.ts.map +1 -0
- package/dist/NoteEventCollectionBox.js +44 -0
- package/dist/NoteEventRepeatBox.d.ts +21 -0
- package/dist/NoteEventRepeatBox.d.ts.map +1 -0
- package/dist/NoteEventRepeatBox.js +59 -0
- package/dist/NoteRegionBox.d.ts +33 -0
- package/dist/NoteRegionBox.d.ts.map +1 -0
- package/dist/NoteRegionBox.js +116 -0
- package/dist/PianoMode.d.ts +20 -0
- package/dist/PianoMode.d.ts.map +1 -0
- package/dist/PianoMode.js +59 -0
- package/dist/PitchDeviceBox.d.ts +29 -0
- package/dist/PitchDeviceBox.d.ts.map +1 -0
- package/dist/PitchDeviceBox.js +119 -0
- package/dist/PlayfieldDeviceBox.d.ts +25 -0
- package/dist/PlayfieldDeviceBox.d.ts.map +1 -0
- package/dist/PlayfieldDeviceBox.js +80 -0
- package/dist/PlayfieldSampleBox.d.ts +51 -0
- package/dist/PlayfieldSampleBox.d.ts.map +1 -0
- package/dist/PlayfieldSampleBox.js +229 -0
- package/dist/RevampBell.d.ts +19 -0
- package/dist/RevampBell.d.ts.map +1 -0
- package/dist/RevampBell.js +79 -0
- package/dist/RevampDeviceBox.d.ts +42 -0
- package/dist/RevampDeviceBox.d.ts.map +1 -0
- package/dist/RevampDeviceBox.js +153 -0
- package/dist/RevampPass.d.ts +19 -0
- package/dist/RevampPass.d.ts.map +1 -0
- package/dist/RevampPass.js +79 -0
- package/dist/RevampShelf.d.ts +17 -0
- package/dist/RevampShelf.d.ts.map +1 -0
- package/dist/RevampShelf.js +63 -0
- package/dist/ReverbDeviceBox.d.ts +35 -0
- package/dist/ReverbDeviceBox.d.ts.map +1 -0
- package/dist/ReverbDeviceBox.js +167 -0
- package/dist/RootBox.d.ts +34 -0
- package/dist/RootBox.d.ts.map +1 -0
- package/dist/RootBox.js +109 -0
- package/dist/SelectionBox.d.ts +17 -0
- package/dist/SelectionBox.d.ts.map +1 -0
- package/dist/SelectionBox.js +41 -0
- package/dist/Signature.d.ts +14 -0
- package/dist/Signature.d.ts.map +1 -0
- package/dist/Signature.js +32 -0
- package/dist/StepAutomationBox.d.ts +19 -0
- package/dist/StepAutomationBox.d.ts.map +1 -0
- package/dist/StepAutomationBox.js +50 -0
- package/dist/StereoToolDeviceBox.d.ts +37 -0
- package/dist/StereoToolDeviceBox.d.ts.map +1 -0
- package/dist/StereoToolDeviceBox.js +176 -0
- package/dist/TapeDeviceBox.d.ts +31 -0
- package/dist/TapeDeviceBox.d.ts.map +1 -0
- package/dist/TapeDeviceBox.js +135 -0
- package/dist/TimelineBox.d.ts +30 -0
- package/dist/TimelineBox.d.ts.map +1 -0
- package/dist/TimelineBox.js +89 -0
- package/dist/TrackBox.d.ts +29 -0
- package/dist/TrackBox.d.ts.map +1 -0
- package/dist/TrackBox.js +101 -0
- package/dist/UserInterfaceBox.d.ts +23 -0
- package/dist/UserInterfaceBox.d.ts.map +1 -0
- package/dist/UserInterfaceBox.js +68 -0
- package/dist/ValueClipBox.d.ts +30 -0
- package/dist/ValueClipBox.d.ts.map +1 -0
- package/dist/ValueClipBox.js +99 -0
- package/dist/ValueEventBox.d.ts +25 -0
- package/dist/ValueEventBox.d.ts.map +1 -0
- package/dist/ValueEventBox.js +80 -0
- package/dist/ValueEventCollectionBox.d.ts +17 -0
- package/dist/ValueEventCollectionBox.d.ts.map +1 -0
- package/dist/ValueEventCollectionBox.js +44 -0
- package/dist/ValueEventCurveBox.d.ts +17 -0
- package/dist/ValueEventCurveBox.d.ts.map +1 -0
- package/dist/ValueEventCurveBox.js +41 -0
- package/dist/ValueRegionBox.d.ts +31 -0
- package/dist/ValueRegionBox.d.ts.map +1 -0
- package/dist/ValueRegionBox.js +107 -0
- package/dist/VaporisateurDeviceBox.d.ts +41 -0
- package/dist/VaporisateurDeviceBox.d.ts.map +1 -0
- package/dist/VaporisateurDeviceBox.js +215 -0
- package/dist/ZeitgeistDeviceBox.d.ts +25 -0
- package/dist/ZeitgeistDeviceBox.d.ts.map +1 -0
- package/dist/ZeitgeistDeviceBox.js +80 -0
- package/dist/index.d.ts +107 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +115 -0
- package/dist/io.d.ts +56 -0
- package/dist/io.d.ts.map +1 -0
- package/dist/io.js +120 -0
- package/dist/visitor.d.ts +51 -0
- package/dist/visitor.d.ts.map +1 -0
- package/dist/visitor.js +1 -0
- package/package.json +35 -0
@@ -0,0 +1,119 @@
|
|
1
|
+
import { safeExecute } from "@opendaw/lib-std";
|
2
|
+
import { Box, NoPointers, PointerField, Int32Field, StringField, BooleanField, Float32Field, } from "@opendaw/lib-box";
|
3
|
+
import { Pointers } from "@opendaw/studio-enums";
|
4
|
+
export class PitchDeviceBox extends Box {
|
5
|
+
static create(graph, uuid, constructor) {
|
6
|
+
return graph.stageBox(new PitchDeviceBox({
|
7
|
+
uuid,
|
8
|
+
graph,
|
9
|
+
name: "PitchDeviceBox",
|
10
|
+
pointerRules: {
|
11
|
+
accepts: [Pointers.Device, Pointers.Selection],
|
12
|
+
mandatory: false,
|
13
|
+
},
|
14
|
+
}), constructor);
|
15
|
+
}
|
16
|
+
constructor(construct) {
|
17
|
+
super(construct);
|
18
|
+
}
|
19
|
+
accept(visitor) {
|
20
|
+
return safeExecute(visitor.visitPitchDeviceBox, this);
|
21
|
+
}
|
22
|
+
get host() {
|
23
|
+
return this.getField(1);
|
24
|
+
}
|
25
|
+
get index() {
|
26
|
+
return this.getField(2);
|
27
|
+
}
|
28
|
+
get label() {
|
29
|
+
return this.getField(3);
|
30
|
+
}
|
31
|
+
get enabled() {
|
32
|
+
return this.getField(4);
|
33
|
+
}
|
34
|
+
get minimized() {
|
35
|
+
return this.getField(5);
|
36
|
+
}
|
37
|
+
get semiTones() {
|
38
|
+
return this.getField(10);
|
39
|
+
}
|
40
|
+
get cents() {
|
41
|
+
return this.getField(11);
|
42
|
+
}
|
43
|
+
get octaves() {
|
44
|
+
return this.getField(12);
|
45
|
+
}
|
46
|
+
initializeFields() {
|
47
|
+
return {
|
48
|
+
1: PointerField.create({
|
49
|
+
parent: this,
|
50
|
+
fieldKey: 1,
|
51
|
+
fieldName: "host",
|
52
|
+
pointerRules: NoPointers,
|
53
|
+
}, Pointers.MidiEffectHost, true),
|
54
|
+
2: Int32Field.create({
|
55
|
+
parent: this,
|
56
|
+
fieldKey: 2,
|
57
|
+
fieldName: "index",
|
58
|
+
pointerRules: NoPointers,
|
59
|
+
}),
|
60
|
+
3: StringField.create({
|
61
|
+
parent: this,
|
62
|
+
fieldKey: 3,
|
63
|
+
fieldName: "label",
|
64
|
+
pointerRules: NoPointers,
|
65
|
+
}),
|
66
|
+
4: BooleanField.create({
|
67
|
+
parent: this,
|
68
|
+
fieldKey: 4,
|
69
|
+
fieldName: "enabled",
|
70
|
+
pointerRules: NoPointers,
|
71
|
+
}, true),
|
72
|
+
5: BooleanField.create({
|
73
|
+
parent: this,
|
74
|
+
fieldKey: 5,
|
75
|
+
fieldName: "minimized",
|
76
|
+
pointerRules: NoPointers,
|
77
|
+
}, false),
|
78
|
+
10: Int32Field.create({
|
79
|
+
parent: this,
|
80
|
+
fieldKey: 10,
|
81
|
+
fieldName: "semiTones",
|
82
|
+
pointerRules: {
|
83
|
+
accepts: [
|
84
|
+
Pointers.Modulation,
|
85
|
+
Pointers.Automation,
|
86
|
+
Pointers.MidiControl,
|
87
|
+
],
|
88
|
+
mandatory: false,
|
89
|
+
},
|
90
|
+
}),
|
91
|
+
11: Float32Field.create({
|
92
|
+
parent: this,
|
93
|
+
fieldKey: 11,
|
94
|
+
fieldName: "cents",
|
95
|
+
pointerRules: {
|
96
|
+
accepts: [
|
97
|
+
Pointers.Modulation,
|
98
|
+
Pointers.Automation,
|
99
|
+
Pointers.MidiControl,
|
100
|
+
],
|
101
|
+
mandatory: false,
|
102
|
+
},
|
103
|
+
}),
|
104
|
+
12: Int32Field.create({
|
105
|
+
parent: this,
|
106
|
+
fieldKey: 12,
|
107
|
+
fieldName: "octaves",
|
108
|
+
pointerRules: {
|
109
|
+
accepts: [
|
110
|
+
Pointers.Modulation,
|
111
|
+
Pointers.Automation,
|
112
|
+
Pointers.MidiControl,
|
113
|
+
],
|
114
|
+
mandatory: false,
|
115
|
+
},
|
116
|
+
}),
|
117
|
+
};
|
118
|
+
}
|
119
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { Nullish, UUID, Procedure } from "@opendaw/lib-std";
|
2
|
+
import { Box, BoxGraph, PointerField, StringField, BooleanField, Field } from "@opendaw/lib-box";
|
3
|
+
import { BoxVisitor } from ".";
|
4
|
+
import { Pointers } from "@opendaw/studio-enums";
|
5
|
+
export type PlayfieldDeviceBoxFields = {
|
6
|
+
1: PointerField<Pointers.InstrumentHost>;
|
7
|
+
2: StringField;
|
8
|
+
3: StringField;
|
9
|
+
4: BooleanField;
|
10
|
+
5: BooleanField;
|
11
|
+
10: Field<Pointers.Sample>;
|
12
|
+
};
|
13
|
+
export declare class PlayfieldDeviceBox extends Box<Pointers.Device | Pointers.Selection, PlayfieldDeviceBoxFields> {
|
14
|
+
static create(graph: BoxGraph, uuid: UUID.Format, constructor?: Procedure<PlayfieldDeviceBox>): PlayfieldDeviceBox;
|
15
|
+
private constructor();
|
16
|
+
accept<R>(visitor: BoxVisitor<R>): Nullish<R>;
|
17
|
+
get host(): PointerField<Pointers.InstrumentHost>;
|
18
|
+
get label(): StringField;
|
19
|
+
get icon(): StringField;
|
20
|
+
get enabled(): BooleanField;
|
21
|
+
get minimized(): BooleanField;
|
22
|
+
get samples(): Field<Pointers.Sample>;
|
23
|
+
initializeFields(): PlayfieldDeviceBoxFields;
|
24
|
+
}
|
25
|
+
//# sourceMappingURL=PlayfieldDeviceBox.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"PlayfieldDeviceBox.d.ts","sourceRoot":"","sources":["../src/PlayfieldDeviceBox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAe,IAAI,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EACL,GAAG,EAEH,QAAQ,EAER,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,KAAK,EACN,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAWjD,MAAM,MAAM,wBAAwB,GAAG;IACrC,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,EAAgB,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;CAC1C,CAAC;AAEF,qBAAa,kBAAmB,SAAQ,GAAG,CACzC,QAAQ,CAAC,MAAM,GAAG,QAAQ,CAAC,SAAS,EACpC,wBAAwB,CACzB;IACC,MAAM,CAAC,MAAM,CACX,KAAK,EAAE,QAAQ,EACf,IAAI,EAAE,IAAI,CAAC,MAAM,EACjB,WAAW,CAAC,EAAE,SAAS,CAAC,kBAAkB,CAAC,GAC1C,kBAAkB;IAerB,OAAO;IAMP,MAAM,CAAC,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAI7C,IAAI,IAAI,IAAI,YAAY,CAAC,QAAQ,CAAC,cAAc,CAAC,CAEhD;IAED,IAAI,KAAK,IAAI,WAAW,CAEvB;IAED,IAAI,IAAI,IAAI,WAAW,CAEtB;IAED,IAAI,OAAO,IAAI,YAAY,CAE1B;IAED,IAAI,SAAS,IAAI,YAAY,CAE5B;IAED,IAAI,OAAO,IAAI,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAEpC;IAED,gBAAgB,IAAI,wBAAwB;CAkD7C"}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
import { safeExecute } from "@opendaw/lib-std";
|
2
|
+
import { Box, NoPointers, PointerField, StringField, BooleanField, Field, } from "@opendaw/lib-box";
|
3
|
+
import { Pointers } from "@opendaw/studio-enums";
|
4
|
+
export class PlayfieldDeviceBox extends Box {
|
5
|
+
static create(graph, uuid, constructor) {
|
6
|
+
return graph.stageBox(new PlayfieldDeviceBox({
|
7
|
+
uuid,
|
8
|
+
graph,
|
9
|
+
name: "PlayfieldDeviceBox",
|
10
|
+
pointerRules: {
|
11
|
+
accepts: [Pointers.Device, Pointers.Selection],
|
12
|
+
mandatory: false,
|
13
|
+
},
|
14
|
+
}), constructor);
|
15
|
+
}
|
16
|
+
constructor(construct) {
|
17
|
+
super(construct);
|
18
|
+
}
|
19
|
+
accept(visitor) {
|
20
|
+
return safeExecute(visitor.visitPlayfieldDeviceBox, this);
|
21
|
+
}
|
22
|
+
get host() {
|
23
|
+
return this.getField(1);
|
24
|
+
}
|
25
|
+
get label() {
|
26
|
+
return this.getField(2);
|
27
|
+
}
|
28
|
+
get icon() {
|
29
|
+
return this.getField(3);
|
30
|
+
}
|
31
|
+
get enabled() {
|
32
|
+
return this.getField(4);
|
33
|
+
}
|
34
|
+
get minimized() {
|
35
|
+
return this.getField(5);
|
36
|
+
}
|
37
|
+
get samples() {
|
38
|
+
return this.getField(10);
|
39
|
+
}
|
40
|
+
initializeFields() {
|
41
|
+
return {
|
42
|
+
1: PointerField.create({
|
43
|
+
parent: this,
|
44
|
+
fieldKey: 1,
|
45
|
+
fieldName: "host",
|
46
|
+
pointerRules: NoPointers,
|
47
|
+
}, Pointers.InstrumentHost, true),
|
48
|
+
2: StringField.create({
|
49
|
+
parent: this,
|
50
|
+
fieldKey: 2,
|
51
|
+
fieldName: "label",
|
52
|
+
pointerRules: NoPointers,
|
53
|
+
}),
|
54
|
+
3: StringField.create({
|
55
|
+
parent: this,
|
56
|
+
fieldKey: 3,
|
57
|
+
fieldName: "icon",
|
58
|
+
pointerRules: NoPointers,
|
59
|
+
}),
|
60
|
+
4: BooleanField.create({
|
61
|
+
parent: this,
|
62
|
+
fieldKey: 4,
|
63
|
+
fieldName: "enabled",
|
64
|
+
pointerRules: NoPointers,
|
65
|
+
}, true),
|
66
|
+
5: BooleanField.create({
|
67
|
+
parent: this,
|
68
|
+
fieldKey: 5,
|
69
|
+
fieldName: "minimized",
|
70
|
+
pointerRules: NoPointers,
|
71
|
+
}, false),
|
72
|
+
10: Field.hook({
|
73
|
+
parent: this,
|
74
|
+
fieldKey: 10,
|
75
|
+
fieldName: "samples",
|
76
|
+
pointerRules: { accepts: [Pointers.Sample], mandatory: false },
|
77
|
+
}),
|
78
|
+
};
|
79
|
+
}
|
80
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import { Nullish, UUID, Procedure } from "@opendaw/lib-std";
|
2
|
+
import { Box, BoxGraph, PointerField, Field, Int32Field, StringField, BooleanField, Float32Field } from "@opendaw/lib-box";
|
3
|
+
import { BoxVisitor } from ".";
|
4
|
+
import { Pointers } from "@opendaw/studio-enums";
|
5
|
+
export type PlayfieldSampleBoxFields = {
|
6
|
+
10: PointerField<Pointers.Sample>;
|
7
|
+
11: PointerField<Pointers.AudioFile>;
|
8
|
+
12: Field<Pointers.MidiEffectHost>;
|
9
|
+
13: Field<Pointers.AudioEffectHost>;
|
10
|
+
15: Int32Field;
|
11
|
+
20: StringField;
|
12
|
+
21: StringField;
|
13
|
+
22: BooleanField;
|
14
|
+
23: BooleanField;
|
15
|
+
40: BooleanField;
|
16
|
+
41: BooleanField;
|
17
|
+
42: BooleanField;
|
18
|
+
43: BooleanField;
|
19
|
+
44: Int32Field;
|
20
|
+
45: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
21
|
+
46: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
22
|
+
47: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
23
|
+
48: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
24
|
+
49: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
25
|
+
};
|
26
|
+
export declare class PlayfieldSampleBox extends Box<Pointers.Editing, PlayfieldSampleBoxFields> {
|
27
|
+
static create(graph: BoxGraph, uuid: UUID.Format, constructor?: Procedure<PlayfieldSampleBox>): PlayfieldSampleBox;
|
28
|
+
private constructor();
|
29
|
+
accept<R>(visitor: BoxVisitor<R>): Nullish<R>;
|
30
|
+
get device(): PointerField<Pointers.Sample>;
|
31
|
+
get file(): PointerField<Pointers.AudioFile>;
|
32
|
+
get midiEffects(): Field<Pointers.MidiEffectHost>;
|
33
|
+
get audioEffects(): Field<Pointers.AudioEffectHost>;
|
34
|
+
get index(): Int32Field;
|
35
|
+
get label(): StringField;
|
36
|
+
get icon(): StringField;
|
37
|
+
get enabled(): BooleanField;
|
38
|
+
get minimized(): BooleanField;
|
39
|
+
get mute(): BooleanField;
|
40
|
+
get solo(): BooleanField;
|
41
|
+
get exclude(): BooleanField;
|
42
|
+
get polyphone(): BooleanField;
|
43
|
+
get gate(): Int32Field;
|
44
|
+
get pitch(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
45
|
+
get sampleStart(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
46
|
+
get sampleEnd(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
47
|
+
get attack(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
48
|
+
get release(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
49
|
+
initializeFields(): PlayfieldSampleBoxFields;
|
50
|
+
}
|
51
|
+
//# sourceMappingURL=PlayfieldSampleBox.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"PlayfieldSampleBox.d.ts","sourceRoot":"","sources":["../src/PlayfieldSampleBox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAe,IAAI,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EACL,GAAG,EAEH,QAAQ,EAER,YAAY,EACZ,KAAK,EACL,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACb,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAWjD,MAAM,MAAM,wBAAwB,GAAG;IACrC,EAAE,EAAe,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC/C,EAAE,EAAa,YAAY,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IAChD,EAAE,EAAoB,KAAK,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;IACrD,EAAE,EAAqB,KAAK,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;IACvD,EAAE,EAAkB,UAAU,CAAC;IAC/B,EAAE,EAAc,WAAW,CAAC;IAC5B,EAAE,EAAa,WAAW,CAAC;IAC3B,EAAE,EAAsB,YAAY,CAAC;IACrC,EAAE,EAAyB,YAAY,CAAC;IACxC,EAAE,EAAa,YAAY,CAAC;IAC5B,EAAE,EAAa,YAAY,CAAC;IAC5B,EAAE,EAAgB,YAAY,CAAC;IAC/B,EAAE,EAAkB,YAAY,CAAC;IACjC,EAAE,EAAgB,UAA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AAI,KAAK,IAAI,WAAW,CAEvB;IAED,IAAI,IAAI,IAAI,WAAW,CAEtB;IAED,IAAI,OAAO,IAAI,YAAY,CAE1B;IAED,IAAI,SAAS,IAAI,YAAY,CAE5B;IAED,IAAI,IAAI,IAAI,YAAY,CAEvB;IAED,IAAI,IAAI,IAAI,YAAY,CAEvB;IAED,IAAI,OAAO,IAAI,YAAY,CAE1B;IAED,IAAI,SAAS,IAAI,YAAY,CAE5B;IAED,IAAI,IAAI,IAAI,UAAU,CAErB;IAED,IAAI,KAAK,IAAI,YAAY,CACvB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAEA;IAED,IAAI,WAAW,IAAI,YAAY,CAC7B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAEA;IAED,IAAI,SAAS,IAAI,YAAY,CAC3B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAEA;IAED,IAAI,MAAM,IAAI,YAAY,CACxB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAEA;IAED,IAAI,OAAO,IAAI,YAAY,CACzB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAEA;IAED,gBAAgB,IAAI,wBAAwB;CAyL7C"}
|
@@ -0,0 +1,229 @@
|
|
1
|
+
import { safeExecute } from "@opendaw/lib-std";
|
2
|
+
import { Box, NoPointers, PointerField, Field, Int32Field, StringField, BooleanField, Float32Field, } from "@opendaw/lib-box";
|
3
|
+
import { Pointers } from "@opendaw/studio-enums";
|
4
|
+
export class PlayfieldSampleBox extends Box {
|
5
|
+
static create(graph, uuid, constructor) {
|
6
|
+
return graph.stageBox(new PlayfieldSampleBox({
|
7
|
+
uuid,
|
8
|
+
graph,
|
9
|
+
name: "PlayfieldSampleBox",
|
10
|
+
pointerRules: { accepts: [Pointers.Editing], mandatory: false },
|
11
|
+
}), constructor);
|
12
|
+
}
|
13
|
+
constructor(construct) {
|
14
|
+
super(construct);
|
15
|
+
}
|
16
|
+
accept(visitor) {
|
17
|
+
return safeExecute(visitor.visitPlayfieldSampleBox, this);
|
18
|
+
}
|
19
|
+
get device() {
|
20
|
+
return this.getField(10);
|
21
|
+
}
|
22
|
+
get file() {
|
23
|
+
return this.getField(11);
|
24
|
+
}
|
25
|
+
get midiEffects() {
|
26
|
+
return this.getField(12);
|
27
|
+
}
|
28
|
+
get audioEffects() {
|
29
|
+
return this.getField(13);
|
30
|
+
}
|
31
|
+
get index() {
|
32
|
+
return this.getField(15);
|
33
|
+
}
|
34
|
+
get label() {
|
35
|
+
return this.getField(20);
|
36
|
+
}
|
37
|
+
get icon() {
|
38
|
+
return this.getField(21);
|
39
|
+
}
|
40
|
+
get enabled() {
|
41
|
+
return this.getField(22);
|
42
|
+
}
|
43
|
+
get minimized() {
|
44
|
+
return this.getField(23);
|
45
|
+
}
|
46
|
+
get mute() {
|
47
|
+
return this.getField(40);
|
48
|
+
}
|
49
|
+
get solo() {
|
50
|
+
return this.getField(41);
|
51
|
+
}
|
52
|
+
get exclude() {
|
53
|
+
return this.getField(42);
|
54
|
+
}
|
55
|
+
get polyphone() {
|
56
|
+
return this.getField(43);
|
57
|
+
}
|
58
|
+
get gate() {
|
59
|
+
return this.getField(44);
|
60
|
+
}
|
61
|
+
get pitch() {
|
62
|
+
return this.getField(45);
|
63
|
+
}
|
64
|
+
get sampleStart() {
|
65
|
+
return this.getField(46);
|
66
|
+
}
|
67
|
+
get sampleEnd() {
|
68
|
+
return this.getField(47);
|
69
|
+
}
|
70
|
+
get attack() {
|
71
|
+
return this.getField(48);
|
72
|
+
}
|
73
|
+
get release() {
|
74
|
+
return this.getField(49);
|
75
|
+
}
|
76
|
+
initializeFields() {
|
77
|
+
return {
|
78
|
+
10: PointerField.create({
|
79
|
+
parent: this,
|
80
|
+
fieldKey: 10,
|
81
|
+
fieldName: "device",
|
82
|
+
pointerRules: NoPointers,
|
83
|
+
}, Pointers.Sample, true),
|
84
|
+
11: PointerField.create({
|
85
|
+
parent: this,
|
86
|
+
fieldKey: 11,
|
87
|
+
fieldName: "file",
|
88
|
+
pointerRules: NoPointers,
|
89
|
+
}, Pointers.AudioFile, true),
|
90
|
+
12: Field.hook({
|
91
|
+
parent: this,
|
92
|
+
fieldKey: 12,
|
93
|
+
fieldName: "midiEffects",
|
94
|
+
pointerRules: { accepts: [Pointers.MidiEffectHost], mandatory: false },
|
95
|
+
}),
|
96
|
+
13: Field.hook({
|
97
|
+
parent: this,
|
98
|
+
fieldKey: 13,
|
99
|
+
fieldName: "audioEffects",
|
100
|
+
pointerRules: { accepts: [Pointers.AudioEffectHost], mandatory: false },
|
101
|
+
}),
|
102
|
+
15: Int32Field.create({
|
103
|
+
parent: this,
|
104
|
+
fieldKey: 15,
|
105
|
+
fieldName: "index",
|
106
|
+
pointerRules: NoPointers,
|
107
|
+
}, 60),
|
108
|
+
20: StringField.create({
|
109
|
+
parent: this,
|
110
|
+
fieldKey: 20,
|
111
|
+
fieldName: "label",
|
112
|
+
pointerRules: NoPointers,
|
113
|
+
}),
|
114
|
+
21: StringField.create({
|
115
|
+
parent: this,
|
116
|
+
fieldKey: 21,
|
117
|
+
fieldName: "icon",
|
118
|
+
pointerRules: NoPointers,
|
119
|
+
}),
|
120
|
+
22: BooleanField.create({
|
121
|
+
parent: this,
|
122
|
+
fieldKey: 22,
|
123
|
+
fieldName: "enabled",
|
124
|
+
pointerRules: NoPointers,
|
125
|
+
}, true),
|
126
|
+
23: BooleanField.create({
|
127
|
+
parent: this,
|
128
|
+
fieldKey: 23,
|
129
|
+
fieldName: "minimized",
|
130
|
+
pointerRules: NoPointers,
|
131
|
+
}, false),
|
132
|
+
40: BooleanField.create({
|
133
|
+
parent: this,
|
134
|
+
fieldKey: 40,
|
135
|
+
fieldName: "mute",
|
136
|
+
pointerRules: NoPointers,
|
137
|
+
}),
|
138
|
+
41: BooleanField.create({
|
139
|
+
parent: this,
|
140
|
+
fieldKey: 41,
|
141
|
+
fieldName: "solo",
|
142
|
+
pointerRules: NoPointers,
|
143
|
+
}),
|
144
|
+
42: BooleanField.create({
|
145
|
+
parent: this,
|
146
|
+
fieldKey: 42,
|
147
|
+
fieldName: "exclude",
|
148
|
+
pointerRules: NoPointers,
|
149
|
+
}),
|
150
|
+
43: BooleanField.create({
|
151
|
+
parent: this,
|
152
|
+
fieldKey: 43,
|
153
|
+
fieldName: "polyphone",
|
154
|
+
pointerRules: NoPointers,
|
155
|
+
}),
|
156
|
+
44: Int32Field.create({
|
157
|
+
parent: this,
|
158
|
+
fieldKey: 44,
|
159
|
+
fieldName: "gate",
|
160
|
+
pointerRules: NoPointers,
|
161
|
+
}, 0),
|
162
|
+
45: Float32Field.create({
|
163
|
+
parent: this,
|
164
|
+
fieldKey: 45,
|
165
|
+
fieldName: "pitch",
|
166
|
+
pointerRules: {
|
167
|
+
accepts: [
|
168
|
+
Pointers.Modulation,
|
169
|
+
Pointers.Automation,
|
170
|
+
Pointers.MidiControl,
|
171
|
+
],
|
172
|
+
mandatory: false,
|
173
|
+
},
|
174
|
+
}),
|
175
|
+
46: Float32Field.create({
|
176
|
+
parent: this,
|
177
|
+
fieldKey: 46,
|
178
|
+
fieldName: "sampleStart",
|
179
|
+
pointerRules: {
|
180
|
+
accepts: [
|
181
|
+
Pointers.Modulation,
|
182
|
+
Pointers.Automation,
|
183
|
+
Pointers.MidiControl,
|
184
|
+
],
|
185
|
+
mandatory: false,
|
186
|
+
},
|
187
|
+
}, 0),
|
188
|
+
47: Float32Field.create({
|
189
|
+
parent: this,
|
190
|
+
fieldKey: 47,
|
191
|
+
fieldName: "sampleEnd",
|
192
|
+
pointerRules: {
|
193
|
+
accepts: [
|
194
|
+
Pointers.Modulation,
|
195
|
+
Pointers.Automation,
|
196
|
+
Pointers.MidiControl,
|
197
|
+
],
|
198
|
+
mandatory: false,
|
199
|
+
},
|
200
|
+
}, 1),
|
201
|
+
48: Float32Field.create({
|
202
|
+
parent: this,
|
203
|
+
fieldKey: 48,
|
204
|
+
fieldName: "attack",
|
205
|
+
pointerRules: {
|
206
|
+
accepts: [
|
207
|
+
Pointers.Modulation,
|
208
|
+
Pointers.Automation,
|
209
|
+
Pointers.MidiControl,
|
210
|
+
],
|
211
|
+
mandatory: false,
|
212
|
+
},
|
213
|
+
}, 0.001),
|
214
|
+
49: Float32Field.create({
|
215
|
+
parent: this,
|
216
|
+
fieldKey: 49,
|
217
|
+
fieldName: "release",
|
218
|
+
pointerRules: {
|
219
|
+
accepts: [
|
220
|
+
Pointers.Modulation,
|
221
|
+
Pointers.Automation,
|
222
|
+
Pointers.MidiControl,
|
223
|
+
],
|
224
|
+
mandatory: false,
|
225
|
+
},
|
226
|
+
}, 0.02),
|
227
|
+
};
|
228
|
+
}
|
229
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import "@opendaw/lib-std";
|
2
|
+
import { ObjectField, FieldConstruct, BooleanField, Float32Field, UnreferenceableType } from "@opendaw/lib-box";
|
3
|
+
import { Pointers } from "@opendaw/studio-enums";
|
4
|
+
export type RevampBellFields = {
|
5
|
+
1: BooleanField<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
6
|
+
10: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
7
|
+
11: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
8
|
+
12: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
9
|
+
};
|
10
|
+
export declare class RevampBell extends ObjectField<RevampBellFields> {
|
11
|
+
static create(construct: FieldConstruct<UnreferenceableType>): RevampBell;
|
12
|
+
private constructor();
|
13
|
+
get enabled(): BooleanField<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
14
|
+
get frequency(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
15
|
+
get gain(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
16
|
+
get q(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
17
|
+
initializeFields(): RevampBellFields;
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=RevampBell.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RevampBell.d.ts","sourceRoot":"","sources":["../src/RevampBell.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EACL,WAAW,EACX,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAWjD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,CAAC,EAAgB,YAAY,CAC3B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAAC;IACF,EAAE,EAAkB,YAAY,CAC9B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAAC;IACF,EAAE,EAAa,YAAY,CACzB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAAC;IACF,EAAE,EAAU,YAAY,CACtB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAAC;CACH,CAAC;AAEF,qBAAa,UAAW,SAAQ,WAAW,CAAC,gBAAgB,CAAC;IAC3D,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,cAAc,CAAC,mBAAmB,CAAC,GAAG,UAAU;IAIzE,OAAO;IAIP,IAAI,OAAO,IAAI,YAAY,CACzB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAEA;IAED,IAAI,SAAS,IAAI,YAAY,CAC3B,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAEA;IAED,IAAI,IAAI,IAAI,YAAY,CACtB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAEA;IAED,IAAI,CAAC,IAAI,YAAY,CACnB,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,WAAW,CACjE,CAEA;IAED,gBAAgB,IAAI,gBAAgB;CAwDrC"}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
import "@opendaw/lib-std";
|
2
|
+
import { ObjectField, BooleanField, Float32Field, } from "@opendaw/lib-box";
|
3
|
+
import { Pointers } from "@opendaw/studio-enums";
|
4
|
+
export class RevampBell extends ObjectField {
|
5
|
+
static create(construct) {
|
6
|
+
return new RevampBell(construct);
|
7
|
+
}
|
8
|
+
constructor(construct) {
|
9
|
+
super(construct);
|
10
|
+
}
|
11
|
+
get enabled() {
|
12
|
+
return this.getField(1);
|
13
|
+
}
|
14
|
+
get frequency() {
|
15
|
+
return this.getField(10);
|
16
|
+
}
|
17
|
+
get gain() {
|
18
|
+
return this.getField(11);
|
19
|
+
}
|
20
|
+
get q() {
|
21
|
+
return this.getField(12);
|
22
|
+
}
|
23
|
+
initializeFields() {
|
24
|
+
return {
|
25
|
+
1: BooleanField.create({
|
26
|
+
parent: this,
|
27
|
+
fieldKey: 1,
|
28
|
+
fieldName: "enabled",
|
29
|
+
pointerRules: {
|
30
|
+
accepts: [
|
31
|
+
Pointers.Modulation,
|
32
|
+
Pointers.Automation,
|
33
|
+
Pointers.MidiControl,
|
34
|
+
],
|
35
|
+
mandatory: false,
|
36
|
+
},
|
37
|
+
}),
|
38
|
+
10: Float32Field.create({
|
39
|
+
parent: this,
|
40
|
+
fieldKey: 10,
|
41
|
+
fieldName: "frequency",
|
42
|
+
pointerRules: {
|
43
|
+
accepts: [
|
44
|
+
Pointers.Modulation,
|
45
|
+
Pointers.Automation,
|
46
|
+
Pointers.MidiControl,
|
47
|
+
],
|
48
|
+
mandatory: false,
|
49
|
+
},
|
50
|
+
}),
|
51
|
+
11: Float32Field.create({
|
52
|
+
parent: this,
|
53
|
+
fieldKey: 11,
|
54
|
+
fieldName: "gain",
|
55
|
+
pointerRules: {
|
56
|
+
accepts: [
|
57
|
+
Pointers.Modulation,
|
58
|
+
Pointers.Automation,
|
59
|
+
Pointers.MidiControl,
|
60
|
+
],
|
61
|
+
mandatory: false,
|
62
|
+
},
|
63
|
+
}),
|
64
|
+
12: Float32Field.create({
|
65
|
+
parent: this,
|
66
|
+
fieldKey: 12,
|
67
|
+
fieldName: "q",
|
68
|
+
pointerRules: {
|
69
|
+
accepts: [
|
70
|
+
Pointers.Modulation,
|
71
|
+
Pointers.Automation,
|
72
|
+
Pointers.MidiControl,
|
73
|
+
],
|
74
|
+
mandatory: false,
|
75
|
+
},
|
76
|
+
}),
|
77
|
+
};
|
78
|
+
}
|
79
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { Nullish, UUID, Procedure } from "@opendaw/lib-std";
|
2
|
+
import { Box, BoxGraph, PointerField, Int32Field, StringField, BooleanField, Float32Field } from "@opendaw/lib-box";
|
3
|
+
import { RevampPass } from "./RevampPass";
|
4
|
+
import { RevampShelf } from "./RevampShelf";
|
5
|
+
import { RevampBell } from "./RevampBell";
|
6
|
+
import { BoxVisitor } from ".";
|
7
|
+
import { Pointers } from "@opendaw/studio-enums";
|
8
|
+
export type RevampDeviceBoxFields = {
|
9
|
+
1: PointerField<Pointers.AudioEffectHost>;
|
10
|
+
2: Int32Field;
|
11
|
+
3: StringField;
|
12
|
+
4: BooleanField;
|
13
|
+
5: BooleanField;
|
14
|
+
10: RevampPass;
|
15
|
+
11: RevampShelf;
|
16
|
+
12: RevampBell;
|
17
|
+
13: RevampBell;
|
18
|
+
14: RevampBell;
|
19
|
+
15: RevampShelf;
|
20
|
+
16: RevampPass;
|
21
|
+
17: Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
22
|
+
};
|
23
|
+
export declare class RevampDeviceBox extends Box<Pointers.Device | Pointers.Selection, RevampDeviceBoxFields> {
|
24
|
+
static create(graph: BoxGraph, uuid: UUID.Format, constructor?: Procedure<RevampDeviceBox>): RevampDeviceBox;
|
25
|
+
private constructor();
|
26
|
+
accept<R>(visitor: BoxVisitor<R>): Nullish<R>;
|
27
|
+
get host(): PointerField<Pointers.AudioEffectHost>;
|
28
|
+
get index(): Int32Field;
|
29
|
+
get label(): StringField;
|
30
|
+
get enabled(): BooleanField;
|
31
|
+
get minimized(): BooleanField;
|
32
|
+
get highPass(): RevampPass;
|
33
|
+
get lowShelf(): RevampShelf;
|
34
|
+
get lowBell(): RevampBell;
|
35
|
+
get midBell(): RevampBell;
|
36
|
+
get highBell(): RevampBell;
|
37
|
+
get highShelf(): RevampShelf;
|
38
|
+
get lowPass(): RevampPass;
|
39
|
+
get gain(): Float32Field<Pointers.Modulation | Pointers.Automation | Pointers.MidiControl>;
|
40
|
+
initializeFields(): RevampDeviceBoxFields;
|
41
|
+
}
|
42
|
+
//# sourceMappingURL=RevampDeviceBox.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RevampDeviceBox.d.ts","sourceRoot":"","sources":["../src/RevampDeviceBox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAe,IAAI,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EACL,GAAG,EAEH,QAAQ,EAER,YAAY,EACZ,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACb,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5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