@tspro/web-music-score 5.4.0 → 5.4.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/LICENSE +1 -1
  3. package/README.md +4 -4
  4. package/dist/audio/index.d.mts +1 -1
  5. package/dist/audio/index.d.ts +1 -1
  6. package/dist/audio/index.js +1 -1
  7. package/dist/audio/index.mjs +3 -3
  8. package/dist/audio-cg/index.js +1 -1
  9. package/dist/audio-cg/index.mjs +3 -3
  10. package/dist/audio-synth/index.js +1 -1
  11. package/dist/audio-synth/index.mjs +3 -3
  12. package/dist/{chunk-MHDBTCVG.mjs → chunk-42IBAVOC.mjs} +3 -3
  13. package/dist/{chunk-QGMOI7AP.mjs → chunk-CVYTUTL6.mjs} +2 -2
  14. package/dist/{chunk-ZWUBO5EW.mjs → chunk-MMWSQGVR.mjs} +3 -3
  15. package/dist/{chunk-AUT4C6TY.mjs → chunk-ROBXPR34.mjs} +2 -2
  16. package/dist/core/index.js +2 -2
  17. package/dist/core/index.mjs +4 -4
  18. package/dist/{guitar-CarHGDAt.d.ts → guitar-CNOxM4ZK.d.ts} +1 -1
  19. package/dist/{guitar-DXlB-9vK.d.mts → guitar-DK18GZ6h.d.mts} +1 -1
  20. package/dist/iife/audio-cg.global.js +1 -1
  21. package/dist/iife/index.global.js +11 -11
  22. package/dist/{music-objects-ONIuVUgs.d.mts → music-objects-DqoO-Sfv.d.mts} +100 -45
  23. package/dist/{music-objects-3Esbz7ij.d.ts → music-objects-T8u8bnNP.d.ts} +100 -45
  24. package/dist/pieces/index.d.mts +3 -3
  25. package/dist/pieces/index.d.ts +3 -3
  26. package/dist/pieces/index.js +1 -1
  27. package/dist/pieces/index.mjs +2 -2
  28. package/dist/react-ui/index.d.mts +5 -5
  29. package/dist/react-ui/index.d.ts +5 -5
  30. package/dist/react-ui/index.js +1 -1
  31. package/dist/react-ui/index.mjs +2 -2
  32. package/dist/{scale-DulPFco_.d.ts → scale-CUYFBo-8.d.ts} +2 -2
  33. package/dist/{scale-C8gHC448.d.mts → scale-DWM4RQco.d.mts} +2 -2
  34. package/dist/score/index.d.mts +5 -5
  35. package/dist/score/index.d.ts +5 -5
  36. package/dist/score/index.js +743 -512
  37. package/dist/score/index.mjs +639 -409
  38. package/dist/{tempo-BlCGZuYg.d.mts → tempo-Cxu8vusu.d.mts} +1 -1
  39. package/dist/{tempo-BnUjm25M.d.ts → tempo-DwuZsv2T.d.ts} +1 -1
  40. package/dist/theory/index.d.mts +6 -6
  41. package/dist/theory/index.d.ts +6 -6
  42. package/dist/theory/index.js +1 -1
  43. package/dist/theory/index.mjs +3 -3
  44. package/package.json +2 -1
  45. /package/dist/{note-CJuq5aBy.d.ts → note-CJuq5aBy.d.mts} +0 -0
  46. /package/dist/{note-RVXvpfyV.d.mts → note-RVXvpfyV.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
- import { M as MDocument } from '../music-objects-3Esbz7ij.js';
2
- import '../note-CJuq5aBy.js';
3
- import '../tempo-BnUjm25M.js';
1
+ import { M as MDocument } from '../music-objects-T8u8bnNP.js';
2
+ import '../note-RVXvpfyV.js';
3
+ import '../tempo-DwuZsv2T.js';
4
4
  import '@tspro/ts-utils-lib';
5
5
 
6
6
  /**
@@ -1,4 +1,4 @@
1
- /* WebMusicScore v5.4.0 | (c) 2023 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
1
+ /* WebMusicScore v5.4.2 | (c) 2023-2025 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
2
2
  "use strict";
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,5 +1,5 @@
1
- /* WebMusicScore v5.4.0 | (c) 2023 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
2
- import "../chunk-AUT4C6TY.mjs";
1
+ /* WebMusicScore v5.4.2 | (c) 2023-2025 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
2
+ import "../chunk-ROBXPR34.mjs";
3
3
 
4
4
  // src/pieces/canon-pachelbel.ts
5
5
  import { DocumentBuilder } from "@tspro/web-music-score/score";
@@ -1,11 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import { c as Scale, S as ScaleType } from '../scale-C8gHC448.mjs';
4
- import { b as PitchNotation, G as GuitarNoteLabel, N as Note } from '../note-RVXvpfyV.mjs';
5
- import { H as Handedness } from '../guitar-DXlB-9vK.mjs';
3
+ import { c as Scale, S as ScaleType } from '../scale-DWM4RQco.mjs';
4
+ import { b as PitchNotation, G as GuitarNoteLabel, N as Note } from '../note-CJuq5aBy.mjs';
5
+ import { H as Handedness } from '../guitar-DK18GZ6h.mjs';
6
6
  import { Rect } from '@tspro/ts-utils-lib';
7
- import { M as MDocument, o as ScoreEventListener, s as MPlaybackButtons } from '../music-objects-ONIuVUgs.mjs';
8
- import '../tempo-BlCGZuYg.mjs';
7
+ import { M as MDocument, o as ScoreEventListener, s as MPlaybackButtons } from '../music-objects-DqoO-Sfv.mjs';
8
+ import '../tempo-Cxu8vusu.mjs';
9
9
 
10
10
  interface CircleOfFifthsProps {
11
11
  style?: React.CSSProperties;
@@ -1,11 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import { c as Scale, S as ScaleType } from '../scale-DulPFco_.js';
4
- import { b as PitchNotation, G as GuitarNoteLabel, N as Note } from '../note-CJuq5aBy.js';
5
- import { H as Handedness } from '../guitar-CarHGDAt.js';
3
+ import { c as Scale, S as ScaleType } from '../scale-CUYFBo-8.js';
4
+ import { b as PitchNotation, G as GuitarNoteLabel, N as Note } from '../note-RVXvpfyV.js';
5
+ import { H as Handedness } from '../guitar-CNOxM4ZK.js';
6
6
  import { Rect } from '@tspro/ts-utils-lib';
7
- import { M as MDocument, o as ScoreEventListener, s as MPlaybackButtons } from '../music-objects-3Esbz7ij.js';
8
- import '../tempo-BnUjm25M.js';
7
+ import { M as MDocument, o as ScoreEventListener, s as MPlaybackButtons } from '../music-objects-T8u8bnNP.js';
8
+ import '../tempo-DwuZsv2T.js';
9
9
 
10
10
  interface CircleOfFifthsProps {
11
11
  style?: React.CSSProperties;
@@ -1,4 +1,4 @@
1
- /* WebMusicScore v5.4.0 | (c) 2023 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
1
+ /* WebMusicScore v5.4.2 | (c) 2023-2025 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
2
2
  "use strict";
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
@@ -1,7 +1,7 @@
1
- /* WebMusicScore v5.4.0 | (c) 2023 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
1
+ /* WebMusicScore v5.4.2 | (c) 2023-2025 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
2
2
  import {
3
3
  __publicField
4
- } from "../chunk-AUT4C6TY.mjs";
4
+ } from "../chunk-ROBXPR34.mjs";
5
5
 
6
6
  // src/react-ui/circle-of-fifths.tsx
7
7
  import * as React from "react";
@@ -1,5 +1,5 @@
1
- import { N as Note, S as SymbolSet } from './note-CJuq5aBy.js';
2
- import { K as KeySignature } from './tempo-BnUjm25M.js';
1
+ import { N as Note, S as SymbolSet } from './note-RVXvpfyV.js';
2
+ import { K as KeySignature } from './tempo-DwuZsv2T.js';
3
3
 
4
4
  /** Interval direction type. */
5
5
  type IntervalDirection = "Unison" | "Ascending" | "Descending";
@@ -1,5 +1,5 @@
1
- import { N as Note, S as SymbolSet } from './note-RVXvpfyV.mjs';
2
- import { K as KeySignature } from './tempo-BlCGZuYg.mjs';
1
+ import { N as Note, S as SymbolSet } from './note-CJuq5aBy.mjs';
2
+ import { K as KeySignature } from './tempo-Cxu8vusu.mjs';
3
3
 
4
4
  /** Interval direction type. */
5
5
  type IntervalDirection = "Unison" | "Ascending" | "Descending";
@@ -1,8 +1,8 @@
1
- import { N as NoteOptions, R as RestOptions, S as StaffPreset, a as ScoreConfiguration, M as MDocument, b as MeasureOptions, V as VoiceId, T as TupletOptions, c as VerseNumber, L as LyricsOptions, d as StaffTabOrGroups, F as Fermata, e as Navigation, A as AnnotationText, f as Annotation, g as Label, C as Connective, h as TieType, i as NoteAnchor, j as VerticalPosition } from '../music-objects-ONIuVUgs.mjs';
2
- export { ak as Arpeggio, a6 as BaseConfig, a5 as Clef, ao as DynamicsAnnotation, am as LyricsAlign, an as LyricsHyphen, u as MAccidental, w as MArpeggio, I as MBarLineLeft, H as MBarLineRight, x as MBeamGroup, v as MConnective, z as MEnding, a4 as MExtensionLine, B as MFermata, D as MHeader, E as MImage, a3 as MLyrics, G as MMeasure, K as MNoteGroup, s as MPlaybackButtons, p as MPlayer, q as MRenderContext, r as MRenderer, Q as MRest, W as MRhythmColumn, X as MScoreRow, a1 as MSpecialText, Y as MStaff, y as MStaffBeamGroup, O as MStaffNoteGroup, U as MStaffRest, _ as MStaffSignature, J as MStaffTabBarLine, Z as MTab, P as MTabNoteGroup, a0 as MTabRhythm, $ as MTabSignature, a2 as MText, t as MusicInterface, aq as PlayState, ar as PlayStateChangeListener, l as ScoreEvent, o as ScoreEventListener, k as ScoreEventType, n as ScoreObjectEvent, m as ScoreStaffPosEvent, a7 as StaffConfig, al as StaffTabOrGroup, aj as Stem, ac as StringNumber, a8 as TabConfig, ap as TempoAnnotation, ad as getStringNumbers, ag as getVerseNumbers, a9 as getVoiceIds, ae as isStringNumber, ah as isVerseNumber, aa as isVoiceId, af as validateStringNumber, ai as validateVerseNumber, ab as validateVoiceId } from '../music-objects-ONIuVUgs.mjs';
3
- import { N as Note } from '../note-RVXvpfyV.mjs';
4
- import { S as ScaleType, c as Scale } from '../scale-C8gHC448.mjs';
5
- import { N as NoteLength, i as NoteLengthStr, K as KeySignature, b as TimeSignature, T as TimeSignatures, B as BeamGrouping, l as TupletRatio } from '../tempo-BlCGZuYg.mjs';
1
+ import { N as NoteOptions, R as RestOptions, S as StaffPreset, a as ScoreConfiguration, M as MDocument, b as MeasureOptions, V as VoiceId, T as TupletOptions, c as VerseNumber, L as LyricsOptions, d as StaffTabOrGroups, F as Fermata, e as Navigation, A as AnnotationText, f as Annotation, g as Label, C as Connective, h as TieType, i as NoteAnchor, j as VerticalPosition } from '../music-objects-DqoO-Sfv.mjs';
2
+ export { al as Arpeggio, a7 as BaseConfig, a6 as Clef, ap as DynamicsAnnotation, an as LyricsAlign, ao as LyricsHyphen, u as MAccidental, w as MArpeggio, I as MBarLineLeft, H as MBarLineRight, x as MBeamGroup, v as MConnective, z as MEnding, a5 as MExtensionLine, B as MFermata, D as MHeader, E as MImage, a4 as MLyrics, G as MMeasure, K as MNoteGroup, s as MPlaybackButtons, p as MPlayer, q as MRenderContext, r as MRenderer, Q as MRest, W as MRhythmColumn, X as MScoreRow, Y as MScoreRowGroup, a2 as MSpecialText, Z as MStaff, J as MStaffBarLine, y as MStaffBeamGroup, O as MStaffNoteGroup, U as MStaffRest, $ as MStaffSignature, _ as MTab, P as MTabNoteGroup, a1 as MTabRhythm, a0 as MTabSignature, a3 as MText, t as MusicInterface, ar as PlayState, as as PlayStateChangeListener, l as ScoreEvent, o as ScoreEventListener, k as ScoreEventType, n as ScoreObjectEvent, m as ScoreStaffPosEvent, a8 as StaffConfig, am as StaffTabOrGroup, ak as Stem, ad as StringNumber, a9 as TabConfig, aq as TempoAnnotation, ae as getStringNumbers, ah as getVerseNumbers, aa as getVoiceIds, af as isStringNumber, ai as isVerseNumber, ab as isVoiceId, ag as validateStringNumber, aj as validateVerseNumber, ac as validateVoiceId } from '../music-objects-DqoO-Sfv.mjs';
3
+ import { N as Note } from '../note-CJuq5aBy.mjs';
4
+ import { S as ScaleType, c as Scale } from '../scale-DWM4RQco.mjs';
5
+ import { N as NoteLength, i as NoteLengthStr, K as KeySignature, b as TimeSignature, T as TimeSignatures, B as BeamGrouping, l as TupletRatio } from '../tempo-Cxu8vusu.mjs';
6
6
  import '@tspro/ts-utils-lib';
7
7
 
8
8
  /**
@@ -1,8 +1,8 @@
1
- import { N as NoteOptions, R as RestOptions, S as StaffPreset, a as ScoreConfiguration, M as MDocument, b as MeasureOptions, V as VoiceId, T as TupletOptions, c as VerseNumber, L as LyricsOptions, d as StaffTabOrGroups, F as Fermata, e as Navigation, A as AnnotationText, f as Annotation, g as Label, C as Connective, h as TieType, i as NoteAnchor, j as VerticalPosition } from '../music-objects-3Esbz7ij.js';
2
- export { ak as Arpeggio, a6 as BaseConfig, a5 as Clef, ao as DynamicsAnnotation, am as LyricsAlign, an as LyricsHyphen, u as MAccidental, w as MArpeggio, I as MBarLineLeft, H as MBarLineRight, x as MBeamGroup, v as MConnective, z as MEnding, a4 as MExtensionLine, B as MFermata, D as MHeader, E as MImage, a3 as MLyrics, G as MMeasure, K as MNoteGroup, s as MPlaybackButtons, p as MPlayer, q as MRenderContext, r as MRenderer, Q as MRest, W as MRhythmColumn, X as MScoreRow, a1 as MSpecialText, Y as MStaff, y as MStaffBeamGroup, O as MStaffNoteGroup, U as MStaffRest, _ as MStaffSignature, J as MStaffTabBarLine, Z as MTab, P as MTabNoteGroup, a0 as MTabRhythm, $ as MTabSignature, a2 as MText, t as MusicInterface, aq as PlayState, ar as PlayStateChangeListener, l as ScoreEvent, o as ScoreEventListener, k as ScoreEventType, n as ScoreObjectEvent, m as ScoreStaffPosEvent, a7 as StaffConfig, al as StaffTabOrGroup, aj as Stem, ac as StringNumber, a8 as TabConfig, ap as TempoAnnotation, ad as getStringNumbers, ag as getVerseNumbers, a9 as getVoiceIds, ae as isStringNumber, ah as isVerseNumber, aa as isVoiceId, af as validateStringNumber, ai as validateVerseNumber, ab as validateVoiceId } from '../music-objects-3Esbz7ij.js';
3
- import { N as Note } from '../note-CJuq5aBy.js';
4
- import { S as ScaleType, c as Scale } from '../scale-DulPFco_.js';
5
- import { N as NoteLength, i as NoteLengthStr, K as KeySignature, b as TimeSignature, T as TimeSignatures, B as BeamGrouping, l as TupletRatio } from '../tempo-BnUjm25M.js';
1
+ import { N as NoteOptions, R as RestOptions, S as StaffPreset, a as ScoreConfiguration, M as MDocument, b as MeasureOptions, V as VoiceId, T as TupletOptions, c as VerseNumber, L as LyricsOptions, d as StaffTabOrGroups, F as Fermata, e as Navigation, A as AnnotationText, f as Annotation, g as Label, C as Connective, h as TieType, i as NoteAnchor, j as VerticalPosition } from '../music-objects-T8u8bnNP.js';
2
+ export { al as Arpeggio, a7 as BaseConfig, a6 as Clef, ap as DynamicsAnnotation, an as LyricsAlign, ao as LyricsHyphen, u as MAccidental, w as MArpeggio, I as MBarLineLeft, H as MBarLineRight, x as MBeamGroup, v as MConnective, z as MEnding, a5 as MExtensionLine, B as MFermata, D as MHeader, E as MImage, a4 as MLyrics, G as MMeasure, K as MNoteGroup, s as MPlaybackButtons, p as MPlayer, q as MRenderContext, r as MRenderer, Q as MRest, W as MRhythmColumn, X as MScoreRow, Y as MScoreRowGroup, a2 as MSpecialText, Z as MStaff, J as MStaffBarLine, y as MStaffBeamGroup, O as MStaffNoteGroup, U as MStaffRest, $ as MStaffSignature, _ as MTab, P as MTabNoteGroup, a1 as MTabRhythm, a0 as MTabSignature, a3 as MText, t as MusicInterface, ar as PlayState, as as PlayStateChangeListener, l as ScoreEvent, o as ScoreEventListener, k as ScoreEventType, n as ScoreObjectEvent, m as ScoreStaffPosEvent, a8 as StaffConfig, am as StaffTabOrGroup, ak as Stem, ad as StringNumber, a9 as TabConfig, aq as TempoAnnotation, ae as getStringNumbers, ah as getVerseNumbers, aa as getVoiceIds, af as isStringNumber, ai as isVerseNumber, ab as isVoiceId, ag as validateStringNumber, aj as validateVerseNumber, ac as validateVoiceId } from '../music-objects-T8u8bnNP.js';
3
+ import { N as Note } from '../note-RVXvpfyV.js';
4
+ import { S as ScaleType, c as Scale } from '../scale-CUYFBo-8.js';
5
+ import { N as NoteLength, i as NoteLengthStr, K as KeySignature, b as TimeSignature, T as TimeSignatures, B as BeamGrouping, l as TupletRatio } from '../tempo-DwuZsv2T.js';
6
6
  import '@tspro/ts-utils-lib';
7
7
 
8
8
  /**