web-music-score 6.0.0-pre.0 → 6.0.0-pre.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/CHANGELOG.md +6 -0
- package/dist/audio/index.d.ts +1 -1
- package/dist/audio/index.js +61 -35
- package/dist/audio/index.mjs +4 -4
- package/dist/audio-cg/index.js +1 -1
- package/dist/audio-cg/index.mjs +4 -4
- package/dist/audio-synth/index.js +1 -1
- package/dist/audio-synth/index.mjs +4 -4
- package/dist/{chunk-OKY6DMTT.mjs → chunk-3L3RBNBV.mjs} +3 -3
- package/dist/{chunk-FCR7WBDV.mjs → chunk-5P4O5YX2.mjs} +3 -3
- package/dist/{chunk-SNZ77AGL.mjs → chunk-5W6ROWBC.mjs} +2 -2
- package/dist/{chunk-URLQD334.mjs → chunk-7PNMM2PM.mjs} +63 -37
- package/dist/{chunk-OZZ3NSJS.mjs → chunk-GNFWJCFN.mjs} +4 -4
- package/dist/{chunk-2NTPGV6U.mjs → chunk-OXLTN43T.mjs} +2 -2
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +4 -4
- package/dist/iife/{audio-cg.global.js → audio-cg.js} +2 -2
- package/dist/iife/{index.global.js → index.js} +13 -13
- package/dist/{music-objects-DLmp5uL6.d.ts → music-objects-CiIS8yPn.d.ts} +2 -2
- package/dist/{note-RVXvpfyV.d.ts → note-CJuq5aBy.d.ts} +1 -1
- package/dist/pieces/index.d.ts +3 -3
- package/dist/pieces/index.js +1 -1
- package/dist/pieces/index.mjs +2 -2
- package/dist/react-ui/index.d.ts +3 -3
- package/dist/react-ui/index.js +1 -1
- package/dist/react-ui/index.mjs +2 -2
- package/dist/{scale-B1M10_fu.d.ts → scale-DxGqFxlv.d.ts} +2 -2
- package/dist/score/index.d.ts +5 -5
- package/dist/score/index.js +77 -40
- package/dist/score/index.mjs +21 -10
- package/dist/{tempo-D-JF-8b_.d.ts → tempo-pCAa6qgo.d.ts} +1 -1
- package/dist/theory/index.d.ts +5 -5
- package/dist/theory/index.js +61 -35
- package/dist/theory/index.mjs +4 -4
- package/package.json +4 -3
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/* WebMusicScore v6.0.0-pre.
|
|
1
|
+
/* WebMusicScore v6.0.0-pre.2 | (c) 2023-2025 Stefan Brockmann | MIT License | Includes: Tone.js (MIT License), Color Name to Code (MIT License) */
|
|
2
2
|
import {
|
|
3
3
|
Filter,
|
|
4
4
|
PolySynth,
|
|
5
5
|
Reverb,
|
|
6
6
|
Synth
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-3L3RBNBV.mjs";
|
|
8
8
|
import {
|
|
9
9
|
linearToDecibels
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-5W6ROWBC.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__publicField
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-OXLTN43T.mjs";
|
|
14
14
|
|
|
15
15
|
// src/audio-instruments/audio-synth/index.ts
|
|
16
16
|
var SynthesizerInstr = class {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* WebMusicScore v6.0.0-pre.
|
|
1
|
+
/* WebMusicScore v6.0.0-pre.2 | (c) 2023-2025 Stefan Brockmann | MIT License | Includes: Tone.js (MIT License), Color Name to Code (MIT License) */
|
|
2
2
|
import {
|
|
3
3
|
__async,
|
|
4
4
|
__objRest,
|
|
5
5
|
__pow,
|
|
6
6
|
__spreadProps,
|
|
7
7
|
__spreadValues
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OXLTN43T.mjs";
|
|
9
9
|
|
|
10
10
|
// node_modules/tone/build/esm/core/type/Conversions.js
|
|
11
11
|
function dbToGain(db) {
|
|
@@ -18378,4 +18378,4 @@ tone/build/esm/core/Tone.js:
|
|
|
18378
18378
|
* @copyright 2014-2024 Yotam Mann
|
|
18379
18379
|
*)
|
|
18380
18380
|
*/
|
|
18381
|
-
//# sourceMappingURL=chunk-
|
|
18381
|
+
//# sourceMappingURL=chunk-3L3RBNBV.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* WebMusicScore v6.0.0-pre.
|
|
1
|
+
/* WebMusicScore v6.0.0-pre.2 | (c) 2023-2025 Stefan Brockmann | MIT License | Includes: Tone.js (MIT License), Color Name to Code (MIT License) */
|
|
2
2
|
import {
|
|
3
3
|
__publicField
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OXLTN43T.mjs";
|
|
5
5
|
|
|
6
6
|
// src/core/error.ts
|
|
7
7
|
var MusicErrorType = /* @__PURE__ */ ((MusicErrorType2) => {
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
MusicErrorType,
|
|
35
35
|
MusicError
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-5P4O5YX2.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* WebMusicScore v6.0.0-pre.
|
|
1
|
+
/* WebMusicScore v6.0.0-pre.2 | (c) 2023-2025 Stefan Brockmann | MIT License | Includes: Tone.js (MIT License), Color Name to Code (MIT License) */
|
|
2
2
|
|
|
3
3
|
// src/audio/instrument.ts
|
|
4
4
|
function linearToDecibels(linearVolume) {
|
|
@@ -8,4 +8,4 @@ function linearToDecibels(linearVolume) {
|
|
|
8
8
|
export {
|
|
9
9
|
linearToDecibels
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
11
|
+
//# sourceMappingURL=chunk-5W6ROWBC.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* WebMusicScore v6.0.0-pre.
|
|
1
|
+
/* WebMusicScore v6.0.0-pre.2 | (c) 2023-2025 Stefan Brockmann | MIT License | Includes: Tone.js (MIT License), Color Name to Code (MIT License) */
|
|
2
2
|
import {
|
|
3
3
|
__yieldStar
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OXLTN43T.mjs";
|
|
5
5
|
|
|
6
6
|
// node_modules/@tspro/ts-utils-lib/dist/index.mjs
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
@@ -1124,7 +1124,9 @@ var _consent;
|
|
|
1124
1124
|
var _expires;
|
|
1125
1125
|
var str = _read(ConsentCookieName);
|
|
1126
1126
|
_consent = str === "accept" || str === "decline" ? str : void 0;
|
|
1127
|
-
function
|
|
1127
|
+
function _getCookieList() {
|
|
1128
|
+
if (typeof document === "undefined")
|
|
1129
|
+
return [];
|
|
1128
1130
|
let s = document.cookie;
|
|
1129
1131
|
return s.split(";").map((c) => c.trim());
|
|
1130
1132
|
}
|
|
@@ -1133,15 +1135,17 @@ function _save(name, value) {
|
|
|
1133
1135
|
if (_expires) {
|
|
1134
1136
|
cookie += "expires=" + _expires.toUTCString() + ";";
|
|
1135
1137
|
}
|
|
1136
|
-
document
|
|
1138
|
+
if (typeof document !== "undefined")
|
|
1139
|
+
document.cookie = cookie;
|
|
1137
1140
|
return value;
|
|
1138
1141
|
}
|
|
1139
1142
|
function _read(name, defaultValue) {
|
|
1140
|
-
let str2 =
|
|
1143
|
+
let str2 = _getCookieList().find((c) => c.startsWith(name + "="));
|
|
1141
1144
|
return str2 === void 0 ? defaultValue : str2.substring(name.length + 1);
|
|
1142
1145
|
}
|
|
1143
1146
|
function _erase(name) {
|
|
1144
|
-
|
|
1147
|
+
if (typeof document !== "undefined")
|
|
1148
|
+
document.cookie = name + "=;expires=Thu, 01 Jan 1970 00:00:00 UTC;";
|
|
1145
1149
|
}
|
|
1146
1150
|
function setExpireDays(days) {
|
|
1147
1151
|
_expires = /* @__PURE__ */ new Date();
|
|
@@ -1191,7 +1195,8 @@ function erase(name) {
|
|
|
1191
1195
|
_erase(name);
|
|
1192
1196
|
}
|
|
1193
1197
|
function eraseAll() {
|
|
1194
|
-
|
|
1198
|
+
if (typeof document !== "undefined")
|
|
1199
|
+
document.cookie.split(";").forEach((c) => erase(c.trim().split("=")[0]));
|
|
1195
1200
|
}
|
|
1196
1201
|
var device_exports = {};
|
|
1197
1202
|
__export(device_exports, {
|
|
@@ -1207,12 +1212,16 @@ __export(device_exports, {
|
|
|
1207
1212
|
toPx: () => toPx
|
|
1208
1213
|
});
|
|
1209
1214
|
function getDPI() {
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1215
|
+
try {
|
|
1216
|
+
let el = document.createElement("div");
|
|
1217
|
+
el.style.width = "1in";
|
|
1218
|
+
document.body.appendChild(el);
|
|
1219
|
+
let dpi = el.offsetWidth;
|
|
1220
|
+
el.remove();
|
|
1221
|
+
return dpi || 96;
|
|
1222
|
+
} catch (e) {
|
|
1223
|
+
return 96;
|
|
1224
|
+
}
|
|
1216
1225
|
}
|
|
1217
1226
|
function getScrollBarWidth() {
|
|
1218
1227
|
try {
|
|
@@ -1235,18 +1244,23 @@ function getScrollBarWidth() {
|
|
|
1235
1244
|
}
|
|
1236
1245
|
}
|
|
1237
1246
|
function getSystemFontSize() {
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1247
|
+
try {
|
|
1248
|
+
let tmpDiv = document.createElement("div");
|
|
1249
|
+
tmpDiv.style.cssText = "display:inline-block; padding:0; line-height:1; position:absolute; visibility:hidden; font-size:1em";
|
|
1250
|
+
tmpDiv.appendChild(document.createTextNode("M"));
|
|
1251
|
+
document.body.appendChild(tmpDiv);
|
|
1252
|
+
let fontsize = tmpDiv.offsetHeight;
|
|
1253
|
+
document.body.removeChild(tmpDiv);
|
|
1254
|
+
return fontsize;
|
|
1255
|
+
} catch (e) {
|
|
1256
|
+
return 16;
|
|
1257
|
+
}
|
|
1245
1258
|
}
|
|
1246
1259
|
function getIsTouchDevice() {
|
|
1247
|
-
if (
|
|
1260
|
+
if (typeof window === "undefined")
|
|
1261
|
+
return false;
|
|
1262
|
+
if ("ontouchstart" in window || "DocumentTouch" in window || "createTouch" in document && "createTouchList" in document)
|
|
1248
1263
|
return true;
|
|
1249
|
-
}
|
|
1250
1264
|
var prefixes = " -webkit- -moz- -o- -ms- ".split(" ");
|
|
1251
1265
|
var mq = function(query2) {
|
|
1252
1266
|
return window.matchMedia(query2).matches;
|
|
@@ -1259,7 +1273,10 @@ function getIsMobileDevice() {
|
|
|
1259
1273
|
return /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4));
|
|
1260
1274
|
}
|
|
1261
1275
|
function getHostAddress() {
|
|
1262
|
-
|
|
1276
|
+
if (typeof location === "undefined" || !location.host) {
|
|
1277
|
+
return "localhost";
|
|
1278
|
+
}
|
|
1279
|
+
return `${location.protocol}//${location.host}`;
|
|
1263
1280
|
}
|
|
1264
1281
|
var UnitRegExp = /^(mm|cm|in|inch|px|em)$/;
|
|
1265
1282
|
var ValueUnitRegExp = /^([0-9\\.]+)(.*)$/;
|
|
@@ -1414,6 +1431,10 @@ __export(dom_exports, {
|
|
|
1414
1431
|
setWidth: () => setWidth,
|
|
1415
1432
|
styleLayoutChanged: () => styleLayoutChanged
|
|
1416
1433
|
});
|
|
1434
|
+
function _getElemById(id) {
|
|
1435
|
+
var _a;
|
|
1436
|
+
return typeof document === "undefined" ? void 0 : (_a = document.getElementById(id)) != null ? _a : void 0;
|
|
1437
|
+
}
|
|
1417
1438
|
function toPx2(value) {
|
|
1418
1439
|
return value === void 0 ? void 0 : device_exports.toPx(value);
|
|
1419
1440
|
}
|
|
@@ -1450,12 +1471,17 @@ function setOffset(el, left, top, unit = "px") {
|
|
|
1450
1471
|
el.style.top = top + unit;
|
|
1451
1472
|
}
|
|
1452
1473
|
function getOffset(el) {
|
|
1453
|
-
let
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
top
|
|
1457
|
-
|
|
1458
|
-
|
|
1474
|
+
let { left, top } = el.getBoundingClientRect();
|
|
1475
|
+
if (typeof window !== "undefined") {
|
|
1476
|
+
left += window.pageXOffset;
|
|
1477
|
+
top += window.pageYOffset;
|
|
1478
|
+
}
|
|
1479
|
+
if (typeof document !== "undefined") {
|
|
1480
|
+
let de = document.documentElement;
|
|
1481
|
+
left -= de.clientLeft;
|
|
1482
|
+
top -= de.clientTop;
|
|
1483
|
+
}
|
|
1484
|
+
return { left, top };
|
|
1459
1485
|
}
|
|
1460
1486
|
function getWidth(el) {
|
|
1461
1487
|
if (el instanceof Window) {
|
|
@@ -1495,11 +1521,11 @@ function setRect(el, left, top, width, height, unit = "px") {
|
|
|
1495
1521
|
el.style.height = height + unit;
|
|
1496
1522
|
}
|
|
1497
1523
|
function getButton(btn) {
|
|
1498
|
-
let el = typeof btn === "string" ?
|
|
1524
|
+
let el = typeof btn === "string" ? _getElemById(btn) : btn;
|
|
1499
1525
|
return el instanceof HTMLButtonElement ? el : void 0;
|
|
1500
1526
|
}
|
|
1501
1527
|
function getCanvas(canvas2) {
|
|
1502
|
-
let el = typeof canvas2 === "string" ?
|
|
1528
|
+
let el = typeof canvas2 === "string" ? _getElemById(canvas2) : canvas2;
|
|
1503
1529
|
return el instanceof HTMLCanvasElement ? el : void 0;
|
|
1504
1530
|
}
|
|
1505
1531
|
function getPadding(style) {
|
|
@@ -1573,11 +1599,11 @@ function styleLayoutChanged(style1, style2) {
|
|
|
1573
1599
|
}
|
|
1574
1600
|
var canvas;
|
|
1575
1601
|
function getCanvasTextWidth(text, font) {
|
|
1576
|
-
canvas
|
|
1577
|
-
|
|
1578
|
-
|
|
1602
|
+
if (!canvas && typeof document !== "undefined")
|
|
1603
|
+
canvas = document.createElement("canvas");
|
|
1604
|
+
let ctx = canvas == null ? void 0 : canvas.getContext("2d");
|
|
1605
|
+
if (!ctx)
|
|
1579
1606
|
return 0;
|
|
1580
|
-
}
|
|
1581
1607
|
ctx.font = font;
|
|
1582
1608
|
return ctx.measureText(text).width;
|
|
1583
1609
|
}
|
|
@@ -3833,9 +3859,9 @@ export {
|
|
|
3833
3859
|
|
|
3834
3860
|
@tspro/ts-utils-lib/dist/index.mjs:
|
|
3835
3861
|
(*!
|
|
3836
|
-
* TsUtilsLib v2.2.
|
|
3862
|
+
* TsUtilsLib v2.2.1 (esm)
|
|
3837
3863
|
* (c) 2023-2025 PahkaSoft
|
|
3838
3864
|
* Licensed under the MIT License
|
|
3839
3865
|
*)
|
|
3840
3866
|
*/
|
|
3841
|
-
//# sourceMappingURL=chunk-
|
|
3867
|
+
//# sourceMappingURL=chunk-7PNMM2PM.mjs.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* WebMusicScore v6.0.0-pre.
|
|
1
|
+
/* WebMusicScore v6.0.0-pre.2 | (c) 2023-2025 Stefan Brockmann | MIT License | Includes: Tone.js (MIT License), Color Name to Code (MIT License) */
|
|
2
2
|
import {
|
|
3
3
|
IndexArray,
|
|
4
4
|
UniMap,
|
|
5
5
|
guard_exports,
|
|
6
6
|
utils_exports
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7PNMM2PM.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__publicField
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OXLTN43T.mjs";
|
|
11
11
|
|
|
12
12
|
// src/theory/rhythm.ts
|
|
13
13
|
import { MusicError, MusicErrorType } from "web-music-score/core";
|
|
@@ -264,4 +264,4 @@ export {
|
|
|
264
264
|
Tuplet,
|
|
265
265
|
RhythmProps
|
|
266
266
|
};
|
|
267
|
-
//# sourceMappingURL=chunk-
|
|
267
|
+
//# sourceMappingURL=chunk-GNFWJCFN.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* WebMusicScore v6.0.0-pre.
|
|
1
|
+
/* WebMusicScore v6.0.0-pre.2 | (c) 2023-2025 Stefan Brockmann | MIT License | Includes: Tone.js (MIT License), Color Name to Code (MIT License) */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defProps = Object.defineProperties;
|
|
4
4
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
@@ -98,4 +98,4 @@ export {
|
|
|
98
98
|
__async,
|
|
99
99
|
__yieldStar
|
|
100
100
|
};
|
|
101
|
-
//# sourceMappingURL=chunk-
|
|
101
|
+
//# sourceMappingURL=chunk-OXLTN43T.mjs.map
|
package/dist/core/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* WebMusicScore v6.0.0-pre.
|
|
1
|
+
/* WebMusicScore v6.0.0-pre.2 | (c) 2023-2025 Stefan Brockmann | MIT License | Includes: Tone.js (MIT License), Color Name to Code (MIT License) */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -63,7 +63,7 @@ function init() {
|
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
65
|
initialized = true;
|
|
66
|
-
console.log("%cWebMusicScore v6.0.0-pre.
|
|
66
|
+
console.log("%cWebMusicScore v6.0.0-pre.2 (cjs) initialized.", "background: black; color: white; padding: 2px;");
|
|
67
67
|
}
|
|
68
68
|
// Annotate the CommonJS export names for ESM import in node:
|
|
69
69
|
0 && (module.exports = {
|
package/dist/core/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* WebMusicScore v6.0.0-pre.
|
|
1
|
+
/* WebMusicScore v6.0.0-pre.2 | (c) 2023-2025 Stefan Brockmann | MIT License | Includes: Tone.js (MIT License), Color Name to Code (MIT License) */
|
|
2
2
|
import {
|
|
3
3
|
MusicError,
|
|
4
4
|
MusicErrorType
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-5P4O5YX2.mjs";
|
|
6
|
+
import "../chunk-OXLTN43T.mjs";
|
|
7
7
|
|
|
8
8
|
// src/core/index.ts
|
|
9
9
|
var initialized = false;
|
|
@@ -12,7 +12,7 @@ function init() {
|
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
14
14
|
initialized = true;
|
|
15
|
-
console.log("%cWebMusicScore v6.0.0-pre.
|
|
15
|
+
console.log("%cWebMusicScore v6.0.0-pre.2 (esm) initialized.", "background: black; color: white; padding: 2px;");
|
|
16
16
|
}
|
|
17
17
|
export {
|
|
18
18
|
MusicError,
|