@opendaw/studio-adapters 0.0.40 → 0.0.41
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/ParameterAdapterSet.d.ts +3 -3
- package/dist/ParameterAdapterSet.d.ts.map +1 -1
- package/dist/ParameterAdapterSet.js +7 -6
- package/dist/devices/audio-effects/RevampDeviceBoxAdapter.d.ts +1 -2
- package/dist/devices/audio-effects/RevampDeviceBoxAdapter.d.ts.map +1 -1
- package/dist/devices/audio-effects/RevampDeviceBoxAdapter.js +0 -1
- package/dist/devices/audio-effects/ReverbDeviceBoxAdapter.d.ts +7 -9
- package/dist/devices/audio-effects/ReverbDeviceBoxAdapter.d.ts.map +1 -1
- package/dist/devices/audio-effects/ReverbDeviceBoxAdapter.js +0 -1
- package/dist/devices/instruments/MIDIOutputDeviceBoxAdapter.d.ts +3 -3
- package/dist/devices/instruments/MIDIOutputDeviceBoxAdapter.d.ts.map +1 -1
- package/dist/devices/instruments/MIDIOutputDeviceBoxAdapter.js +12 -3
- package/dist/devices/instruments/NanoDeviceBoxAdapter.d.ts +3 -5
- package/dist/devices/instruments/NanoDeviceBoxAdapter.d.ts.map +1 -1
- package/dist/devices/instruments/NanoDeviceBoxAdapter.js +0 -1
- package/dist/devices/instruments/PlayfieldDeviceBoxAdapter.d.ts +1 -3
- package/dist/devices/instruments/PlayfieldDeviceBoxAdapter.d.ts.map +1 -1
- package/dist/devices/instruments/PlayfieldDeviceBoxAdapter.js +0 -1
- package/dist/devices/instruments/SoundfontDeviceBoxAdapter.d.ts +1 -3
- package/dist/devices/instruments/SoundfontDeviceBoxAdapter.d.ts.map +1 -1
- package/dist/devices/instruments/SoundfontDeviceBoxAdapter.js +0 -3
- package/dist/devices/instruments/TapeDeviceBoxAdapter.d.ts +5 -7
- package/dist/devices/instruments/TapeDeviceBoxAdapter.d.ts.map +1 -1
- package/dist/devices/instruments/TapeDeviceBoxAdapter.js +0 -1
- package/dist/devices/instruments/VaporisateurDeviceBoxAdapter.d.ts +10 -12
- package/dist/devices/instruments/VaporisateurDeviceBoxAdapter.d.ts.map +1 -1
- package/dist/devices/instruments/VaporisateurDeviceBoxAdapter.js +0 -1
- package/dist/devices/midi-effects/ArpeggioDeviceBoxAdapter.d.ts +7 -9
- package/dist/devices/midi-effects/ArpeggioDeviceBoxAdapter.d.ts.map +1 -1
- package/dist/devices/midi-effects/ArpeggioDeviceBoxAdapter.js +0 -1
- package/dist/devices/midi-effects/PitchDeviceBoxAdapter.d.ts +4 -6
- package/dist/devices/midi-effects/PitchDeviceBoxAdapter.d.ts.map +1 -1
- package/dist/devices/midi-effects/PitchDeviceBoxAdapter.js +0 -1
- package/dist/grooves/GrooveShuffleBoxAdapter.d.ts +3 -5
- package/dist/grooves/GrooveShuffleBoxAdapter.d.ts.map +1 -1
- package/dist/grooves/GrooveShuffleBoxAdapter.js +0 -1
- package/dist/modular/user-interface.js +1 -1
- package/package.json +8 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Address, PointerTypes, PrimitiveField, PrimitiveValues } from "@opendaw/lib-box";
|
|
2
2
|
import { StringMapping, Terminable, unitValue, ValueMapping } from "@opendaw/lib-std";
|
|
3
3
|
import { AutomatableParameterFieldAdapter } from "./AutomatableParameterFieldAdapter";
|
|
4
4
|
import { BoxAdaptersContext } from "./BoxAdaptersContext";
|
|
@@ -7,8 +7,8 @@ export declare class ParameterAdapterSet implements Terminable {
|
|
|
7
7
|
constructor(context: BoxAdaptersContext);
|
|
8
8
|
terminate(): void;
|
|
9
9
|
parameters(): ReadonlyArray<AutomatableParameterFieldAdapter>;
|
|
10
|
-
parameterAt(
|
|
10
|
+
parameterAt(address: Address): AutomatableParameterFieldAdapter;
|
|
11
11
|
createParameter<T extends PrimitiveValues>(field: PrimitiveField<T, PointerTypes>, valueMapping: ValueMapping<T>, stringMapping: StringMapping<T>, name: string, anchor?: unitValue): AutomatableParameterFieldAdapter<T>;
|
|
12
|
-
removeParameter<T extends PrimitiveValues>(
|
|
12
|
+
removeParameter<T extends PrimitiveValues>(address: Address): AutomatableParameterFieldAdapter<T>;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=ParameterAdapterSet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParameterAdapterSet.d.ts","sourceRoot":"","sources":["../src/ParameterAdapterSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"ParameterAdapterSet.d.ts","sourceRoot":"","sources":["../src/ParameterAdapterSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAC,MAAM,kBAAkB,CAAA;AACvF,OAAO,EAAoB,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAC,MAAM,kBAAkB,CAAA;AACtG,OAAO,EAAC,gCAAgC,EAAC,MAAM,oCAAoC,CAAA;AAEnF,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAA;AAEvD,qBAAa,mBAAoB,YAAW,UAAU;;gBAItC,OAAO,EAAE,kBAAkB;IAKvC,SAAS,IAAI,IAAI;IAKjB,UAAU,IAAI,aAAa,CAAC,gCAAgC,CAAC;IAC7D,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,gCAAgC;IAK/D,eAAe,CAAC,CAAC,SAAS,eAAe,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC,EAAE,YAAY,CAAC,EACtC,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,EAC7B,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,EAC/B,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,SAAS,GAAG,gCAAgC,CAAC,CAAC,CAAC;IAQnG,eAAe,CAAC,CAAC,SAAS,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,gCAAgC,CAAC,CAAC,CAAC;CAGpG"}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Address } from "@opendaw/lib-box";
|
|
2
|
+
import { assert } from "@opendaw/lib-std";
|
|
2
3
|
import { AutomatableParameterFieldAdapter } from "./AutomatableParameterFieldAdapter";
|
|
3
4
|
export class ParameterAdapterSet {
|
|
4
5
|
#context;
|
|
5
6
|
#parameters;
|
|
6
7
|
constructor(context) {
|
|
7
8
|
this.#context = context;
|
|
8
|
-
this.#parameters =
|
|
9
|
+
this.#parameters = Address.newSet(adapter => adapter.address);
|
|
9
10
|
}
|
|
10
11
|
terminate() {
|
|
11
12
|
this.#parameters.forEach(parameter => parameter.terminate());
|
|
12
13
|
this.#parameters.clear();
|
|
13
14
|
}
|
|
14
15
|
parameters() { return this.#parameters.values(); }
|
|
15
|
-
parameterAt(
|
|
16
|
-
return this.#parameters.getOrThrow(
|
|
16
|
+
parameterAt(address) {
|
|
17
|
+
return this.#parameters.getOrThrow(address, () => new Error(`No ParameterAdapter found at [${address.toString()}]`));
|
|
17
18
|
}
|
|
18
19
|
createParameter(field, valueMapping, stringMapping, name, anchor) {
|
|
19
20
|
const adapter = new AutomatableParameterFieldAdapter(this.#context, field, valueMapping, stringMapping, name, anchor);
|
|
@@ -21,7 +22,7 @@ export class ParameterAdapterSet {
|
|
|
21
22
|
assert(added, `Could not add adapter for ${field}`);
|
|
22
23
|
return adapter;
|
|
23
24
|
}
|
|
24
|
-
removeParameter(
|
|
25
|
-
this.#parameters.
|
|
25
|
+
removeParameter(address) {
|
|
26
|
+
return this.#parameters.removeByKey(address);
|
|
26
27
|
}
|
|
27
28
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RevampDeviceBox } from "@opendaw/studio-boxes";
|
|
2
2
|
import { int, UUID } from "@opendaw/lib-std";
|
|
3
|
-
import { Address, BooleanField,
|
|
3
|
+
import { Address, BooleanField, Int32Field, PointerField, StringField } from "@opendaw/lib-box";
|
|
4
4
|
import { Pointers } from "@opendaw/studio-enums";
|
|
5
5
|
import { AudioEffectDeviceAdapter, DeviceHost } from "../../DeviceAdapter";
|
|
6
6
|
import { BoxAdaptersContext } from "../../BoxAdaptersContext";
|
|
@@ -31,7 +31,6 @@ export declare class RevampDeviceBoxAdapter implements AudioEffectDeviceAdapter
|
|
|
31
31
|
get spectrum(): Address;
|
|
32
32
|
deviceHost(): DeviceHost;
|
|
33
33
|
audioUnitBoxAdapter(): AudioUnitBoxAdapter;
|
|
34
|
-
parameterAt(fieldIndices: FieldKeys): AutomatableParameterFieldAdapter;
|
|
35
34
|
terminate(): void;
|
|
36
35
|
}
|
|
37
36
|
export type Parameters = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RevampDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/audio-effects/RevampDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,eAAe,EAA0B,MAAM,uBAAuB,CAAA;AAC1F,OAAO,EAAC,GAAG,EAAiB,IAAI,EAAe,MAAM,kBAAkB,CAAA;AACvE,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"RevampDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/audio-effects/RevampDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,eAAe,EAA0B,MAAM,uBAAuB,CAAA;AAC1F,OAAO,EAAC,GAAG,EAAiB,IAAI,EAAe,MAAM,kBAAkB,CAAA;AACvE,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAA;AAC7F,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EAAC,wBAAwB,EAAE,UAAU,EAAU,MAAM,qBAAqB,CAAA;AACjF,OAAO,EAAC,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAE3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAA;AACxE,OAAO,EAAC,gCAAgC,EAAC,MAAM,wCAAwC,CAAA;AAEvF,qBAAa,sBAAuB,YAAW,wBAAwB;;IACnE,QAAQ,CAAC,IAAI,kBAAiB;IAC9B,QAAQ,CAAC,OAAO,WAAU;IAK1B,QAAQ,CAAC,cAAc;;;;;;;;MAAA;gBAEX,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,eAAe;IAO7D,IAAI,GAAG,IAAI,eAAe,CAAmB;IAC7C,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,CAAgC;IACtD,IAAI,OAAO,IAAI,OAAO,CAA2B;IACjD,IAAI,UAAU,IAAI,UAAU,CAAyB;IACrD,IAAI,UAAU,IAAI,WAAW,CAAyB;IACtD,IAAI,YAAY,IAAI,YAAY,CAA2B;IAC3D,IAAI,cAAc,IAAI,YAAY,CAA6B;IAC/D,IAAI,IAAI,IAAI,YAAY,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAwB;IAC1E,IAAI,QAAQ,IAAI,OAAO,CAAyC;IAEhE,UAAU,IAAI,UAAU;IAKxB,mBAAmB,IAAI,mBAAmB;IAE1C,SAAS,IAAI,IAAI;CAapB;AAED,MAAM,MAAM,UAAU,GAAG;IACrB,OAAO,EAAE,gCAAgC,CAAC,OAAO,CAAC,CAAA;IAClD,SAAS,EAAE,gCAAgC,CAAC,MAAM,CAAC,CAAA;CACtD,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG;IACtC,KAAK,EAAE,gCAAgC,CAAC,GAAG,CAAC,CAAA;IAC5C,CAAC,EAAE,gCAAgC,CAAC,MAAM,CAAC,CAAA;CAC9C,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG;IACvC,IAAI,EAAE,gCAAgC,CAAC,MAAM,CAAC,CAAA;CACjD,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG;IACtC,CAAC,EAAE,gCAAgC,CAAC,MAAM,CAAC,CAAA;IAC3C,IAAI,EAAE,gCAAgC,CAAC,MAAM,CAAC,CAAA;CACjD,CAAA"}
|
|
@@ -28,7 +28,6 @@ export class RevampDeviceBoxAdapter {
|
|
|
28
28
|
.adapterFor(this.#box.host.targetVertex.unwrap("no device-host").box, Devices.isHost);
|
|
29
29
|
}
|
|
30
30
|
audioUnitBoxAdapter() { return this.deviceHost().audioUnitBoxAdapter(); }
|
|
31
|
-
parameterAt(fieldIndices) { return this.#parametric.parameterAt(fieldIndices); }
|
|
32
31
|
terminate() { this.#parametric.terminate(); }
|
|
33
32
|
#wrapParameters(box) {
|
|
34
33
|
return {
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { ReverbDeviceBox } from "@opendaw/studio-boxes";
|
|
2
2
|
import { UUID } from "@opendaw/lib-std";
|
|
3
|
-
import { Address, BooleanField,
|
|
3
|
+
import { Address, BooleanField, Int32Field, PointerField, StringField } from "@opendaw/lib-box";
|
|
4
4
|
import { Pointers } from "@opendaw/studio-enums";
|
|
5
5
|
import { AudioEffectDeviceAdapter, DeviceHost } from "../../DeviceAdapter";
|
|
6
6
|
import { BoxAdaptersContext } from "../../BoxAdaptersContext";
|
|
7
7
|
import { AudioUnitBoxAdapter } from "../../audio-unit/AudioUnitBoxAdapter";
|
|
8
|
-
import { AutomatableParameterFieldAdapter } from "../../AutomatableParameterFieldAdapter";
|
|
9
8
|
export declare class ReverbDeviceBoxAdapter implements AudioEffectDeviceAdapter {
|
|
10
9
|
#private;
|
|
11
10
|
readonly type = "audio-effect";
|
|
12
11
|
readonly accepts = "audio";
|
|
13
12
|
readonly namedParameter: {
|
|
14
|
-
readonly decay: AutomatableParameterFieldAdapter<number>;
|
|
15
|
-
readonly preDelay: AutomatableParameterFieldAdapter<number>;
|
|
16
|
-
readonly damp: AutomatableParameterFieldAdapter<number>;
|
|
17
|
-
readonly filter: AutomatableParameterFieldAdapter<number>;
|
|
18
|
-
readonly dry: AutomatableParameterFieldAdapter<number>;
|
|
19
|
-
readonly wet: AutomatableParameterFieldAdapter<number>;
|
|
13
|
+
readonly decay: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
14
|
+
readonly preDelay: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
15
|
+
readonly damp: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
16
|
+
readonly filter: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
17
|
+
readonly dry: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
18
|
+
readonly wet: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
20
19
|
};
|
|
21
20
|
constructor(context: BoxAdaptersContext, box: ReverbDeviceBox);
|
|
22
21
|
get box(): ReverbDeviceBox;
|
|
@@ -29,7 +28,6 @@ export declare class ReverbDeviceBoxAdapter implements AudioEffectDeviceAdapter
|
|
|
29
28
|
get host(): PointerField<Pointers.AudioEffectHost>;
|
|
30
29
|
deviceHost(): DeviceHost;
|
|
31
30
|
audioUnitBoxAdapter(): AudioUnitBoxAdapter;
|
|
32
|
-
parameterAt(fieldIndices: FieldKeys): AutomatableParameterFieldAdapter;
|
|
33
31
|
terminate(): void;
|
|
34
32
|
}
|
|
35
33
|
//# sourceMappingURL=ReverbDeviceBoxAdapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReverbDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/audio-effects/ReverbDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,uBAAuB,CAAA;AACrD,OAAO,EAAgB,IAAI,EAAe,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"ReverbDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/audio-effects/ReverbDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,uBAAuB,CAAA;AACrD,OAAO,EAAgB,IAAI,EAAe,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAA;AAC7F,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EAAC,wBAAwB,EAAE,UAAU,EAAU,MAAM,qBAAqB,CAAA;AACjF,OAAO,EAAC,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAE3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAA;AAExE,qBAAa,sBAAuB,YAAW,wBAAwB;;IACnE,QAAQ,CAAC,IAAI,kBAAiB;IAC9B,QAAQ,CAAC,OAAO,WAAU;IAK1B,QAAQ,CAAC,cAAc;;;;;;;MAAA;gBAEX,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,eAAe;IAO7D,IAAI,GAAG,IAAI,eAAe,CAAmB;IAC7C,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,CAAgC;IACtD,IAAI,OAAO,IAAI,OAAO,CAA2B;IACjD,IAAI,UAAU,IAAI,UAAU,CAAyB;IACrD,IAAI,UAAU,IAAI,WAAW,CAAyB;IACtD,IAAI,YAAY,IAAI,YAAY,CAA2B;IAC3D,IAAI,cAAc,IAAI,YAAY,CAA6B;IAC/D,IAAI,IAAI,IAAI,YAAY,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAwB;IAE1E,UAAU,IAAI,UAAU;IAKxB,mBAAmB,IAAI,mBAAmB;IAE1C,SAAS,IAAI,IAAI;CAsCpB"}
|
|
@@ -27,7 +27,6 @@ export class ReverbDeviceBoxAdapter {
|
|
|
27
27
|
.adapterFor(this.#box.host.targetVertex.unwrap("no device-host").box, Devices.isHost);
|
|
28
28
|
}
|
|
29
29
|
audioUnitBoxAdapter() { return this.deviceHost().audioUnitBoxAdapter(); }
|
|
30
|
-
parameterAt(fieldIndices) { return this.#parametric.parameterAt(fieldIndices); }
|
|
31
30
|
terminate() { this.#parametric.terminate(); }
|
|
32
31
|
#wrapParameters(box) {
|
|
33
32
|
return {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { UUID } from "@opendaw/lib-std";
|
|
2
2
|
import { MIDIOutputDeviceBox } from "@opendaw/studio-boxes";
|
|
3
|
-
import { Address, BooleanField,
|
|
3
|
+
import { Address, BooleanField, StringField } from "@opendaw/lib-box";
|
|
4
4
|
import { DeviceHost, InstrumentDeviceBoxAdapter } from "../../DeviceAdapter";
|
|
5
5
|
import { BoxAdaptersContext } from "../../BoxAdaptersContext";
|
|
6
|
+
import { ParameterAdapterSet } from "../../ParameterAdapterSet";
|
|
6
7
|
import { TrackType } from "../../timeline/TrackType";
|
|
7
|
-
import { AutomatableParameterFieldAdapter } from "../../AutomatableParameterFieldAdapter";
|
|
8
8
|
import { AudioUnitBoxAdapter } from "../../audio-unit/AudioUnitBoxAdapter";
|
|
9
9
|
export declare class MIDIOutputDeviceBoxAdapter implements InstrumentDeviceBoxAdapter {
|
|
10
10
|
#private;
|
|
@@ -20,9 +20,9 @@ export declare class MIDIOutputDeviceBoxAdapter implements InstrumentDeviceBoxAd
|
|
|
20
20
|
get enabledField(): BooleanField;
|
|
21
21
|
get minimizedField(): BooleanField;
|
|
22
22
|
get acceptsMidiEvents(): boolean;
|
|
23
|
+
get parameters(): ParameterAdapterSet;
|
|
23
24
|
deviceHost(): DeviceHost;
|
|
24
25
|
audioUnitBoxAdapter(): AudioUnitBoxAdapter;
|
|
25
|
-
parameterAt(fieldIndices: FieldKeys): AutomatableParameterFieldAdapter;
|
|
26
26
|
terminate(): void;
|
|
27
27
|
}
|
|
28
28
|
//# sourceMappingURL=MIDIOutputDeviceBoxAdapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MIDIOutputDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/instruments/MIDIOutputDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"MIDIOutputDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/instruments/MIDIOutputDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,IAAI,EAAe,MAAM,kBAAkB,CAAA;AAC5F,OAAO,EAAC,mBAAmB,EAAyB,MAAM,uBAAuB,CAAA;AACjF,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAA;AACnE,OAAO,EAAC,UAAU,EAAW,0BAA0B,EAAC,MAAM,qBAAqB,CAAA;AACnF,OAAO,EAAC,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,2BAA2B,CAAA;AAC7D,OAAO,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAA;AAClD,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAA;AAExE,qBAAa,0BAA2B,YAAW,0BAA0B;;IAGzE,QAAQ,CAAC,IAAI,gBAAe;IAC5B,QAAQ,CAAC,OAAO,UAAS;gBAOb,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,mBAAmB;IAcjE,IAAI,GAAG,IAAI,mBAAmB,CAAmB;IACjD,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,CAAgC;IACtD,IAAI,OAAO,IAAI,OAAO,CAA2B;IACjD,IAAI,UAAU,IAAI,WAAW,CAAyB;IACtD,IAAI,SAAS,IAAI,WAAW,CAAwB;IACpD,IAAI,gBAAgB,IAAI,SAAS,CAAyB;IAC1D,IAAI,YAAY,IAAI,YAAY,CAA2B;IAC3D,IAAI,cAAc,IAAI,YAAY,CAA6B;IAC/D,IAAI,iBAAiB,IAAI,OAAO,CAAc;IAC9C,IAAI,UAAU,IAAI,mBAAmB,CAA0B;IAE/D,UAAU,IAAI,UAAU;IAKxB,mBAAmB,IAAI,mBAAmB;IAE1C,SAAS,IAAI,IAAI;CACpB"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { asInstanceOf, StringMapping, Terminator, ValueMapping } from "@opendaw/lib-std";
|
|
2
|
+
import { MIDIOutputParameterBox } from "@opendaw/studio-boxes";
|
|
1
3
|
import { Devices } from "../../DeviceAdapter";
|
|
2
4
|
import { ParameterAdapterSet } from "../../ParameterAdapterSet";
|
|
3
5
|
import { TrackType } from "../../timeline/TrackType";
|
|
4
6
|
export class MIDIOutputDeviceBoxAdapter {
|
|
7
|
+
#terminator = new Terminator();
|
|
5
8
|
type = "instrument";
|
|
6
9
|
accepts = "midi";
|
|
7
10
|
#context;
|
|
@@ -10,7 +13,13 @@ export class MIDIOutputDeviceBoxAdapter {
|
|
|
10
13
|
constructor(context, box) {
|
|
11
14
|
this.#context = context;
|
|
12
15
|
this.#box = box;
|
|
13
|
-
this.#parametric = new ParameterAdapterSet(this.#context);
|
|
16
|
+
this.#parametric = this.#terminator.own(new ParameterAdapterSet(this.#context));
|
|
17
|
+
this.#terminator.own(box.parameters.pointerHub.catchupAndSubscribe({
|
|
18
|
+
onAdded: (({ box }) => this.#parametric
|
|
19
|
+
.createParameter(asInstanceOf(box, MIDIOutputParameterBox).value, ValueMapping.unipolar(), StringMapping.percent({ fractionDigits: 1 }), "", 0.0)),
|
|
20
|
+
onRemoved: (({ box }) => this.#parametric
|
|
21
|
+
.removeParameter(asInstanceOf(box, MIDIOutputParameterBox).value.address))
|
|
22
|
+
}));
|
|
14
23
|
}
|
|
15
24
|
get box() { return this.#box; }
|
|
16
25
|
get uuid() { return this.#box.address.uuid; }
|
|
@@ -21,11 +30,11 @@ export class MIDIOutputDeviceBoxAdapter {
|
|
|
21
30
|
get enabledField() { return this.#box.enabled; }
|
|
22
31
|
get minimizedField() { return this.#box.minimized; }
|
|
23
32
|
get acceptsMidiEvents() { return true; }
|
|
33
|
+
get parameters() { return this.#parametric; }
|
|
24
34
|
deviceHost() {
|
|
25
35
|
return this.#context.boxAdapters
|
|
26
36
|
.adapterFor(this.#box.host.targetVertex.unwrap("no device-host").box, Devices.isHost);
|
|
27
37
|
}
|
|
28
38
|
audioUnitBoxAdapter() { return this.deviceHost().audioUnitBoxAdapter(); }
|
|
29
|
-
|
|
30
|
-
terminate() { this.#parametric.terminate(); }
|
|
39
|
+
terminate() { this.#terminator.terminate(); }
|
|
31
40
|
}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { NanoDeviceBox } from "@opendaw/studio-boxes";
|
|
2
2
|
import { UUID } from "@opendaw/lib-std";
|
|
3
|
-
import { Address, BooleanField,
|
|
3
|
+
import { Address, BooleanField, StringField } from "@opendaw/lib-box";
|
|
4
4
|
import { DeviceHost, InstrumentDeviceBoxAdapter } from "../../DeviceAdapter";
|
|
5
5
|
import { BoxAdaptersContext } from "../../BoxAdaptersContext";
|
|
6
6
|
import { TrackType } from "../../timeline/TrackType";
|
|
7
7
|
import { AudioUnitBoxAdapter } from "../../audio-unit/AudioUnitBoxAdapter";
|
|
8
|
-
import { AutomatableParameterFieldAdapter } from "../../AutomatableParameterFieldAdapter";
|
|
9
8
|
export declare class NanoDeviceBoxAdapter implements InstrumentDeviceBoxAdapter {
|
|
10
9
|
#private;
|
|
11
10
|
readonly type = "instrument";
|
|
12
11
|
readonly accepts = "midi";
|
|
13
12
|
readonly namedParameter: {
|
|
14
|
-
readonly volume: AutomatableParameterFieldAdapter<number>;
|
|
15
|
-
readonly release: AutomatableParameterFieldAdapter<number>;
|
|
13
|
+
readonly volume: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
14
|
+
readonly release: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
16
15
|
};
|
|
17
16
|
constructor(context: BoxAdaptersContext, box: NanoDeviceBox);
|
|
18
17
|
get box(): NanoDeviceBox;
|
|
@@ -26,7 +25,6 @@ export declare class NanoDeviceBoxAdapter implements InstrumentDeviceBoxAdapter
|
|
|
26
25
|
get acceptsMidiEvents(): boolean;
|
|
27
26
|
deviceHost(): DeviceHost;
|
|
28
27
|
audioUnitBoxAdapter(): AudioUnitBoxAdapter;
|
|
29
|
-
parameterAt(fieldIndices: FieldKeys): AutomatableParameterFieldAdapter;
|
|
30
28
|
terminate(): void;
|
|
31
29
|
}
|
|
32
30
|
//# sourceMappingURL=NanoDeviceBoxAdapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NanoDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/instruments/NanoDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAA;AACnD,OAAO,EAAgB,IAAI,EAAe,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"NanoDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/instruments/NanoDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAA;AACnD,OAAO,EAAgB,IAAI,EAAe,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAA;AACnE,OAAO,EAAC,UAAU,EAAW,0BAA0B,EAAC,MAAM,qBAAqB,CAAA;AACnF,OAAO,EAAC,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAE3D,OAAO,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAA;AAClD,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAA;AAExE,qBAAa,oBAAqB,YAAW,0BAA0B;;IACnE,QAAQ,CAAC,IAAI,gBAAe;IAC5B,QAAQ,CAAC,OAAO,UAAS;IAMzB,QAAQ,CAAC,cAAc;;;MAAA;gBAEX,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,aAAa;IAO3D,IAAI,GAAG,IAAI,aAAa,CAAmB;IAC3C,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,CAAgC;IACtD,IAAI,OAAO,IAAI,OAAO,CAA2B;IACjD,IAAI,UAAU,IAAI,WAAW,CAAyB;IACtD,IAAI,SAAS,IAAI,WAAW,CAAwB;IACpD,IAAI,gBAAgB,IAAI,SAAS,CAAyB;IAC1D,IAAI,YAAY,IAAI,YAAY,CAA2B;IAC3D,IAAI,cAAc,IAAI,YAAY,CAA6B;IAC/D,IAAI,iBAAiB,IAAI,OAAO,CAAc;IAE9C,UAAU,IAAI,UAAU;IAKxB,mBAAmB,IAAI,mBAAmB;IAE1C,SAAS,IAAI,IAAI;CAcpB"}
|
|
@@ -29,7 +29,6 @@ export class NanoDeviceBoxAdapter {
|
|
|
29
29
|
.adapterFor(this.#box.host.targetVertex.unwrap("no device-host").box, Devices.isHost);
|
|
30
30
|
}
|
|
31
31
|
audioUnitBoxAdapter() { return this.deviceHost().audioUnitBoxAdapter(); }
|
|
32
|
-
parameterAt(fieldIndices) { return this.#parametric.parameterAt(fieldIndices); }
|
|
33
32
|
terminate() { this.#parametric.terminate(); }
|
|
34
33
|
#wrapParameters(box) {
|
|
35
34
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PlayfieldDeviceBox } from "@opendaw/studio-boxes";
|
|
2
|
-
import { Address, BooleanField,
|
|
2
|
+
import { Address, BooleanField, StringField } from "@opendaw/lib-box";
|
|
3
3
|
import { Pointers } from "@opendaw/studio-enums";
|
|
4
4
|
import { UUID } from "@opendaw/lib-std";
|
|
5
5
|
import { DeviceHost, InstrumentDeviceBoxAdapter } from "../../DeviceAdapter";
|
|
@@ -8,7 +8,6 @@ import { IndexedBoxAdapterCollection } from "../../IndexedBoxAdapterCollection";
|
|
|
8
8
|
import { PlayfieldSampleBoxAdapter } from "./Playfield/PlayfieldSampleBoxAdapter";
|
|
9
9
|
import { TrackType } from "../../timeline/TrackType";
|
|
10
10
|
import { AudioUnitBoxAdapter } from "../../audio-unit/AudioUnitBoxAdapter";
|
|
11
|
-
import { AutomatableParameterFieldAdapter } from "../../AutomatableParameterFieldAdapter";
|
|
12
11
|
export declare class PlayfieldDeviceBoxAdapter implements InstrumentDeviceBoxAdapter {
|
|
13
12
|
#private;
|
|
14
13
|
readonly type = "instrument";
|
|
@@ -29,7 +28,6 @@ export declare class PlayfieldDeviceBoxAdapter implements InstrumentDeviceBoxAda
|
|
|
29
28
|
get context(): BoxAdaptersContext;
|
|
30
29
|
deviceHost(): DeviceHost;
|
|
31
30
|
audioUnitBoxAdapter(): AudioUnitBoxAdapter;
|
|
32
|
-
parameterAt(fieldIndices: FieldKeys): AutomatableParameterFieldAdapter;
|
|
33
31
|
terminate(): void;
|
|
34
32
|
}
|
|
35
33
|
//# sourceMappingURL=PlayfieldDeviceBoxAdapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayfieldDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/instruments/PlayfieldDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"PlayfieldDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/instruments/PlayfieldDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAA;AACnE,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAA;AACrC,OAAO,EAAC,UAAU,EAAW,0BAA0B,EAAC,MAAM,qBAAqB,CAAA;AACnF,OAAO,EAAC,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAC,2BAA2B,EAAC,MAAM,mCAAmC,CAAA;AAC7E,OAAO,EAAC,yBAAyB,EAAC,MAAM,uCAAuC,CAAA;AAE/E,OAAO,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAA;AAClD,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAA;AAExE,qBAAa,yBAA0B,YAAW,0BAA0B;;IACxE,QAAQ,CAAC,IAAI,gBAAe;IAC5B,QAAQ,CAAC,OAAO,UAAS;gBAQb,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,kBAAkB;IAShE,KAAK,IAAI,IAAI;IAEb,IAAI,GAAG,IAAI,kBAAkB,CAAmB;IAChD,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,CAAgC;IACtD,IAAI,OAAO,IAAI,OAAO,CAA2B;IACjD,IAAI,YAAY,IAAI,OAAO,CAAwC;IACnE,IAAI,UAAU,IAAI,WAAW,CAAyB;IACtD,IAAI,SAAS,IAAI,WAAW,CAAwB;IACpD,IAAI,gBAAgB,IAAI,SAAS,CAAyB;IAC1D,IAAI,YAAY,IAAI,YAAY,CAA2B;IAC3D,IAAI,cAAc,IAAI,YAAY,CAA6B;IAC/D,IAAI,iBAAiB,IAAI,OAAO,CAAc;IAC9C,IAAI,OAAO,IAAI,2BAA2B,CAAC,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAuB;IAC7G,IAAI,OAAO,IAAI,kBAAkB,CAAuB;IAExD,UAAU,IAAI,UAAU;IAKxB,mBAAmB,IAAI,mBAAmB;IAE1C,SAAS,IAAI,IAAI;CACpB"}
|
|
@@ -35,6 +35,5 @@ export class PlayfieldDeviceBoxAdapter {
|
|
|
35
35
|
.adapterFor(this.#box.host.targetVertex.unwrap("no device-host").box, Devices.isHost);
|
|
36
36
|
}
|
|
37
37
|
audioUnitBoxAdapter() { return this.deviceHost().audioUnitBoxAdapter(); }
|
|
38
|
-
parameterAt(fieldIndices) { return this.#parametric.parameterAt(fieldIndices); }
|
|
39
38
|
terminate() { this.#parametric.terminate(); }
|
|
40
39
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { int, ObservableOption, UUID } from "@opendaw/lib-std";
|
|
2
2
|
import { SoundfontDeviceBox } from "@opendaw/studio-boxes";
|
|
3
|
-
import { Address, BooleanField,
|
|
3
|
+
import { Address, BooleanField, StringField } from "@opendaw/lib-box";
|
|
4
4
|
import { DeviceHost, InstrumentDeviceBoxAdapter } from "../../DeviceAdapter";
|
|
5
5
|
import { BoxAdaptersContext } from "../../BoxAdaptersContext";
|
|
6
6
|
import { TrackType } from "../../timeline/TrackType";
|
|
7
|
-
import { AutomatableParameterFieldAdapter } from "../../AutomatableParameterFieldAdapter";
|
|
8
7
|
import { AudioUnitBoxAdapter } from "../../audio-unit/AudioUnitBoxAdapter";
|
|
9
8
|
import { SoundfontLoader } from "../../soundfont/SoundfontLoader";
|
|
10
9
|
import type { Preset, SoundFont2 } from "soundfont2";
|
|
@@ -29,7 +28,6 @@ export declare class SoundfontDeviceBoxAdapter implements InstrumentDeviceBoxAda
|
|
|
29
28
|
get acceptsMidiEvents(): boolean;
|
|
30
29
|
deviceHost(): DeviceHost;
|
|
31
30
|
audioUnitBoxAdapter(): AudioUnitBoxAdapter;
|
|
32
|
-
parameterAt(fieldIndices: FieldKeys): AutomatableParameterFieldAdapter;
|
|
33
31
|
terminate(): void;
|
|
34
32
|
}
|
|
35
33
|
//# sourceMappingURL=SoundfontDeviceBoxAdapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SoundfontDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/instruments/SoundfontDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,GAAG,EAEH,gBAAgB,EAKhB,IAAI,EACP,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"SoundfontDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/instruments/SoundfontDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,GAAG,EAEH,gBAAgB,EAKhB,IAAI,EACP,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAA;AACnE,OAAO,EAAC,UAAU,EAAW,0BAA0B,EAAC,MAAM,qBAAqB,CAAA;AACnF,OAAO,EAAC,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAE3D,OAAO,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAA;AAClD,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAA;AACxE,OAAO,EAAC,eAAe,EAAC,MAAM,iCAAiC,CAAA;AAC/D,OAAO,KAAK,EAAC,MAAM,EAAE,UAAU,EAAC,MAAM,YAAY,CAAA;AAElD,qBAAa,yBAA0B,YAAW,0BAA0B;;IACxE,QAAQ,CAAC,IAAI,gBAAe;IAC5B,QAAQ,CAAC,OAAO,UAAS;IAQzB,QAAQ,CAAC,cAAc,KAAA;gBAQX,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,kBAAkB;IAqBhE,IAAI,MAAM,IAAI,gBAAgB,CAAC,eAAe,CAAC,CAAsB;IACrE,IAAI,SAAS,IAAI,gBAAgB,CAAC,UAAU,CAAC,CAAyB;IACtE,IAAI,MAAM,IAAI,gBAAgB,CAAC,MAAM,CAAC,CAAsB;IAC5D,IAAI,WAAW,IAAI,GAAG,CAA0C;IAChE,IAAI,GAAG,IAAI,kBAAkB,CAAmB;IAChD,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,CAAgC;IACtD,IAAI,OAAO,IAAI,OAAO,CAA2B;IACjD,IAAI,UAAU,IAAI,WAAW,CAAyB;IACtD,IAAI,SAAS,IAAI,WAAW,CAAwB;IACpD,IAAI,gBAAgB,IAAI,SAAS,CAAyB;IAC1D,IAAI,YAAY,IAAI,YAAY,CAA2B;IAC3D,IAAI,cAAc,IAAI,YAAY,CAA6B;IAC/D,IAAI,iBAAiB,IAAI,OAAO,CAAc;IAE9C,UAAU,IAAI,UAAU;IAKxB,mBAAmB,IAAI,mBAAmB;IAE1C,SAAS,IAAI,IAAI;CAwCpB"}
|
|
@@ -45,9 +45,6 @@ export class SoundfontDeviceBoxAdapter {
|
|
|
45
45
|
.adapterFor(this.#box.host.targetVertex.unwrap("no device-host").box, Devices.isHost);
|
|
46
46
|
}
|
|
47
47
|
audioUnitBoxAdapter() { return this.deviceHost().audioUnitBoxAdapter(); }
|
|
48
|
-
parameterAt(fieldIndices) {
|
|
49
|
-
return this.#parametric.parameterAt(fieldIndices);
|
|
50
|
-
}
|
|
51
48
|
terminate() {
|
|
52
49
|
this.#loaderSubscription.terminate();
|
|
53
50
|
this.#loaderSubscription = Terminable.Empty;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { TapeDeviceBox } from "@opendaw/studio-boxes";
|
|
2
2
|
import { UUID } from "@opendaw/lib-std";
|
|
3
|
-
import { Address, BooleanField,
|
|
3
|
+
import { Address, BooleanField, StringField } from "@opendaw/lib-box";
|
|
4
4
|
import { DeviceHost, InstrumentDeviceBoxAdapter } from "../../DeviceAdapter";
|
|
5
5
|
import { BoxAdaptersContext } from "../../BoxAdaptersContext";
|
|
6
6
|
import { AudioUnitBoxAdapter } from "../../audio-unit/AudioUnitBoxAdapter";
|
|
7
|
-
import { AutomatableParameterFieldAdapter } from "../../AutomatableParameterFieldAdapter";
|
|
8
7
|
import { TrackType } from "../../timeline/TrackType";
|
|
9
8
|
export declare class TapeDeviceBoxAdapter implements InstrumentDeviceBoxAdapter {
|
|
10
9
|
#private;
|
|
11
10
|
readonly type = "instrument";
|
|
12
11
|
readonly accepts = "audio";
|
|
13
12
|
readonly namedParameter: {
|
|
14
|
-
readonly flutter: AutomatableParameterFieldAdapter<number>;
|
|
15
|
-
readonly wow: AutomatableParameterFieldAdapter<number>;
|
|
16
|
-
readonly noise: AutomatableParameterFieldAdapter<number>;
|
|
17
|
-
readonly saturation: AutomatableParameterFieldAdapter<number>;
|
|
13
|
+
readonly flutter: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
14
|
+
readonly wow: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
15
|
+
readonly noise: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
16
|
+
readonly saturation: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
18
17
|
};
|
|
19
18
|
constructor(context: BoxAdaptersContext, box: TapeDeviceBox);
|
|
20
19
|
get box(): TapeDeviceBox;
|
|
@@ -28,7 +27,6 @@ export declare class TapeDeviceBoxAdapter implements InstrumentDeviceBoxAdapter
|
|
|
28
27
|
get acceptsMidiEvents(): boolean;
|
|
29
28
|
deviceHost(): DeviceHost;
|
|
30
29
|
audioUnitBoxAdapter(): AudioUnitBoxAdapter;
|
|
31
|
-
parameterAt(fieldIndices: FieldKeys): AutomatableParameterFieldAdapter;
|
|
32
30
|
terminate(): void;
|
|
33
31
|
}
|
|
34
32
|
//# sourceMappingURL=TapeDeviceBoxAdapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TapeDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/instruments/TapeDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAA;AACnD,OAAO,EAAgB,IAAI,EAAe,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"TapeDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/instruments/TapeDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAA;AACnD,OAAO,EAAgB,IAAI,EAAe,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAA;AACnE,OAAO,EAAC,UAAU,EAAW,0BAA0B,EAAC,MAAM,qBAAqB,CAAA;AACnF,OAAO,EAAC,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAE3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAA;AACxE,OAAO,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAA;AAElD,qBAAa,oBAAqB,YAAW,0BAA0B;;IACnE,QAAQ,CAAC,IAAI,gBAAe;IAC5B,QAAQ,CAAC,OAAO,WAAU;IAM1B,QAAQ,CAAC,cAAc;;;;;MAAA;gBAEX,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,aAAa;IAO3D,IAAI,GAAG,IAAI,aAAa,CAAmB;IAC3C,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,CAAgC;IACtD,IAAI,OAAO,IAAI,OAAO,CAA2B;IACjD,IAAI,UAAU,IAAI,WAAW,CAAyB;IACtD,IAAI,SAAS,IAAI,WAAW,CAAwB;IACpD,IAAI,gBAAgB,IAAI,SAAS,CAAyB;IAC1D,IAAI,YAAY,IAAI,YAAY,CAA2B;IAC3D,IAAI,cAAc,IAAI,YAAY,CAA6B;IAC/D,IAAI,iBAAiB,IAAI,OAAO,CAAe;IAE/C,UAAU,IAAI,UAAU;IAKxB,mBAAmB,IAAI,mBAAmB;IAE1C,SAAS,IAAI,IAAI;CAsBpB"}
|
|
@@ -29,7 +29,6 @@ export class TapeDeviceBoxAdapter {
|
|
|
29
29
|
.adapterFor(this.#box.host.targetVertex.unwrap("no device-host").box, Devices.isHost);
|
|
30
30
|
}
|
|
31
31
|
audioUnitBoxAdapter() { return this.deviceHost().audioUnitBoxAdapter(); }
|
|
32
|
-
parameterAt(fieldIndices) { return this.#parametric.parameterAt(fieldIndices); }
|
|
33
32
|
terminate() { this.#parametric.terminate(); }
|
|
34
33
|
#wrapParameters(box) {
|
|
35
34
|
return {
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import { UUID } from "@opendaw/lib-std";
|
|
2
2
|
import { VaporisateurDeviceBox } from "@opendaw/studio-boxes";
|
|
3
|
-
import { Address, BooleanField,
|
|
3
|
+
import { Address, BooleanField, StringField } from "@opendaw/lib-box";
|
|
4
4
|
import { DeviceHost, InstrumentDeviceBoxAdapter } from "../../DeviceAdapter";
|
|
5
5
|
import { BoxAdaptersContext } from "../../BoxAdaptersContext";
|
|
6
6
|
import { TrackType } from "../../timeline/TrackType";
|
|
7
|
-
import { AutomatableParameterFieldAdapter } from "../../AutomatableParameterFieldAdapter";
|
|
8
7
|
import { AudioUnitBoxAdapter } from "../../audio-unit/AudioUnitBoxAdapter";
|
|
9
8
|
export declare class VaporisateurDeviceBoxAdapter implements InstrumentDeviceBoxAdapter {
|
|
10
9
|
#private;
|
|
11
10
|
readonly type = "instrument";
|
|
12
11
|
readonly accepts = "midi";
|
|
13
12
|
readonly namedParameter: {
|
|
14
|
-
readonly volume: AutomatableParameterFieldAdapter<number>;
|
|
15
|
-
readonly octave: AutomatableParameterFieldAdapter<number>;
|
|
16
|
-
readonly tune: AutomatableParameterFieldAdapter<number>;
|
|
17
|
-
readonly waveform: AutomatableParameterFieldAdapter<number>;
|
|
18
|
-
readonly cutoff: AutomatableParameterFieldAdapter<number>;
|
|
19
|
-
readonly resonance: AutomatableParameterFieldAdapter<number>;
|
|
20
|
-
readonly attack: AutomatableParameterFieldAdapter<number>;
|
|
21
|
-
readonly release: AutomatableParameterFieldAdapter<number>;
|
|
22
|
-
readonly filterEnvelope: AutomatableParameterFieldAdapter<number>;
|
|
13
|
+
readonly volume: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
14
|
+
readonly octave: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
15
|
+
readonly tune: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
16
|
+
readonly waveform: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
17
|
+
readonly cutoff: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
18
|
+
readonly resonance: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
19
|
+
readonly attack: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
20
|
+
readonly release: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
21
|
+
readonly filterEnvelope: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
23
22
|
};
|
|
24
23
|
constructor(context: BoxAdaptersContext, box: VaporisateurDeviceBox);
|
|
25
24
|
get box(): VaporisateurDeviceBox;
|
|
@@ -33,7 +32,6 @@ export declare class VaporisateurDeviceBoxAdapter implements InstrumentDeviceBox
|
|
|
33
32
|
get acceptsMidiEvents(): boolean;
|
|
34
33
|
deviceHost(): DeviceHost;
|
|
35
34
|
audioUnitBoxAdapter(): AudioUnitBoxAdapter;
|
|
36
|
-
parameterAt(fieldIndices: FieldKeys): AutomatableParameterFieldAdapter;
|
|
37
35
|
terminate(): void;
|
|
38
36
|
}
|
|
39
37
|
//# sourceMappingURL=VaporisateurDeviceBoxAdapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VaporisateurDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/instruments/VaporisateurDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,IAAI,EAAe,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAC,qBAAqB,EAAC,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"VaporisateurDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/instruments/VaporisateurDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,IAAI,EAAe,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAC,qBAAqB,EAAC,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAA;AACnE,OAAO,EAAC,UAAU,EAAW,0BAA0B,EAAC,MAAM,qBAAqB,CAAA;AACnF,OAAO,EAAC,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAE3D,OAAO,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAA;AAClD,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAA;AAExE,qBAAa,4BAA6B,YAAW,0BAA0B;;IAC3E,QAAQ,CAAC,IAAI,gBAAe;IAC5B,QAAQ,CAAC,OAAO,UAAS;IAMzB,QAAQ,CAAC,cAAc;;;;;;;;;;MAAA;gBAEX,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,qBAAqB;IAOnE,IAAI,GAAG,IAAI,qBAAqB,CAAmB;IACnD,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,CAAgC;IACtD,IAAI,OAAO,IAAI,OAAO,CAA2B;IACjD,IAAI,UAAU,IAAI,WAAW,CAAyB;IACtD,IAAI,SAAS,IAAI,WAAW,CAAwB;IACpD,IAAI,gBAAgB,IAAI,SAAS,CAAyB;IAC1D,IAAI,YAAY,IAAI,YAAY,CAA2B;IAC3D,IAAI,cAAc,IAAI,YAAY,CAA6B;IAC/D,IAAI,iBAAiB,IAAI,OAAO,CAAc;IAE9C,UAAU,IAAI,UAAU;IAKxB,mBAAmB,IAAI,mBAAmB;IAE1C,SAAS,IAAI,IAAI;CA0CpB"}
|
|
@@ -29,7 +29,6 @@ export class VaporisateurDeviceBoxAdapter {
|
|
|
29
29
|
.adapterFor(this.#box.host.targetVertex.unwrap("no device-host").box, Devices.isHost);
|
|
30
30
|
}
|
|
31
31
|
audioUnitBoxAdapter() { return this.deviceHost().audioUnitBoxAdapter(); }
|
|
32
|
-
parameterAt(fieldIndices) { return this.#parametric.parameterAt(fieldIndices); }
|
|
33
32
|
terminate() { this.#parametric.terminate(); }
|
|
34
33
|
#wrapParameters(box) {
|
|
35
34
|
return {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ArpeggioDeviceBox } from "@opendaw/studio-boxes";
|
|
2
2
|
import { Pointers } from "@opendaw/studio-enums";
|
|
3
|
-
import { Address, BooleanField,
|
|
3
|
+
import { Address, BooleanField, Int32Field, PointerField, StringField } from "@opendaw/lib-box";
|
|
4
4
|
import { StringMapping, UUID } from "@opendaw/lib-std";
|
|
5
5
|
import { DeviceHost, MidiEffectDeviceAdapter } from "../../DeviceAdapter";
|
|
6
6
|
import { BoxAdaptersContext } from "../../BoxAdaptersContext";
|
|
7
|
-
import { AutomatableParameterFieldAdapter } from "../../AutomatableParameterFieldAdapter";
|
|
8
7
|
import { AudioUnitBoxAdapter } from "../../audio-unit/AudioUnitBoxAdapter";
|
|
9
8
|
export declare class ArpeggioDeviceBoxAdapter implements MidiEffectDeviceAdapter {
|
|
10
9
|
#private;
|
|
@@ -13,12 +12,12 @@ export declare class ArpeggioDeviceBoxAdapter implements MidiEffectDeviceAdapter
|
|
|
13
12
|
readonly type = "midi-effect";
|
|
14
13
|
readonly accepts = "midi";
|
|
15
14
|
readonly namedParameter: {
|
|
16
|
-
readonly modeIndex: AutomatableParameterFieldAdapter<number>;
|
|
17
|
-
readonly numOctaves: AutomatableParameterFieldAdapter<number>;
|
|
18
|
-
readonly rate: AutomatableParameterFieldAdapter<number>;
|
|
19
|
-
readonly gate: AutomatableParameterFieldAdapter<number>;
|
|
20
|
-
readonly repeat: AutomatableParameterFieldAdapter<number>;
|
|
21
|
-
readonly velocity: AutomatableParameterFieldAdapter<number>;
|
|
15
|
+
readonly modeIndex: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
16
|
+
readonly numOctaves: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
17
|
+
readonly rate: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
18
|
+
readonly gate: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
19
|
+
readonly repeat: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
20
|
+
readonly velocity: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
22
21
|
};
|
|
23
22
|
constructor(context: BoxAdaptersContext, box: ArpeggioDeviceBox);
|
|
24
23
|
get box(): ArpeggioDeviceBox;
|
|
@@ -29,7 +28,6 @@ export declare class ArpeggioDeviceBoxAdapter implements MidiEffectDeviceAdapter
|
|
|
29
28
|
get enabledField(): BooleanField;
|
|
30
29
|
get minimizedField(): BooleanField;
|
|
31
30
|
get host(): PointerField<Pointers.MidiEffectHost>;
|
|
32
|
-
parameterAt(fieldIndices: FieldKeys): AutomatableParameterFieldAdapter;
|
|
33
31
|
deviceHost(): DeviceHost;
|
|
34
32
|
audioUnitBoxAdapter(): AudioUnitBoxAdapter;
|
|
35
33
|
terminate(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArpeggioDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/midi-effects/ArpeggioDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"ArpeggioDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/midi-effects/ArpeggioDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAA;AAE7F,OAAO,EAAC,aAAa,EAAE,IAAI,EAAe,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAC,UAAU,EAAW,uBAAuB,EAAC,MAAM,qBAAqB,CAAA;AAChF,OAAO,EAAC,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAE3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAA;AAExE,qBAAa,wBAAyB,YAAW,uBAAuB;;IACpE,MAAM,CAAC,aAAa,yCAMI;IAExB,MAAM,CAAC,iBAAiB,wBAA6E;IAErG,QAAQ,CAAC,IAAI,iBAAgB;IAC7B,QAAQ,CAAC,OAAO,UAAS;IAKzB,QAAQ,CAAC,cAAc;;;;;;;MAAA;gBAEX,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,iBAAiB;IAO/D,IAAI,GAAG,IAAI,iBAAiB,CAAmB;IAC/C,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,CAAgC;IACtD,IAAI,OAAO,IAAI,OAAO,CAA2B;IACjD,IAAI,UAAU,IAAI,UAAU,CAAyB;IACrD,IAAI,UAAU,IAAI,WAAW,CAAyB;IACtD,IAAI,YAAY,IAAI,YAAY,CAA2B;IAC3D,IAAI,cAAc,IAAI,YAAY,CAA6B;IAC/D,IAAI,IAAI,IAAI,YAAY,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAwB;IAEzE,UAAU,IAAI,UAAU;IAKxB,mBAAmB,IAAI,mBAAmB;IAE1C,SAAS,IAAI,IAAI;CA8BpB"}
|
|
@@ -31,7 +31,6 @@ export class ArpeggioDeviceBoxAdapter {
|
|
|
31
31
|
get enabledField() { return this.#box.enabled; }
|
|
32
32
|
get minimizedField() { return this.#box.minimized; }
|
|
33
33
|
get host() { return this.#box.host; }
|
|
34
|
-
parameterAt(fieldIndices) { return this.#parametric.parameterAt(fieldIndices); }
|
|
35
34
|
deviceHost() {
|
|
36
35
|
return this.#context.boxAdapters
|
|
37
36
|
.adapterFor(this.#box.host.targetVertex.unwrap("no device-host").box, Devices.isHost);
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { Pointers } from "@opendaw/studio-enums";
|
|
2
2
|
import { UUID } from "@opendaw/lib-std";
|
|
3
|
-
import { Address, BooleanField,
|
|
3
|
+
import { Address, BooleanField, Int32Field, PointerField, StringField } from "@opendaw/lib-box";
|
|
4
4
|
import { PitchDeviceBox } from "@opendaw/studio-boxes";
|
|
5
5
|
import { DeviceHost, MidiEffectDeviceAdapter } from "../../DeviceAdapter";
|
|
6
6
|
import { BoxAdaptersContext } from "../../BoxAdaptersContext";
|
|
7
7
|
import { AudioUnitBoxAdapter } from "../../audio-unit/AudioUnitBoxAdapter";
|
|
8
|
-
import { AutomatableParameterFieldAdapter } from "../../AutomatableParameterFieldAdapter";
|
|
9
8
|
export declare class PitchDeviceBoxAdapter implements MidiEffectDeviceAdapter {
|
|
10
9
|
#private;
|
|
11
10
|
readonly type = "midi-effect";
|
|
12
11
|
readonly accepts = "midi";
|
|
13
12
|
readonly namedParameter: {
|
|
14
|
-
readonly octaves: AutomatableParameterFieldAdapter<number>;
|
|
15
|
-
readonly semiTones: AutomatableParameterFieldAdapter<number>;
|
|
16
|
-
readonly cent: AutomatableParameterFieldAdapter<number>;
|
|
13
|
+
readonly octaves: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
14
|
+
readonly semiTones: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
15
|
+
readonly cent: import("../..").AutomatableParameterFieldAdapter<number>;
|
|
17
16
|
};
|
|
18
17
|
constructor(context: BoxAdaptersContext, box: PitchDeviceBox);
|
|
19
18
|
get box(): PitchDeviceBox;
|
|
@@ -26,7 +25,6 @@ export declare class PitchDeviceBoxAdapter implements MidiEffectDeviceAdapter {
|
|
|
26
25
|
get host(): PointerField<Pointers.MidiEffectHost>;
|
|
27
26
|
deviceHost(): DeviceHost;
|
|
28
27
|
audioUnitBoxAdapter(): AudioUnitBoxAdapter;
|
|
29
|
-
parameterAt(fieldIndices: FieldKeys): AutomatableParameterFieldAdapter;
|
|
30
28
|
terminate(): void;
|
|
31
29
|
}
|
|
32
30
|
//# sourceMappingURL=PitchDeviceBoxAdapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PitchDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/midi-effects/PitchDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EAAgB,IAAI,EAAe,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"PitchDeviceBoxAdapter.d.ts","sourceRoot":"","sources":["../../../src/devices/midi-effects/PitchDeviceBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EAAgB,IAAI,EAAe,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAA;AAC7F,OAAO,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAC,UAAU,EAAW,uBAAuB,EAAC,MAAM,qBAAqB,CAAA;AAChF,OAAO,EAAC,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAE3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAA;AAExE,qBAAa,qBAAsB,YAAW,uBAAuB;;IACjE,QAAQ,CAAC,IAAI,iBAAgB;IAC7B,QAAQ,CAAC,OAAO,UAAS;IAKzB,QAAQ,CAAC,cAAc;;;;MAAA;gBAEX,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,cAAc;IAO5D,IAAI,GAAG,IAAI,cAAc,CAAmB;IAC5C,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,CAAgC;IACtD,IAAI,OAAO,IAAI,OAAO,CAA2B;IACjD,IAAI,UAAU,IAAI,UAAU,CAAyB;IACrD,IAAI,UAAU,IAAI,WAAW,CAAyB;IACtD,IAAI,YAAY,IAAI,YAAY,CAA2B;IAC3D,IAAI,cAAc,IAAI,YAAY,CAA6B;IAC/D,IAAI,IAAI,IAAI,YAAY,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAwB;IAEzE,UAAU,IAAI,UAAU;IAKxB,mBAAmB,IAAI,mBAAmB;IAE1C,SAAS,IAAI,IAAI;CAkBpB"}
|
|
@@ -27,7 +27,6 @@ export class PitchDeviceBoxAdapter {
|
|
|
27
27
|
.adapterFor(this.#box.host.targetVertex.unwrap("no device-host").box, Devices.isHost);
|
|
28
28
|
}
|
|
29
29
|
audioUnitBoxAdapter() { return this.deviceHost().audioUnitBoxAdapter(); }
|
|
30
|
-
parameterAt(fieldIndices) { return this.#parametric.parameterAt(fieldIndices); }
|
|
31
30
|
terminate() { this.#parametric.terminate(); }
|
|
32
31
|
#wrapParameters(box) {
|
|
33
32
|
return {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { Address
|
|
1
|
+
import { Address } from "@opendaw/lib-box";
|
|
2
2
|
import { GrooveShuffleBox } from "@opendaw/studio-boxes";
|
|
3
3
|
import { int, UUID } from "@opendaw/lib-std";
|
|
4
4
|
import { ppqn } from "@opendaw/lib-dsp";
|
|
5
5
|
import { GrooveAdapter } from "./GrooveBoxAdapter";
|
|
6
6
|
import { BoxAdaptersContext } from "../BoxAdaptersContext";
|
|
7
|
-
import { AutomatableParameterFieldAdapter } from "../AutomatableParameterFieldAdapter";
|
|
8
7
|
export declare class GrooveShuffleBoxAdapter implements GrooveAdapter {
|
|
9
8
|
#private;
|
|
10
9
|
static readonly Durations: ReadonlyArray<[int, int]>;
|
|
@@ -12,8 +11,8 @@ export declare class GrooveShuffleBoxAdapter implements GrooveAdapter {
|
|
|
12
11
|
static readonly DurationStrings: ReadonlyArray<string>;
|
|
13
12
|
readonly type = "groove-adapter";
|
|
14
13
|
readonly namedParameter: {
|
|
15
|
-
readonly duration: AutomatableParameterFieldAdapter<number>;
|
|
16
|
-
readonly amount: AutomatableParameterFieldAdapter<number>;
|
|
14
|
+
readonly duration: import("..").AutomatableParameterFieldAdapter<number>;
|
|
15
|
+
readonly amount: import("..").AutomatableParameterFieldAdapter<number>;
|
|
17
16
|
};
|
|
18
17
|
constructor(context: BoxAdaptersContext, box: GrooveShuffleBox);
|
|
19
18
|
unwarp(position: ppqn): ppqn;
|
|
@@ -21,7 +20,6 @@ export declare class GrooveShuffleBoxAdapter implements GrooveAdapter {
|
|
|
21
20
|
get box(): GrooveShuffleBox;
|
|
22
21
|
get uuid(): UUID.Bytes;
|
|
23
22
|
get address(): Address;
|
|
24
|
-
parameterAt(fieldIndices: FieldKeys): AutomatableParameterFieldAdapter;
|
|
25
23
|
terminate(): void;
|
|
26
24
|
}
|
|
27
25
|
//# sourceMappingURL=GrooveShuffleBoxAdapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GrooveShuffleBoxAdapter.d.ts","sourceRoot":"","sources":["../../src/grooves/GrooveShuffleBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"GrooveShuffleBoxAdapter.d.ts","sourceRoot":"","sources":["../../src/grooves/GrooveShuffleBoxAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,kBAAkB,CAAA;AACxC,OAAO,EAAC,gBAAgB,EAAC,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAC,GAAG,EAAsD,IAAI,EAAe,MAAM,kBAAkB,CAAA;AAC5G,OAAO,EAAuC,IAAI,EAAO,MAAM,kBAAkB,CAAA;AACjF,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAA;AAGxD,qBAAa,uBAAwB,YAAW,aAAa;;IACzD,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAEnD;IAED,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC,GAAG,CAAC,CAC8B;IAC/E,MAAM,CAAC,QAAQ,CAAC,eAAe,EAAE,aAAa,CAAC,MAAM,CAAC,CACc;IAEpE,QAAQ,CAAC,IAAI,oBAAmB;IAQhC,QAAQ,CAAC,cAAc;;;MAAA;gBAWX,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,gBAAgB;IAY9D,MAAM,CAAC,QAAQ,EAAE,IAAI,GAAG,IAAI;IAC5B,IAAI,CAAC,QAAQ,EAAE,IAAI,GAAG,IAAI;IAE1B,IAAI,GAAG,IAAI,gBAAgB,CAAmB;IAC9C,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,CAAgC;IACtD,IAAI,OAAO,IAAI,OAAO,CAA2B;IAEjD,SAAS,IAAI,IAAI;CAepB"}
|
|
@@ -32,7 +32,6 @@ export class GrooveShuffleBoxAdapter {
|
|
|
32
32
|
get box() { return this.#box; }
|
|
33
33
|
get uuid() { return this.#box.address.uuid; }
|
|
34
34
|
get address() { return this.#box.address; }
|
|
35
|
-
parameterAt(fieldIndices) { return this.#parametric.parameterAt(fieldIndices); }
|
|
36
35
|
terminate() { this.#terminator.terminate(); }
|
|
37
36
|
#wrapParameters(box) {
|
|
38
37
|
return {
|
|
@@ -13,7 +13,7 @@ export class DeviceInterfaceKnobAdapter {
|
|
|
13
13
|
return Modules.adapterFor(this.#context.boxAdapters, this.#parameterTarget.box);
|
|
14
14
|
}
|
|
15
15
|
get parameterAdapter() {
|
|
16
|
-
return this.moduleAdapter.parameters.parameterAt(this.#parameterTarget.address
|
|
16
|
+
return this.moduleAdapter.parameters.parameterAt(this.#parameterTarget.address);
|
|
17
17
|
}
|
|
18
18
|
get #parameterTarget() {
|
|
19
19
|
return this.#box.parameter.targetVertex.unwrap("Parameter not assigned");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendaw/studio-adapters",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.41",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"test": "echo \"No tests to run\""
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@opendaw/lib-box": "^0.0.
|
|
27
|
-
"@opendaw/lib-dsp": "^0.0.
|
|
28
|
-
"@opendaw/lib-runtime": "^0.0.
|
|
29
|
-
"@opendaw/lib-std": "^0.0.
|
|
30
|
-
"@opendaw/studio-boxes": "^0.0.
|
|
31
|
-
"@opendaw/studio-enums": "^0.0.
|
|
26
|
+
"@opendaw/lib-box": "^0.0.40",
|
|
27
|
+
"@opendaw/lib-dsp": "^0.0.40",
|
|
28
|
+
"@opendaw/lib-runtime": "^0.0.40",
|
|
29
|
+
"@opendaw/lib-std": "^0.0.40",
|
|
30
|
+
"@opendaw/studio-boxes": "^0.0.40",
|
|
31
|
+
"@opendaw/studio-enums": "^0.0.31",
|
|
32
32
|
"soundfont2": "^0.5.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@opendaw/eslint-config": "^0.0.20",
|
|
36
36
|
"@opendaw/typescript-config": "^0.0.20"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "ee29837d620b53244f842b642abd2b1674b2745f"
|
|
39
39
|
}
|