@opendaw/studio-core 0.0.67 → 0.0.70
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AudioContentFactory.d.ts","sourceRoot":"","sources":["../../../src/project/audio/AudioContentFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAiB,MAAM,kBAAkB,CAAA;AACrD,OAAO,EAAa,MAAM,EAAY,MAAM,0BAA0B,CAAA;AACtE,OAAO,EAAC,GAAG,EAAwC,MAAM,kBAAkB,CAAA;AAC3E,OAAO,EACH,YAAY,EACZ,YAAY,EAEZ,cAAc,EAEd,QAAQ,EAEX,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AAEzC,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAA;AAEvD,yBAAiB,mBAAmB,CAAC;IACjC,KAAY,KAAK,GAAG;QAChB,QAAQ,EAAE,QAAQ,CAAC;QACnB,WAAW,EAAE,QAAQ,CAAC;QACtB,YAAY,EAAE,YAAY,CAAC;QAC3B,MAAM,EAAE,MAAM,CAAA;QACd,WAAW,CAAC,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAA;QAC/C,QAAQ,CAAC,EAAE,MAAM,CAAA;KACpB,CAAA;IAED,KAAY,IAAI,GAAG,KAAK,GAAG;QAAE,KAAK,EAAE,GAAG,CAAA;KAAE,CAAA;IACzC,KAAY,MAAM,GAAG,KAAK,GAAG;QAAE,QAAQ,EAAE,IAAI,CAAC;QAAC,QAAQ,CAAC,EAAE,IAAI,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAE/E,KAAY,kBAAkB,GAAG;QAC7B,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;QACrC,YAAY,CA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AG,CAAA;KAAE,CAAA;IACzC,KAAY,MAAM,GAAG,KAAK,GAAG;QAAE,QAAQ,EAAE,IAAI,CAAC;QAAC,QAAQ,CAAC,EAAE,IAAI,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAE/E,KAAY,kBAAkB,GAAG;QAC7B,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;QACrC,YAAY,CAAC,EAAE,MAAM,CAAA;KACxB,GAAG,KAAK,CAAA;IAET,KAAY,mBAAmB,GAAG,EAA0C,GAAG,KAAK,CAAA;IAEpF,KAAY,iBAAiB,GAAG,EAA0C,GAAG,KAAK,CAAA;IAI3E,MAAM,yBAAyB,GAAI,OAAO,kBAAkB,GAAG,MAAM,KAAG,cAM9E,CAAA;IAEM,MAAM,0BAA0B,GAAI,OAAO,mBAAmB,GAAG,MAAM,KAAG,cAEhF,CAAA;IAEM,MAAM,wBAAwB,GAAI,OAAO,iBAAiB,GAAG,MAAM,KAAG,cAgB5E,CAAA;IAIM,MAAM,uBAAuB,GAAI,OAAO,kBAAkB,GAAG,IAAI,KAAG,YAM1E,CAAA;IAEM,MAAM,wBAAwB,GAAI,OAAO,mBAAmB,GAAG,IAAI,KAAG,YAG5E,CAAA;IAEM,MAAM,sBAAsB,GAAI,OAAO,iBAAiB,GAAG,IAAI,KAAG,YAcxE,CAAA;CA6DJ"}
|
|
@@ -31,6 +31,7 @@ export var AudioContentFactory;
|
|
|
31
31
|
box.events.refer(collectionBox.owners);
|
|
32
32
|
box.timeBase.setValue(TimeBase.Seconds);
|
|
33
33
|
box.gain.setValue(props.gainInDb ?? 0.0);
|
|
34
|
+
box.waveformOffset.setValue(props.waveformOffset ?? 0.0);
|
|
34
35
|
});
|
|
35
36
|
};
|
|
36
37
|
// --- Clip Creation --- //
|
|
@@ -52,6 +53,7 @@ export var AudioContentFactory;
|
|
|
52
53
|
box.duration.setValue(durationInSeconds);
|
|
53
54
|
box.clips.refer(targetTrack.clips);
|
|
54
55
|
box.hue.setValue(ColorCodes.forTrackType(targetTrack.type.getValue()));
|
|
56
|
+
box.waveformOffset.setValue(props.waveformOffset ?? 0.0);
|
|
55
57
|
box.label.setValue(name);
|
|
56
58
|
box.file.refer(audioFileBox);
|
|
57
59
|
box.events.refer(collectionBox.owners);
|
|
@@ -79,6 +81,7 @@ export var AudioContentFactory;
|
|
|
79
81
|
box.duration.setValue(props.duration ?? durationInPPQN);
|
|
80
82
|
box.loopDuration.setValue(durationInPPQN);
|
|
81
83
|
box.regions.refer(targetTrack.regions);
|
|
84
|
+
box.waveformOffset.setValue(props.waveformOffset ?? 0.0);
|
|
82
85
|
box.hue.setValue(ColorCodes.forTrackType(targetTrack.type.getValue()));
|
|
83
86
|
box.label.setValue(name);
|
|
84
87
|
box.file.refer(audioFileBox);
|
|
@@ -106,6 +109,7 @@ export var AudioContentFactory;
|
|
|
106
109
|
box.duration.setValue(durationInPPQN);
|
|
107
110
|
box.clips.refer(targetTrack.clips);
|
|
108
111
|
box.hue.setValue(ColorCodes.forTrackType(targetTrack.type.getValue()));
|
|
112
|
+
box.waveformOffset.setValue(props.waveformOffset ?? 0.0);
|
|
109
113
|
box.label.setValue(name);
|
|
110
114
|
box.file.refer(audioFileBox);
|
|
111
115
|
box.events.refer(collectionBox.owners);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendaw/studio-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.70",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
"test": "vitest run --config vitest.config.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@opendaw/lib-box": "^0.0.
|
|
35
|
-
"@opendaw/lib-dawproject": "^0.0.
|
|
36
|
-
"@opendaw/lib-dom": "^0.0.
|
|
37
|
-
"@opendaw/lib-dsp": "^0.0.
|
|
38
|
-
"@opendaw/lib-fusion": "^0.0.
|
|
39
|
-
"@opendaw/lib-runtime": "^0.0.
|
|
40
|
-
"@opendaw/lib-std": "^0.0.
|
|
41
|
-
"@opendaw/studio-adapters": "^0.0.
|
|
42
|
-
"@opendaw/studio-boxes": "^0.0.
|
|
43
|
-
"@opendaw/studio-enums": "^0.0.
|
|
34
|
+
"@opendaw/lib-box": "^0.0.55",
|
|
35
|
+
"@opendaw/lib-dawproject": "^0.0.41",
|
|
36
|
+
"@opendaw/lib-dom": "^0.0.56",
|
|
37
|
+
"@opendaw/lib-dsp": "^0.0.55",
|
|
38
|
+
"@opendaw/lib-fusion": "^0.0.56",
|
|
39
|
+
"@opendaw/lib-runtime": "^0.0.55",
|
|
40
|
+
"@opendaw/lib-std": "^0.0.55",
|
|
41
|
+
"@opendaw/studio-adapters": "^0.0.59",
|
|
42
|
+
"@opendaw/studio-boxes": "^0.0.56",
|
|
43
|
+
"@opendaw/studio-enums": "^0.0.47",
|
|
44
44
|
"dropbox": "^10.34.0",
|
|
45
45
|
"y-websocket": "^1.4.5",
|
|
46
46
|
"yjs": "^13.6.27",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@ffmpeg/ffmpeg": "^0.12.15",
|
|
55
55
|
"@ffmpeg/util": "^0.12.2",
|
|
56
|
-
"@opendaw/eslint-config": "^0.0.
|
|
57
|
-
"@opendaw/studio-core-processors": "^0.0.
|
|
58
|
-
"@opendaw/studio-core-workers": "^0.0.
|
|
59
|
-
"@opendaw/studio-forge-boxes": "^0.0.
|
|
60
|
-
"@opendaw/typescript-config": "^0.0.
|
|
56
|
+
"@opendaw/eslint-config": "^0.0.22",
|
|
57
|
+
"@opendaw/studio-core-processors": "^0.0.61",
|
|
58
|
+
"@opendaw/studio-core-workers": "^0.0.54",
|
|
59
|
+
"@opendaw/studio-forge-boxes": "^0.0.56",
|
|
60
|
+
"@opendaw/typescript-config": "^0.0.22"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "7df0f1d47305d052ea04d7e0c74757833dbf4bc2"
|
|
63
63
|
}
|