@dsebastien/music-notation 0.18.0 → 0.18.1
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 +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +3 -3
- package/dist/music-notation.publish.min.js +23 -23
- package/dist/music-notation.tab.min.js +5 -5
- package/dist/publish/index.js +4 -2
- package/dist/publish/index.js.map +3 -3
- package/dist/tab/index.js +4 -2
- package/dist/tab/index.js.map +3 -3
- package/package.json +1 -1
package/dist/tab/index.js
CHANGED
|
@@ -1875,7 +1875,9 @@ function volumeOf(volume) {
|
|
|
1875
1875
|
}
|
|
1876
1876
|
|
|
1877
1877
|
// src/playback/live-volume.ts
|
|
1878
|
-
var
|
|
1878
|
+
var REGISTRY = Symbol.for("@dsebastien/music-notation/volume");
|
|
1879
|
+
var shared = globalThis;
|
|
1880
|
+
var listeners = shared[REGISTRY] ??= new Set;
|
|
1879
1881
|
var level = (value) => typeof value === "number" && Number.isFinite(value) ? Math.min(1, Math.max(0, value)) : null;
|
|
1880
1882
|
function volumeChanged() {
|
|
1881
1883
|
for (const listener of [...listeners]) {
|
|
@@ -2599,5 +2601,5 @@ export {
|
|
|
2599
2601
|
textTabToAlphaTex
|
|
2600
2602
|
};
|
|
2601
2603
|
|
|
2602
|
-
//# debugId=
|
|
2604
|
+
//# debugId=F0BE008A00DBAFB664756E2164756E21
|
|
2603
2605
|
//# sourceMappingURL=index.js.map
|