@opendaw/studio-core 0.0.50 → 0.0.51
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/ffmpeg/FFmpegConverter.d.ts +1 -1
- package/dist/ffmpeg/FFmpegConverter.d.ts.map +1 -1
- package/dist/ffmpeg/flac.d.ts +2 -2
- package/dist/ffmpeg/flac.d.ts.map +1 -1
- package/dist/ffmpeg/mp3.d.ts +2 -2
- package/dist/ffmpeg/mp3.d.ts.map +1 -1
- package/dist/project/ProjectUtils.d.ts.map +1 -1
- package/dist/project/ProjectUtils.js +2 -1
- package/package.json +15 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AcceptedSource } from "./FFmpegWorker";
|
|
2
1
|
import { Progress } from "@opendaw/lib-std";
|
|
2
|
+
import type { AcceptedSource } from "./FFmpegWorker";
|
|
3
3
|
export interface FFmpegConverter<OPTIONS> {
|
|
4
4
|
convert(source: AcceptedSource, progress: Progress.Handler, options?: OPTIONS): Promise<ArrayBuffer>;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FFmpegConverter.d.ts","sourceRoot":"","sources":["../../src/ffmpeg/FFmpegConverter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"FFmpegConverter.d.ts","sourceRoot":"","sources":["../../src/ffmpeg/FFmpegConverter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AACzC,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAA;AAElD,MAAM,WAAW,eAAe,CAAC,OAAO;IACpC,OAAO,CAAC,MAAM,EAAE,cAAc,EACtB,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAC1B,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,WAAW,CAAC,CAAA;CACnD"}
|
package/dist/ffmpeg/flac.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FFmpegConverter } from "./FFmpegConverter";
|
|
2
1
|
import { int, Progress } from "@opendaw/lib-std";
|
|
3
|
-
import {
|
|
2
|
+
import type { FFmpegConverter } from "./FFmpegConverter";
|
|
3
|
+
import type { AcceptedSource, FFmpegWorker } from "./FFmpegWorker";
|
|
4
4
|
export type FlacOptions = {
|
|
5
5
|
compression: int;
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flac.d.ts","sourceRoot":"","sources":["../../src/ffmpeg/flac.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"flac.d.ts","sourceRoot":"","sources":["../../src/ffmpeg/flac.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAA;AACtD,OAAO,KAAK,EAAC,cAAc,EAAE,YAAY,EAAC,MAAM,gBAAgB,CAAA;AAGhE,MAAM,MAAM,WAAW,GAAG;IAAE,WAAW,EAAE,GAAG,CAAA;CAAE,CAAA;AAE9C,qBAAa,aAAc,YAAW,eAAe,CAAC,WAAW,CAAC;;gBAGlD,MAAM,EAAE,YAAY;IAC1B,OAAO,CAAC,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;CA0BjH"}
|
package/dist/ffmpeg/mp3.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Progress } from "@opendaw/lib-std";
|
|
2
|
-
import { AcceptedSource, FFmpegWorker } from "./FFmpegWorker";
|
|
3
|
-
import { FFmpegConverter } from "./FFmpegConverter";
|
|
2
|
+
import type { AcceptedSource, FFmpegWorker } from "./FFmpegWorker";
|
|
3
|
+
import type { FFmpegConverter } from "./FFmpegConverter";
|
|
4
4
|
export type Mp3Options = {
|
|
5
5
|
bitrate?: string;
|
|
6
6
|
quality?: number;
|
package/dist/ffmpeg/mp3.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mp3.d.ts","sourceRoot":"","sources":["../../src/ffmpeg/mp3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AACzC,OAAO,EAAC,cAAc,EAAE,YAAY,EAAC,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"mp3.d.ts","sourceRoot":"","sources":["../../src/ffmpeg/mp3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AACzC,OAAO,KAAK,EAAC,cAAc,EAAE,YAAY,EAAC,MAAM,gBAAgB,CAAA;AAChE,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAA;AAEtD,MAAM,MAAM,UAAU,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAE/D,qBAAa,YAAa,YAAW,eAAe,CAAC,UAAU,CAAC;;gBAGhD,MAAM,EAAE,YAAY;IAE1B,OAAO,CAAC,MAAM,EAAE,cAAc,EACtB,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAC1B,OAAO,GAAE,UAAe,GAAG,OAAO,CAAC,WAAW,CAAC;CA8BhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectUtils.d.ts","sourceRoot":"","sources":["../../src/project/ProjectUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAA;AACrC,OAAO,EAAC,YAAY,EAAgB,MAAM,0BAA0B,CAAA;AACpE,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AAcjC,OAAO,EAEH,YAAY,EAOf,MAAM,uBAAuB,CAAA;AAI9B,yBAAiB,YAAY,CAAC;IAMnB,MAAM,iBAAiB,GAAI,gBAAgB,aAAa,CAAC,YAAY,CAAC,EAC3C,eAAe,OAAO,EACtB,UAAS;QAAE,UAAU,CAAC,EAAE,OAAO,CAAC;QAAC,UAAU,CAAC,EAAE,OAAO,CAAA;KAAO,KAAG,IAehG,CAAA;IAEM,MAAM,cAAc,GAAI,aAAa,aAAa,CAAC,YAAY,CAAC,EACxC,eAAe,OAAO,EACtB,iBAAgB,IAAU,KAAG,IAkD3D,CAAA;
|
|
1
|
+
{"version":3,"file":"ProjectUtils.d.ts","sourceRoot":"","sources":["../../src/project/ProjectUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAA;AACrC,OAAO,EAAC,YAAY,EAAgB,MAAM,0BAA0B,CAAA;AACpE,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AAcjC,OAAO,EAEH,YAAY,EAOf,MAAM,uBAAuB,CAAA;AAI9B,yBAAiB,YAAY,CAAC;IAMnB,MAAM,iBAAiB,GAAI,gBAAgB,aAAa,CAAC,YAAY,CAAC,EAC3C,eAAe,OAAO,EACtB,UAAS;QAAE,UAAU,CAAC,EAAE,OAAO,CAAC;QAAC,UAAU,CAAC,EAAE,OAAO,CAAA;KAAO,KAAG,IAehG,CAAA;IAEM,MAAM,cAAc,GAAI,aAAa,aAAa,CAAC,YAAY,CAAC,EACxC,eAAe,OAAO,EACtB,iBAAgB,IAAU,KAAG,IAkD3D,CAAA;CAsFJ"}
|
|
@@ -11,7 +11,7 @@ export var ProjectUtils;
|
|
|
11
11
|
assert(Arrays.satisfy(audioUnitBoxes, isSameGraph), "AudioUnits must share the same BoxGraph");
|
|
12
12
|
// TODO Implement include options.
|
|
13
13
|
assert(!options.includeAux && !options.includeBus, "Options are not yet implemented");
|
|
14
|
-
const { boxGraph, masterBusBox,
|
|
14
|
+
const { boxGraph, masterBusBox, rootBox } = targetProject;
|
|
15
15
|
const dependencies = audioUnitBoxes
|
|
16
16
|
.flatMap(box => Array.from(box.graph.dependenciesOf(box, { alwaysFollowMandatory: true }).boxes))
|
|
17
17
|
.filter(box => box.name !== SelectionBox.ClassName && box.name !== AuxSendBox.ClassName);
|
|
@@ -125,6 +125,7 @@ export var ProjectUtils;
|
|
|
125
125
|
audioUnitBoxes
|
|
126
126
|
.toSorted(compareIndex)
|
|
127
127
|
.forEach((box) => {
|
|
128
|
+
// That is a bit slow, but we are probably not dealing with too many audioUnits at this point.
|
|
128
129
|
const boxes = IndexedBox.collectIndexedBoxes(rootBox.audioUnits, AudioUnitBox);
|
|
129
130
|
const order = AudioUnitOrdering[box.type.getValue()];
|
|
130
131
|
let index = 0 | 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendaw/studio-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.51",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"test": "vitest run --config vitest.config.ts"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@opendaw/lib-box": "^0.0.
|
|
30
|
-
"@opendaw/lib-dawproject": "^0.0.
|
|
31
|
-
"@opendaw/lib-dom": "^0.0.
|
|
32
|
-
"@opendaw/lib-dsp": "^0.0.
|
|
33
|
-
"@opendaw/lib-fusion": "^0.0.
|
|
34
|
-
"@opendaw/lib-runtime": "^0.0.
|
|
35
|
-
"@opendaw/lib-std": "^0.0.
|
|
36
|
-
"@opendaw/studio-adapters": "^0.0.
|
|
37
|
-
"@opendaw/studio-boxes": "^0.0.
|
|
38
|
-
"@opendaw/studio-enums": "^0.0.
|
|
29
|
+
"@opendaw/lib-box": "^0.0.42",
|
|
30
|
+
"@opendaw/lib-dawproject": "^0.0.28",
|
|
31
|
+
"@opendaw/lib-dom": "^0.0.42",
|
|
32
|
+
"@opendaw/lib-dsp": "^0.0.42",
|
|
33
|
+
"@opendaw/lib-fusion": "^0.0.42",
|
|
34
|
+
"@opendaw/lib-runtime": "^0.0.42",
|
|
35
|
+
"@opendaw/lib-std": "^0.0.42",
|
|
36
|
+
"@opendaw/studio-adapters": "^0.0.43",
|
|
37
|
+
"@opendaw/studio-boxes": "^0.0.42",
|
|
38
|
+
"@opendaw/studio-enums": "^0.0.33",
|
|
39
39
|
"dropbox": "^10.34.0",
|
|
40
40
|
"y-websocket": "^1.4.5",
|
|
41
41
|
"yjs": "^13.6.27",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"@ffmpeg/ffmpeg": "^0.12.15",
|
|
50
50
|
"@ffmpeg/util": "^0.12.2",
|
|
51
51
|
"@opendaw/eslint-config": "^0.0.20",
|
|
52
|
-
"@opendaw/studio-core-processors": "^0.0.
|
|
53
|
-
"@opendaw/studio-core-workers": "^0.0.
|
|
54
|
-
"@opendaw/studio-forge-boxes": "^0.0.
|
|
52
|
+
"@opendaw/studio-core-processors": "^0.0.43",
|
|
53
|
+
"@opendaw/studio-core-workers": "^0.0.38",
|
|
54
|
+
"@opendaw/studio-forge-boxes": "^0.0.42",
|
|
55
55
|
"@opendaw/typescript-config": "^0.0.20"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "022a43f5265e17aca64985b7d3424e9849e75c08"
|
|
58
58
|
}
|