@opendaw/studio-scripting 0.0.2
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 +24 -0
- package/dist/Api.d.ts +259 -0
- package/dist/Api.d.ts.map +1 -0
- package/dist/Api.js +4 -0
- package/dist/Asserts.d.ts +4 -0
- package/dist/Asserts.d.ts.map +1 -0
- package/dist/Asserts.js +53 -0
- package/dist/AudioEffectFactory.d.ts +7 -0
- package/dist/AudioEffectFactory.d.ts.map +1 -0
- package/dist/AudioEffectFactory.js +23 -0
- package/dist/AudioFileBoxfactory.d.ts +6 -0
- package/dist/AudioFileBoxfactory.d.ts.map +1 -0
- package/dist/AudioFileBoxfactory.js +10 -0
- package/dist/AudioTrackWriter.d.ts +8 -0
- package/dist/AudioTrackWriter.d.ts.map +1 -0
- package/dist/AudioTrackWriter.js +39 -0
- package/dist/AudioUnitBoxFactory.d.ts +6 -0
- package/dist/AudioUnitBoxFactory.d.ts.map +1 -0
- package/dist/AudioUnitBoxFactory.js +116 -0
- package/dist/IndexRef.d.ts +5 -0
- package/dist/IndexRef.d.ts.map +1 -0
- package/dist/IndexRef.js +1 -0
- package/dist/MIDIEffectFactory.d.ts +7 -0
- package/dist/MIDIEffectFactory.d.ts.map +1 -0
- package/dist/MIDIEffectFactory.js +20 -0
- package/dist/NoteTrackWriter.d.ts +9 -0
- package/dist/NoteTrackWriter.d.ts.map +1 -0
- package/dist/NoteTrackWriter.js +45 -0
- package/dist/ProjectConverter.d.ts +6 -0
- package/dist/ProjectConverter.d.ts.map +1 -0
- package/dist/ProjectConverter.js +39 -0
- package/dist/ProjectUnpacker.d.ts +6 -0
- package/dist/ProjectUnpacker.d.ts.map +1 -0
- package/dist/ProjectUnpacker.js +14 -0
- package/dist/ScriptExecutionProtocol.d.ts +7 -0
- package/dist/ScriptExecutionProtocol.d.ts.map +1 -0
- package/dist/ScriptExecutionProtocol.js +1 -0
- package/dist/ScriptHost.d.ts +8 -0
- package/dist/ScriptHost.d.ts.map +1 -0
- package/dist/ScriptHost.js +23 -0
- package/dist/ScriptHostProtocol.d.ts +10 -0
- package/dist/ScriptHostProtocol.d.ts.map +1 -0
- package/dist/ScriptHostProtocol.js +1 -0
- package/dist/ScriptRunner.d.ts +8 -0
- package/dist/ScriptRunner.d.ts.map +1 -0
- package/dist/ScriptRunner.js +22 -0
- package/dist/ScriptWorker.d.ts +2 -0
- package/dist/ScriptWorker.d.ts.map +1 -0
- package/dist/ScriptWorker.js +21 -0
- package/dist/ValueTrackWriter.d.ts +10 -0
- package/dist/ValueTrackWriter.d.ts.map +1 -0
- package/dist/ValueTrackWriter.js +78 -0
- package/dist/impl/ApiImpl.d.ts +12 -0
- package/dist/impl/ApiImpl.d.ts.map +1 -0
- package/dist/impl/ApiImpl.js +19 -0
- package/dist/impl/AudioRegionImpl.d.ts +19 -0
- package/dist/impl/AudioRegionImpl.d.ts.map +1 -0
- package/dist/impl/AudioRegionImpl.js +27 -0
- package/dist/impl/AudioTrackImpl.d.ts +12 -0
- package/dist/impl/AudioTrackImpl.d.ts.map +1 -0
- package/dist/impl/AudioTrackImpl.js +17 -0
- package/dist/impl/AudioUnitImpl.d.ts +25 -0
- package/dist/impl/AudioUnitImpl.d.ts.map +1 -0
- package/dist/impl/AudioUnitImpl.js +73 -0
- package/dist/impl/AuxAudioUnitImpl.d.ts +13 -0
- package/dist/impl/AuxAudioUnitImpl.d.ts.map +1 -0
- package/dist/impl/AuxAudioUnitImpl.js +19 -0
- package/dist/impl/DelayEffectImpl.d.ts +14 -0
- package/dist/impl/DelayEffectImpl.d.ts.map +1 -0
- package/dist/impl/DelayEffectImpl.js +21 -0
- package/dist/impl/GroupAudioUnitImpl.d.ts +13 -0
- package/dist/impl/GroupAudioUnitImpl.d.ts.map +1 -0
- package/dist/impl/GroupAudioUnitImpl.js +19 -0
- package/dist/impl/InstrumentAudioUnitImpl.d.ts +15 -0
- package/dist/impl/InstrumentAudioUnitImpl.d.ts.map +1 -0
- package/dist/impl/InstrumentAudioUnitImpl.js +24 -0
- package/dist/impl/InstrumentImpl.d.ts +9 -0
- package/dist/impl/InstrumentImpl.d.ts.map +1 -0
- package/dist/impl/InstrumentImpl.js +10 -0
- package/dist/impl/NoteEventImpl.d.ts +11 -0
- package/dist/impl/NoteEventImpl.d.ts.map +1 -0
- package/dist/impl/NoteEventImpl.js +14 -0
- package/dist/impl/NoteRegionImpl.d.ts +21 -0
- package/dist/impl/NoteRegionImpl.d.ts.map +1 -0
- package/dist/impl/NoteRegionImpl.js +36 -0
- package/dist/impl/NoteTrackImpl.d.ts +12 -0
- package/dist/impl/NoteTrackImpl.d.ts.map +1 -0
- package/dist/impl/NoteTrackImpl.js +17 -0
- package/dist/impl/OutputAudioUnitImpl.d.ts +7 -0
- package/dist/impl/OutputAudioUnitImpl.d.ts.map +1 -0
- package/dist/impl/OutputAudioUnitImpl.js +5 -0
- package/dist/impl/PitchEffectImpl.d.ts +12 -0
- package/dist/impl/PitchEffectImpl.d.ts.map +1 -0
- package/dist/impl/PitchEffectImpl.js +15 -0
- package/dist/impl/ProjectImpl.d.ts +25 -0
- package/dist/impl/ProjectImpl.d.ts.map +1 -0
- package/dist/impl/ProjectImpl.js +42 -0
- package/dist/impl/SendImpl.d.ts +10 -0
- package/dist/impl/SendImpl.d.ts.map +1 -0
- package/dist/impl/SendImpl.js +12 -0
- package/dist/impl/ValueEventImpl.d.ts +11 -0
- package/dist/impl/ValueEventImpl.d.ts.map +1 -0
- package/dist/impl/ValueEventImpl.js +12 -0
- package/dist/impl/ValueRegionImpl.d.ts +21 -0
- package/dist/impl/ValueRegionImpl.d.ts.map +1 -0
- package/dist/impl/ValueRegionImpl.js +37 -0
- package/dist/impl/ValueTrackImpl.d.ts +14 -0
- package/dist/impl/ValueTrackImpl.d.ts.map +1 -0
- package/dist/impl/ValueTrackImpl.js +21 -0
- package/dist/impl/index.d.ts +18 -0
- package/dist/impl/index.d.ts.map +1 -0
- package/dist/impl/index.js +17 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/package.json +44 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { ApiImpl } from "./ApiImpl";
|
|
2
|
+
export { ProjectImpl } from "./ProjectImpl";
|
|
3
|
+
export { AudioUnitImpl } from "./AudioUnitImpl";
|
|
4
|
+
export { InstrumentAudioUnitImpl } from "./InstrumentAudioUnitImpl";
|
|
5
|
+
export { AuxAudioUnitImpl } from "./AuxAudioUnitImpl";
|
|
6
|
+
export { GroupAudioUnitImpl } from "./GroupAudioUnitImpl";
|
|
7
|
+
export { OutputAudioUnitImpl } from "./OutputAudioUnitImpl";
|
|
8
|
+
export { SendImpl } from "./SendImpl";
|
|
9
|
+
export { DelayEffectImpl } from "./DelayEffectImpl";
|
|
10
|
+
export { PitchEffectImpl } from "./PitchEffectImpl";
|
|
11
|
+
export { NoteTrackImpl } from "./NoteTrackImpl";
|
|
12
|
+
export { ValueTrackImpl } from "./ValueTrackImpl";
|
|
13
|
+
export { NoteRegionImpl } from "./NoteRegionImpl";
|
|
14
|
+
export { ValueRegionImpl } from "./ValueRegionImpl";
|
|
15
|
+
export { NoteEventImpl } from "./NoteEventImpl";
|
|
16
|
+
export { ValueEventImpl } from "./ValueEventImpl";
|
|
17
|
+
export { InstrumentImpl } from "./InstrumentImpl";
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AASA,cAAc,OAAO,CAAA;AACrB,cAAc,QAAQ,CAAA;AACtB,cAAc,2BAA2B,CAAA;AACzC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,sBAAsB,CAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const key = Symbol.for("@openDAW/opendaw-scripting");
|
|
2
|
+
if (globalThis[key]) {
|
|
3
|
+
console.debug(`%c${key.description}%c is already available in ${globalThis.constructor.name}.`, "color: hsl(10, 83%, 60%)", "color: inherit");
|
|
4
|
+
}
|
|
5
|
+
else {
|
|
6
|
+
globalThis[key] = true;
|
|
7
|
+
console.debug(`%c${key.description}%c is now available in ${globalThis.constructor.name}.`, "color: hsl(200, 83%, 60%)", "color: inherit");
|
|
8
|
+
}
|
|
9
|
+
export * from "./Api";
|
|
10
|
+
export * from "./impl";
|
|
11
|
+
export * from "./ScriptExecutionProtocol";
|
|
12
|
+
export * from "./ScriptRunner";
|
|
13
|
+
export * from "./ScriptHost";
|
|
14
|
+
export * from "./ScriptHostProtocol";
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@opendaw/studio-scripting",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"license": "LGPL-3.0-or-later",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./api.declaration": "./src/api.declaration.d.ts",
|
|
17
|
+
"./ScriptWorker.js": "./dist/ScriptWorker.js"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist/**/*",
|
|
21
|
+
"src/script/api.declaration.d.ts",
|
|
22
|
+
"./dist/ScriptWorker.js"
|
|
23
|
+
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "npm run generate-api && tsc",
|
|
26
|
+
"generate-api": "npx tsx scripts/generate-api.ts",
|
|
27
|
+
"lint": "eslint \"**/*.ts\"",
|
|
28
|
+
"test": "echo \"No tests to run\""
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@opendaw/lib-box": "^0.0.48",
|
|
32
|
+
"@opendaw/lib-dsp": "^0.0.48",
|
|
33
|
+
"@opendaw/lib-runtime": "^0.0.48",
|
|
34
|
+
"@opendaw/lib-std": "^0.0.48",
|
|
35
|
+
"@opendaw/studio-adapters": "^0.0.49",
|
|
36
|
+
"@opendaw/studio-boxes": "^0.0.48",
|
|
37
|
+
"@opendaw/studio-enums": "^0.0.39"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@opendaw/eslint-config": "^0.0.20",
|
|
41
|
+
"@opendaw/typescript-config": "^0.0.20"
|
|
42
|
+
},
|
|
43
|
+
"gitHead": "cbdb8e49076f45a6d703e9dd348e1d0e1113e1dc"
|
|
44
|
+
}
|