musicxml-io 0.2.7 → 0.2.8

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/index.js CHANGED
@@ -45,14 +45,17 @@ __export(src_exports, {
45
45
  getAbsolutePosition: () => getAbsolutePosition,
46
46
  getAdjacentNotes: () => getAdjacentNotes,
47
47
  getAllNotes: () => getAllNotes,
48
+ getAllPartInfos: () => getAllPartInfos,
48
49
  getAttributesAtMeasure: () => getAttributesAtMeasure,
49
50
  getBeamGroups: () => getBeamGroups,
50
51
  getChordProgression: () => getChordProgression,
51
52
  getChords: () => getChords,
52
53
  getClefChanges: () => getClefChanges,
53
54
  getClefForStaff: () => getClefForStaff,
55
+ getDirectionOfKind: () => getDirectionOfKind,
54
56
  getDirections: () => getDirections,
55
57
  getDirectionsAtPosition: () => getDirectionsAtPosition,
58
+ getDirectionsOfKind: () => getDirectionsOfKind,
56
59
  getDivisions: () => getDivisions,
57
60
  getDuration: () => getDuration,
58
61
  getDynamics: () => getDynamics,
@@ -79,15 +82,24 @@ __export(src_exports, {
79
82
  getNotesForVoice: () => getNotesForVoice,
80
83
  getNotesInRange: () => getNotesInRange,
81
84
  getOctaveShifts: () => getOctaveShifts,
85
+ getPartAbbreviation: () => getPartAbbreviation,
82
86
  getPartById: () => getPartById,
83
87
  getPartByIndex: () => getPartByIndex,
84
88
  getPartCount: () => getPartCount,
85
89
  getPartIds: () => getPartIds,
86
90
  getPartIndex: () => getPartIndex,
91
+ getPartInfo: () => getPartInfo,
92
+ getPartName: () => getPartName,
93
+ getPartNameMap: () => getPartNameMap,
87
94
  getPedalMarkings: () => getPedalMarkings,
88
95
  getPrevNote: () => getPrevNote,
89
96
  getRepeatStructure: () => getRepeatStructure,
90
97
  getSlurSpans: () => getSlurSpans,
98
+ getSoundDamperPedal: () => getSoundDamperPedal,
99
+ getSoundDynamics: () => getSoundDynamics,
100
+ getSoundSoftPedal: () => getSoundSoftPedal,
101
+ getSoundSostenutoPedal: () => getSoundSostenutoPedal,
102
+ getSoundTempo: () => getSoundTempo,
91
103
  getStaffRange: () => getStaffRange,
92
104
  getStaveCount: () => getStaveCount,
93
105
  getStaves: () => getStaves,
@@ -105,12 +117,27 @@ __export(src_exports, {
105
117
  getWedges: () => getWedges,
106
118
  groupByStaff: () => groupByStaff,
107
119
  groupByVoice: () => groupByVoice,
120
+ hasBeam: () => hasBeam,
121
+ hasDirectionOfKind: () => hasDirectionOfKind,
122
+ hasLyrics: () => hasLyrics,
108
123
  hasMultipleStaves: () => hasMultipleStaves,
124
+ hasNotations: () => hasNotations,
109
125
  hasNotes: () => hasNotes,
126
+ hasTie: () => hasTie,
127
+ hasTieStart: () => hasTieStart,
128
+ hasTieStop: () => hasTieStop,
129
+ hasTuplet: () => hasTuplet,
110
130
  inferStaff: () => inferStaff,
111
131
  insertMeasure: () => insertMeasure,
132
+ isChordNote: () => isChordNote,
112
133
  isCompressed: () => isCompressed,
134
+ isCueNote: () => isCueNote,
135
+ isGraceNote: () => isGraceNote,
136
+ isPartInfo: () => isPartInfo,
137
+ isPitchedNote: () => isPitchedNote,
138
+ isRest: () => isRest,
113
139
  isRestMeasure: () => isRestMeasure,
140
+ isUnpitchedNote: () => isUnpitchedNote,
114
141
  isValid: () => isValid,
115
142
  iterateEntries: () => iterateEntries,
116
143
  iterateNotes: () => iterateNotes,
@@ -5531,7 +5558,7 @@ function getMeasureEndPosition(measure) {
5531
5558
  return state.position;
5532
5559
  }
5533
5560
 
5534
- // src/accessors/index.ts
5561
+ // src/query/index.ts
5535
5562
  function getNotesForVoice(measure, filter) {
5536
5563
  return measure.entries.filter((entry) => {
5537
5564
  if (entry.type !== "note") return false;
@@ -6272,17 +6299,17 @@ function getTiedNoteGroups(score, options) {
6272
6299
  measureIndex,
6273
6300
  position
6274
6301
  };
6275
- const hasTieStart = entry.tie?.type === "start" || entry.ties?.some((t) => t.type === "start") || entry.notations?.some((n) => n.type === "tied" && n.tiedType === "start");
6276
- const hasTieStop = entry.tie?.type === "stop" || entry.ties?.some((t) => t.type === "stop") || entry.notations?.some((n) => n.type === "tied" && n.tiedType === "stop");
6277
- if (hasTieStop && pendingTies.has(pitchKey)) {
6302
+ const hasTieStart2 = entry.tie?.type === "start" || entry.ties?.some((t) => t.type === "start") || entry.notations?.some((n) => n.type === "tied" && n.tiedType === "start");
6303
+ const hasTieStop2 = entry.tie?.type === "stop" || entry.ties?.some((t) => t.type === "stop") || entry.notations?.some((n) => n.type === "tied" && n.tiedType === "stop");
6304
+ if (hasTieStop2 && pendingTies.has(pitchKey)) {
6278
6305
  const group = pendingTies.get(pitchKey);
6279
6306
  group.push(context);
6280
- if (!hasTieStart) {
6307
+ if (!hasTieStart2) {
6281
6308
  const totalDuration = group.reduce((sum, nc) => sum + nc.note.duration, 0);
6282
6309
  results.push({ notes: group, totalDuration });
6283
6310
  pendingTies.delete(pitchKey);
6284
6311
  }
6285
- } else if (hasTieStart) {
6312
+ } else if (hasTieStart2) {
6286
6313
  pendingTies.set(pitchKey, [context]);
6287
6314
  }
6288
6315
  }
@@ -6878,8 +6905,6 @@ function getPartCount(score) {
6878
6905
  function getPartIds(score) {
6879
6906
  return score.parts.map((part) => part.id);
6880
6907
  }
6881
-
6882
- // src/query/index.ts
6883
6908
  function getMeasure(score, options) {
6884
6909
  const part = score.parts[options.part];
6885
6910
  if (!part) return void 0;
@@ -6957,8 +6982,8 @@ function findNotes(score, filter) {
6957
6982
  if (filter.staff !== void 0 && (entry.staff ?? 1) !== filter.staff) continue;
6958
6983
  if (filter.noteType !== void 0 && entry.noteType !== filter.noteType) continue;
6959
6984
  if (filter.hasTie !== void 0) {
6960
- const hasTie = entry.tie !== void 0;
6961
- if (filter.hasTie !== hasTie) continue;
6985
+ const hasTie2 = entry.tie !== void 0;
6986
+ if (filter.hasTie !== hasTie2) continue;
6962
6987
  }
6963
6988
  results.push(entry);
6964
6989
  }
@@ -7710,6 +7735,97 @@ async function serializeToFile(score, filePath, options = {}) {
7710
7735
  await (0, import_promises.writeFile)(filePath, xmlString, "utf-8");
7711
7736
  }
7712
7737
  }
7738
+
7739
+ // src/entry-accessors.ts
7740
+ function getDirectionOfKind(entry, kind) {
7741
+ return entry.directionTypes.find((d) => d.kind === kind);
7742
+ }
7743
+ function getDirectionsOfKind(entry, kind) {
7744
+ return entry.directionTypes.filter((d) => d.kind === kind);
7745
+ }
7746
+ function hasDirectionOfKind(entry, kind) {
7747
+ return entry.directionTypes.some((d) => d.kind === kind);
7748
+ }
7749
+ function getSoundTempo(entry) {
7750
+ return entry.sound?.tempo;
7751
+ }
7752
+ function getSoundDynamics(entry) {
7753
+ return entry.sound?.dynamics;
7754
+ }
7755
+ function getSoundDamperPedal(entry) {
7756
+ return entry.sound?.damperPedal;
7757
+ }
7758
+ function getSoundSoftPedal(entry) {
7759
+ return entry.sound?.softPedal;
7760
+ }
7761
+ function getSoundSostenutoPedal(entry) {
7762
+ return entry.sound?.sostenutoPedal;
7763
+ }
7764
+ function isRest(entry) {
7765
+ return entry.rest !== void 0 || !entry.pitch && !entry.unpitched;
7766
+ }
7767
+ function isPitchedNote(entry) {
7768
+ return entry.pitch !== void 0;
7769
+ }
7770
+ function isUnpitchedNote(entry) {
7771
+ return entry.unpitched !== void 0;
7772
+ }
7773
+ function isChordNote(entry) {
7774
+ return entry.chord === true;
7775
+ }
7776
+ function isGraceNote(entry) {
7777
+ return entry.grace !== void 0;
7778
+ }
7779
+ function hasTie(entry) {
7780
+ return entry.tie !== void 0 || entry.ties !== void 0 && entry.ties.length > 0;
7781
+ }
7782
+ function hasTieStart(entry) {
7783
+ if (entry.tie?.type === "start") return true;
7784
+ return entry.ties?.some((t) => t.type === "start") ?? false;
7785
+ }
7786
+ function hasTieStop(entry) {
7787
+ if (entry.tie?.type === "stop") return true;
7788
+ return entry.ties?.some((t) => t.type === "stop") ?? false;
7789
+ }
7790
+ function isCueNote(entry) {
7791
+ return entry.cue === true;
7792
+ }
7793
+ function hasBeam(entry) {
7794
+ return entry.beam !== void 0 && entry.beam.length > 0;
7795
+ }
7796
+ function hasLyrics(entry) {
7797
+ return entry.lyrics !== void 0 && entry.lyrics.length > 0;
7798
+ }
7799
+ function hasNotations(entry) {
7800
+ return entry.notations !== void 0 && entry.notations.length > 0;
7801
+ }
7802
+ function hasTuplet(entry) {
7803
+ return entry.timeModification !== void 0;
7804
+ }
7805
+ function isPartInfo(entry) {
7806
+ return entry.type === "score-part";
7807
+ }
7808
+ function getPartInfo(score, partId) {
7809
+ return score.partList.find((entry) => {
7810
+ return entry.type === "score-part" && entry.id === partId;
7811
+ });
7812
+ }
7813
+ function getPartName(score, partId) {
7814
+ return getPartInfo(score, partId)?.name;
7815
+ }
7816
+ function getPartAbbreviation(score, partId) {
7817
+ return getPartInfo(score, partId)?.abbreviation;
7818
+ }
7819
+ function getAllPartInfos(score) {
7820
+ return score.partList.filter(isPartInfo);
7821
+ }
7822
+ function getPartNameMap(score) {
7823
+ const map = {};
7824
+ for (const part of getAllPartInfos(score)) {
7825
+ map[part.id] = part.name;
7826
+ }
7827
+ return map;
7828
+ }
7713
7829
  // Annotate the CommonJS export names for ESM import in node:
7714
7830
  0 && (module.exports = {
7715
7831
  STEPS,
@@ -7737,14 +7853,17 @@ async function serializeToFile(score, filePath, options = {}) {
7737
7853
  getAbsolutePosition,
7738
7854
  getAdjacentNotes,
7739
7855
  getAllNotes,
7856
+ getAllPartInfos,
7740
7857
  getAttributesAtMeasure,
7741
7858
  getBeamGroups,
7742
7859
  getChordProgression,
7743
7860
  getChords,
7744
7861
  getClefChanges,
7745
7862
  getClefForStaff,
7863
+ getDirectionOfKind,
7746
7864
  getDirections,
7747
7865
  getDirectionsAtPosition,
7866
+ getDirectionsOfKind,
7748
7867
  getDivisions,
7749
7868
  getDuration,
7750
7869
  getDynamics,
@@ -7771,15 +7890,24 @@ async function serializeToFile(score, filePath, options = {}) {
7771
7890
  getNotesForVoice,
7772
7891
  getNotesInRange,
7773
7892
  getOctaveShifts,
7893
+ getPartAbbreviation,
7774
7894
  getPartById,
7775
7895
  getPartByIndex,
7776
7896
  getPartCount,
7777
7897
  getPartIds,
7778
7898
  getPartIndex,
7899
+ getPartInfo,
7900
+ getPartName,
7901
+ getPartNameMap,
7779
7902
  getPedalMarkings,
7780
7903
  getPrevNote,
7781
7904
  getRepeatStructure,
7782
7905
  getSlurSpans,
7906
+ getSoundDamperPedal,
7907
+ getSoundDynamics,
7908
+ getSoundSoftPedal,
7909
+ getSoundSostenutoPedal,
7910
+ getSoundTempo,
7783
7911
  getStaffRange,
7784
7912
  getStaveCount,
7785
7913
  getStaves,
@@ -7797,12 +7925,27 @@ async function serializeToFile(score, filePath, options = {}) {
7797
7925
  getWedges,
7798
7926
  groupByStaff,
7799
7927
  groupByVoice,
7928
+ hasBeam,
7929
+ hasDirectionOfKind,
7930
+ hasLyrics,
7800
7931
  hasMultipleStaves,
7932
+ hasNotations,
7801
7933
  hasNotes,
7934
+ hasTie,
7935
+ hasTieStart,
7936
+ hasTieStop,
7937
+ hasTuplet,
7802
7938
  inferStaff,
7803
7939
  insertMeasure,
7940
+ isChordNote,
7804
7941
  isCompressed,
7942
+ isCueNote,
7943
+ isGraceNote,
7944
+ isPartInfo,
7945
+ isPitchedNote,
7946
+ isRest,
7805
7947
  isRestMeasure,
7948
+ isUnpitchedNote,
7806
7949
  isValid,
7807
7950
  iterateEntries,
7808
7951
  iterateNotes,
package/dist/index.mjs CHANGED
@@ -5383,7 +5383,7 @@ function getMeasureEndPosition(measure) {
5383
5383
  return state.position;
5384
5384
  }
5385
5385
 
5386
- // src/accessors/index.ts
5386
+ // src/query/index.ts
5387
5387
  function getNotesForVoice(measure, filter) {
5388
5388
  return measure.entries.filter((entry) => {
5389
5389
  if (entry.type !== "note") return false;
@@ -6124,17 +6124,17 @@ function getTiedNoteGroups(score, options) {
6124
6124
  measureIndex,
6125
6125
  position
6126
6126
  };
6127
- const hasTieStart = entry.tie?.type === "start" || entry.ties?.some((t) => t.type === "start") || entry.notations?.some((n) => n.type === "tied" && n.tiedType === "start");
6128
- const hasTieStop = entry.tie?.type === "stop" || entry.ties?.some((t) => t.type === "stop") || entry.notations?.some((n) => n.type === "tied" && n.tiedType === "stop");
6129
- if (hasTieStop && pendingTies.has(pitchKey)) {
6127
+ const hasTieStart2 = entry.tie?.type === "start" || entry.ties?.some((t) => t.type === "start") || entry.notations?.some((n) => n.type === "tied" && n.tiedType === "start");
6128
+ const hasTieStop2 = entry.tie?.type === "stop" || entry.ties?.some((t) => t.type === "stop") || entry.notations?.some((n) => n.type === "tied" && n.tiedType === "stop");
6129
+ if (hasTieStop2 && pendingTies.has(pitchKey)) {
6130
6130
  const group = pendingTies.get(pitchKey);
6131
6131
  group.push(context);
6132
- if (!hasTieStart) {
6132
+ if (!hasTieStart2) {
6133
6133
  const totalDuration = group.reduce((sum, nc) => sum + nc.note.duration, 0);
6134
6134
  results.push({ notes: group, totalDuration });
6135
6135
  pendingTies.delete(pitchKey);
6136
6136
  }
6137
- } else if (hasTieStart) {
6137
+ } else if (hasTieStart2) {
6138
6138
  pendingTies.set(pitchKey, [context]);
6139
6139
  }
6140
6140
  }
@@ -6730,8 +6730,6 @@ function getPartCount(score) {
6730
6730
  function getPartIds(score) {
6731
6731
  return score.parts.map((part) => part.id);
6732
6732
  }
6733
-
6734
- // src/query/index.ts
6735
6733
  function getMeasure(score, options) {
6736
6734
  const part = score.parts[options.part];
6737
6735
  if (!part) return void 0;
@@ -6809,8 +6807,8 @@ function findNotes(score, filter) {
6809
6807
  if (filter.staff !== void 0 && (entry.staff ?? 1) !== filter.staff) continue;
6810
6808
  if (filter.noteType !== void 0 && entry.noteType !== filter.noteType) continue;
6811
6809
  if (filter.hasTie !== void 0) {
6812
- const hasTie = entry.tie !== void 0;
6813
- if (filter.hasTie !== hasTie) continue;
6810
+ const hasTie2 = entry.tie !== void 0;
6811
+ if (filter.hasTie !== hasTie2) continue;
6814
6812
  }
6815
6813
  results.push(entry);
6816
6814
  }
@@ -7562,6 +7560,97 @@ async function serializeToFile(score, filePath, options = {}) {
7562
7560
  await writeFile(filePath, xmlString, "utf-8");
7563
7561
  }
7564
7562
  }
7563
+
7564
+ // src/entry-accessors.ts
7565
+ function getDirectionOfKind(entry, kind) {
7566
+ return entry.directionTypes.find((d) => d.kind === kind);
7567
+ }
7568
+ function getDirectionsOfKind(entry, kind) {
7569
+ return entry.directionTypes.filter((d) => d.kind === kind);
7570
+ }
7571
+ function hasDirectionOfKind(entry, kind) {
7572
+ return entry.directionTypes.some((d) => d.kind === kind);
7573
+ }
7574
+ function getSoundTempo(entry) {
7575
+ return entry.sound?.tempo;
7576
+ }
7577
+ function getSoundDynamics(entry) {
7578
+ return entry.sound?.dynamics;
7579
+ }
7580
+ function getSoundDamperPedal(entry) {
7581
+ return entry.sound?.damperPedal;
7582
+ }
7583
+ function getSoundSoftPedal(entry) {
7584
+ return entry.sound?.softPedal;
7585
+ }
7586
+ function getSoundSostenutoPedal(entry) {
7587
+ return entry.sound?.sostenutoPedal;
7588
+ }
7589
+ function isRest(entry) {
7590
+ return entry.rest !== void 0 || !entry.pitch && !entry.unpitched;
7591
+ }
7592
+ function isPitchedNote(entry) {
7593
+ return entry.pitch !== void 0;
7594
+ }
7595
+ function isUnpitchedNote(entry) {
7596
+ return entry.unpitched !== void 0;
7597
+ }
7598
+ function isChordNote(entry) {
7599
+ return entry.chord === true;
7600
+ }
7601
+ function isGraceNote(entry) {
7602
+ return entry.grace !== void 0;
7603
+ }
7604
+ function hasTie(entry) {
7605
+ return entry.tie !== void 0 || entry.ties !== void 0 && entry.ties.length > 0;
7606
+ }
7607
+ function hasTieStart(entry) {
7608
+ if (entry.tie?.type === "start") return true;
7609
+ return entry.ties?.some((t) => t.type === "start") ?? false;
7610
+ }
7611
+ function hasTieStop(entry) {
7612
+ if (entry.tie?.type === "stop") return true;
7613
+ return entry.ties?.some((t) => t.type === "stop") ?? false;
7614
+ }
7615
+ function isCueNote(entry) {
7616
+ return entry.cue === true;
7617
+ }
7618
+ function hasBeam(entry) {
7619
+ return entry.beam !== void 0 && entry.beam.length > 0;
7620
+ }
7621
+ function hasLyrics(entry) {
7622
+ return entry.lyrics !== void 0 && entry.lyrics.length > 0;
7623
+ }
7624
+ function hasNotations(entry) {
7625
+ return entry.notations !== void 0 && entry.notations.length > 0;
7626
+ }
7627
+ function hasTuplet(entry) {
7628
+ return entry.timeModification !== void 0;
7629
+ }
7630
+ function isPartInfo(entry) {
7631
+ return entry.type === "score-part";
7632
+ }
7633
+ function getPartInfo(score, partId) {
7634
+ return score.partList.find((entry) => {
7635
+ return entry.type === "score-part" && entry.id === partId;
7636
+ });
7637
+ }
7638
+ function getPartName(score, partId) {
7639
+ return getPartInfo(score, partId)?.name;
7640
+ }
7641
+ function getPartAbbreviation(score, partId) {
7642
+ return getPartInfo(score, partId)?.abbreviation;
7643
+ }
7644
+ function getAllPartInfos(score) {
7645
+ return score.partList.filter(isPartInfo);
7646
+ }
7647
+ function getPartNameMap(score) {
7648
+ const map = {};
7649
+ for (const part of getAllPartInfos(score)) {
7650
+ map[part.id] = part.name;
7651
+ }
7652
+ return map;
7653
+ }
7565
7654
  export {
7566
7655
  STEPS,
7567
7656
  STEP_SEMITONES,
@@ -7588,14 +7677,17 @@ export {
7588
7677
  getAbsolutePosition,
7589
7678
  getAdjacentNotes,
7590
7679
  getAllNotes,
7680
+ getAllPartInfos,
7591
7681
  getAttributesAtMeasure,
7592
7682
  getBeamGroups,
7593
7683
  getChordProgression,
7594
7684
  getChords,
7595
7685
  getClefChanges,
7596
7686
  getClefForStaff,
7687
+ getDirectionOfKind,
7597
7688
  getDirections,
7598
7689
  getDirectionsAtPosition,
7690
+ getDirectionsOfKind,
7599
7691
  getDivisions,
7600
7692
  getDuration,
7601
7693
  getDynamics,
@@ -7622,15 +7714,24 @@ export {
7622
7714
  getNotesForVoice,
7623
7715
  getNotesInRange,
7624
7716
  getOctaveShifts,
7717
+ getPartAbbreviation,
7625
7718
  getPartById,
7626
7719
  getPartByIndex,
7627
7720
  getPartCount,
7628
7721
  getPartIds,
7629
7722
  getPartIndex,
7723
+ getPartInfo,
7724
+ getPartName,
7725
+ getPartNameMap,
7630
7726
  getPedalMarkings,
7631
7727
  getPrevNote,
7632
7728
  getRepeatStructure,
7633
7729
  getSlurSpans,
7730
+ getSoundDamperPedal,
7731
+ getSoundDynamics,
7732
+ getSoundSoftPedal,
7733
+ getSoundSostenutoPedal,
7734
+ getSoundTempo,
7634
7735
  getStaffRange,
7635
7736
  getStaveCount,
7636
7737
  getStaves,
@@ -7648,12 +7749,27 @@ export {
7648
7749
  getWedges,
7649
7750
  groupByStaff,
7650
7751
  groupByVoice,
7752
+ hasBeam,
7753
+ hasDirectionOfKind,
7754
+ hasLyrics,
7651
7755
  hasMultipleStaves,
7756
+ hasNotations,
7652
7757
  hasNotes,
7758
+ hasTie,
7759
+ hasTieStart,
7760
+ hasTieStop,
7761
+ hasTuplet,
7653
7762
  inferStaff,
7654
7763
  insertMeasure,
7764
+ isChordNote,
7655
7765
  isCompressed,
7766
+ isCueNote,
7767
+ isGraceNote,
7768
+ isPartInfo,
7769
+ isPitchedNote,
7770
+ isRest,
7656
7771
  isRestMeasure,
7772
+ isUnpitchedNote,
7657
7773
  isValid,
7658
7774
  iterateEntries,
7659
7775
  iterateNotes,
@@ -1,2 +1,2 @@
1
- import '../types-CSI8kV28.mjs';
2
- export { ag as AddArticulationOptions, aA as AddBeamOptions, bW as AddBowingOptions, ca as AddBreathMarkOptions, cf as AddCaesuraOptions, br as AddCodaOptions, ak as AddDynamicsOptions, bj as AddEndingOptions, a_ as AddFermataOptions, bR as AddFingeringOptions, by as AddGraceNoteOptions, bL as AddHarmonyOptions, bE as AddLyricOptions, bt as AddNavigationOptions, c3 as AddOctaveShiftOptions, b2 as AddOrnamentOptions, a2 as AddPartOptions, b6 as AddPedalOptions, bc as AddRehearsalMarkOptions, bf as AddRepeatBarlineOptions, bp as AddSegnoOptions, ac as AddSlurOptions, b_ as AddStringNumberOptions, aS as AddTempoOptions, ba as AddTextDirectionOptions, a8 as AddTieOptions, aW as AddWedgeOptions, aE as AutoBeamOptions, be as BarStyle, bV as BowingType, c9 as BreathMarkValue, ce as CaesuraValue, bn as ChangeBarlineOptions, bC as ConvertToGraceOptions, aN as CopyNotesMultiMeasureOptions, aH as CopyNotesOptions, aw as CreateTupletOptions, aL as CutNotesOptions, bK as HarmonyKind, ao as InsertClefChangeOptions, N as InsertNoteOptions, $ as LowerAccidentalOptions, aO as MultiMeasureSelection, aG as NoteSelection, c2 as OctaveShiftType, K as OperationErrorCode, O as OperationResult, aQ as PasteNotesMultiMeasureOptions, aJ as PasteNotesOptions, Z as RaiseAccidentalOptions, ai as RemoveArticulationOptions, aC as RemoveBeamOptions, bY as RemoveBowingOptions, cc as RemoveBreathMarkOptions, ch as RemoveCaesuraOptions, am as RemoveDynamicsOptions, bl as RemoveEndingOptions, b0 as RemoveFermataOptions, bT as RemoveFingeringOptions, bA as RemoveGraceNoteOptions, bN as RemoveHarmonyOptions, bG as RemoveLyricOptions, c7 as RemoveOctaveShiftOptions, b4 as RemoveOrnamentOptions, b8 as RemovePedalOptions, bh as RemoveRepeatBarlineOptions, ae as RemoveSlurOptions, c0 as RemoveStringNumberOptions, aU as RemoveTempoOptions, aa as RemoveTieOptions, ay as RemoveTupletOptions, aY as RemoveWedgeOptions, U as SetNotePitchBySemitoneOptions, X as ShiftNotePitchOptions, c5 as StopOctaveShiftOptions, bP as UpdateHarmonyOptions, bI as UpdateLyricOptions, G as ValidationError, ah as addArticulation, aB as addBeam, bX as addBowing, cb as addBreathMark, cg as addCaesura, R as addChord, g as addChordNote, as as addChordNoteChecked, bs as addCoda, bu as addDaCapo, bv as addDalSegno, al as addDynamics, bk as addEnding, a$ as addFermata, bw as addFine, bS as addFingering, bz as addGraceNote, bM as addHarmony, bF as addLyric, b as addNote, aq as addNoteChecked, c4 as addOctaveShift, b3 as addOrnament, a3 as addPart, b7 as addPedal, bd as addRehearsalMark, bg as addRepeatBarline, bq as addSegno, ad as addSlur, b$ as addStringNumber, aT as addTempo, bb as addTextDirection, a9 as addTie, bx as addToCoda, a1 as addVoice, aX as addWedge, aF as autoBeam, bo as changeBarline, c as changeKey, S as changeNoteDuration, e as changeTime, bD as convertToGrace, aI as copyNotes, aP as copyNotesMultiMeasure, ax as createTuplet, aM as cutNotes, f as deleteMeasure, d as deleteNote, ar as deleteNoteChecked, a5 as duplicatePart, ap as insertClefChange, i as insertMeasure, P as insertNote, a0 as lowerAccidental, h as modifyNoteDuration, au as modifyNoteDurationChecked, m as modifyNotePitch, at as modifyNotePitchChecked, a7 as moveNoteToStaff, aK as pasteNotes, aR as pasteNotesMultiMeasure, _ as raiseAccidental, aj as removeArticulation, aD as removeBeam, bZ as removeBowing, cd as removeBreathMark, ci as removeCaesura, an as removeDynamics, bm as removeEnding, b1 as removeFermata, bU as removeFingering, bB as removeGraceNote, bO as removeHarmony, bH as removeLyric, Q as removeNote, c8 as removeOctaveShift, b5 as removeOrnament, a4 as removePart, b9 as removePedal, bi as removeRepeatBarline, af as removeSlur, c1 as removeStringNumber, aV as removeTempo, ab as removeTie, az as removeTuplet, aZ as removeWedge, T as setNotePitch, W as setNotePitchBySemitone, a6 as setStaves, Y as shiftNotePitch, c6 as stopOctaveShift, t as transpose, av as transposeChecked, bQ as updateHarmony, bJ as updateLyric } from '../index-D4hW6ANJ.mjs';
1
+ import '../types-Bpq2o5JS.mjs';
2
+ export { ag as AddArticulationOptions, aA as AddBeamOptions, bW as AddBowingOptions, ca as AddBreathMarkOptions, cf as AddCaesuraOptions, br as AddCodaOptions, ak as AddDynamicsOptions, bj as AddEndingOptions, a_ as AddFermataOptions, bR as AddFingeringOptions, by as AddGraceNoteOptions, bL as AddHarmonyOptions, bE as AddLyricOptions, bt as AddNavigationOptions, c3 as AddOctaveShiftOptions, b2 as AddOrnamentOptions, a2 as AddPartOptions, b6 as AddPedalOptions, bc as AddRehearsalMarkOptions, bf as AddRepeatBarlineOptions, bp as AddSegnoOptions, ac as AddSlurOptions, b_ as AddStringNumberOptions, aS as AddTempoOptions, ba as AddTextDirectionOptions, a8 as AddTieOptions, aW as AddWedgeOptions, aE as AutoBeamOptions, be as BarStyle, bV as BowingType, c9 as BreathMarkValue, ce as CaesuraValue, bn as ChangeBarlineOptions, bC as ConvertToGraceOptions, aN as CopyNotesMultiMeasureOptions, aH as CopyNotesOptions, aw as CreateTupletOptions, aL as CutNotesOptions, bK as HarmonyKind, ao as InsertClefChangeOptions, N as InsertNoteOptions, $ as LowerAccidentalOptions, aO as MultiMeasureSelection, aG as NoteSelection, c2 as OctaveShiftType, K as OperationErrorCode, O as OperationResult, aQ as PasteNotesMultiMeasureOptions, aJ as PasteNotesOptions, Z as RaiseAccidentalOptions, ai as RemoveArticulationOptions, aC as RemoveBeamOptions, bY as RemoveBowingOptions, cc as RemoveBreathMarkOptions, ch as RemoveCaesuraOptions, am as RemoveDynamicsOptions, bl as RemoveEndingOptions, b0 as RemoveFermataOptions, bT as RemoveFingeringOptions, bA as RemoveGraceNoteOptions, bN as RemoveHarmonyOptions, bG as RemoveLyricOptions, c7 as RemoveOctaveShiftOptions, b4 as RemoveOrnamentOptions, b8 as RemovePedalOptions, bh as RemoveRepeatBarlineOptions, ae as RemoveSlurOptions, c0 as RemoveStringNumberOptions, aU as RemoveTempoOptions, aa as RemoveTieOptions, ay as RemoveTupletOptions, aY as RemoveWedgeOptions, U as SetNotePitchBySemitoneOptions, X as ShiftNotePitchOptions, c5 as StopOctaveShiftOptions, bP as UpdateHarmonyOptions, bI as UpdateLyricOptions, G as ValidationError, ah as addArticulation, aB as addBeam, bX as addBowing, cb as addBreathMark, cg as addCaesura, R as addChord, g as addChordNote, as as addChordNoteChecked, bs as addCoda, bu as addDaCapo, bv as addDalSegno, al as addDynamics, bk as addEnding, a$ as addFermata, bw as addFine, bS as addFingering, bz as addGraceNote, bM as addHarmony, bF as addLyric, b as addNote, aq as addNoteChecked, c4 as addOctaveShift, b3 as addOrnament, a3 as addPart, b7 as addPedal, bd as addRehearsalMark, bg as addRepeatBarline, bq as addSegno, ad as addSlur, b$ as addStringNumber, aT as addTempo, bb as addTextDirection, a9 as addTie, bx as addToCoda, a1 as addVoice, aX as addWedge, aF as autoBeam, bo as changeBarline, c as changeKey, S as changeNoteDuration, e as changeTime, bD as convertToGrace, aI as copyNotes, aP as copyNotesMultiMeasure, ax as createTuplet, aM as cutNotes, f as deleteMeasure, d as deleteNote, ar as deleteNoteChecked, a5 as duplicatePart, ap as insertClefChange, i as insertMeasure, P as insertNote, a0 as lowerAccidental, h as modifyNoteDuration, au as modifyNoteDurationChecked, m as modifyNotePitch, at as modifyNotePitchChecked, a7 as moveNoteToStaff, aK as pasteNotes, aR as pasteNotesMultiMeasure, _ as raiseAccidental, aj as removeArticulation, aD as removeBeam, bZ as removeBowing, cd as removeBreathMark, ci as removeCaesura, an as removeDynamics, bm as removeEnding, b1 as removeFermata, bU as removeFingering, bB as removeGraceNote, bO as removeHarmony, bH as removeLyric, Q as removeNote, c8 as removeOctaveShift, b5 as removeOrnament, a4 as removePart, b9 as removePedal, bi as removeRepeatBarline, af as removeSlur, c1 as removeStringNumber, aV as removeTempo, ab as removeTie, az as removeTuplet, aZ as removeWedge, T as setNotePitch, W as setNotePitchBySemitone, a6 as setStaves, Y as shiftNotePitch, c6 as stopOctaveShift, t as transpose, av as transposeChecked, bQ as updateHarmony, bJ as updateLyric } from '../index-BvwdY5YQ.mjs';
@@ -1,2 +1,2 @@
1
- import '../types-CSI8kV28.js';
2
- export { ag as AddArticulationOptions, aA as AddBeamOptions, bW as AddBowingOptions, ca as AddBreathMarkOptions, cf as AddCaesuraOptions, br as AddCodaOptions, ak as AddDynamicsOptions, bj as AddEndingOptions, a_ as AddFermataOptions, bR as AddFingeringOptions, by as AddGraceNoteOptions, bL as AddHarmonyOptions, bE as AddLyricOptions, bt as AddNavigationOptions, c3 as AddOctaveShiftOptions, b2 as AddOrnamentOptions, a2 as AddPartOptions, b6 as AddPedalOptions, bc as AddRehearsalMarkOptions, bf as AddRepeatBarlineOptions, bp as AddSegnoOptions, ac as AddSlurOptions, b_ as AddStringNumberOptions, aS as AddTempoOptions, ba as AddTextDirectionOptions, a8 as AddTieOptions, aW as AddWedgeOptions, aE as AutoBeamOptions, be as BarStyle, bV as BowingType, c9 as BreathMarkValue, ce as CaesuraValue, bn as ChangeBarlineOptions, bC as ConvertToGraceOptions, aN as CopyNotesMultiMeasureOptions, aH as CopyNotesOptions, aw as CreateTupletOptions, aL as CutNotesOptions, bK as HarmonyKind, ao as InsertClefChangeOptions, N as InsertNoteOptions, $ as LowerAccidentalOptions, aO as MultiMeasureSelection, aG as NoteSelection, c2 as OctaveShiftType, K as OperationErrorCode, O as OperationResult, aQ as PasteNotesMultiMeasureOptions, aJ as PasteNotesOptions, Z as RaiseAccidentalOptions, ai as RemoveArticulationOptions, aC as RemoveBeamOptions, bY as RemoveBowingOptions, cc as RemoveBreathMarkOptions, ch as RemoveCaesuraOptions, am as RemoveDynamicsOptions, bl as RemoveEndingOptions, b0 as RemoveFermataOptions, bT as RemoveFingeringOptions, bA as RemoveGraceNoteOptions, bN as RemoveHarmonyOptions, bG as RemoveLyricOptions, c7 as RemoveOctaveShiftOptions, b4 as RemoveOrnamentOptions, b8 as RemovePedalOptions, bh as RemoveRepeatBarlineOptions, ae as RemoveSlurOptions, c0 as RemoveStringNumberOptions, aU as RemoveTempoOptions, aa as RemoveTieOptions, ay as RemoveTupletOptions, aY as RemoveWedgeOptions, U as SetNotePitchBySemitoneOptions, X as ShiftNotePitchOptions, c5 as StopOctaveShiftOptions, bP as UpdateHarmonyOptions, bI as UpdateLyricOptions, G as ValidationError, ah as addArticulation, aB as addBeam, bX as addBowing, cb as addBreathMark, cg as addCaesura, R as addChord, g as addChordNote, as as addChordNoteChecked, bs as addCoda, bu as addDaCapo, bv as addDalSegno, al as addDynamics, bk as addEnding, a$ as addFermata, bw as addFine, bS as addFingering, bz as addGraceNote, bM as addHarmony, bF as addLyric, b as addNote, aq as addNoteChecked, c4 as addOctaveShift, b3 as addOrnament, a3 as addPart, b7 as addPedal, bd as addRehearsalMark, bg as addRepeatBarline, bq as addSegno, ad as addSlur, b$ as addStringNumber, aT as addTempo, bb as addTextDirection, a9 as addTie, bx as addToCoda, a1 as addVoice, aX as addWedge, aF as autoBeam, bo as changeBarline, c as changeKey, S as changeNoteDuration, e as changeTime, bD as convertToGrace, aI as copyNotes, aP as copyNotesMultiMeasure, ax as createTuplet, aM as cutNotes, f as deleteMeasure, d as deleteNote, ar as deleteNoteChecked, a5 as duplicatePart, ap as insertClefChange, i as insertMeasure, P as insertNote, a0 as lowerAccidental, h as modifyNoteDuration, au as modifyNoteDurationChecked, m as modifyNotePitch, at as modifyNotePitchChecked, a7 as moveNoteToStaff, aK as pasteNotes, aR as pasteNotesMultiMeasure, _ as raiseAccidental, aj as removeArticulation, aD as removeBeam, bZ as removeBowing, cd as removeBreathMark, ci as removeCaesura, an as removeDynamics, bm as removeEnding, b1 as removeFermata, bU as removeFingering, bB as removeGraceNote, bO as removeHarmony, bH as removeLyric, Q as removeNote, c8 as removeOctaveShift, b5 as removeOrnament, a4 as removePart, b9 as removePedal, bi as removeRepeatBarline, af as removeSlur, c1 as removeStringNumber, aV as removeTempo, ab as removeTie, az as removeTuplet, aZ as removeWedge, T as setNotePitch, W as setNotePitchBySemitone, a6 as setStaves, Y as shiftNotePitch, c6 as stopOctaveShift, t as transpose, av as transposeChecked, bQ as updateHarmony, bJ as updateLyric } from '../index-CVGy8DJi.js';
1
+ import '../types-Bpq2o5JS.js';
2
+ export { ag as AddArticulationOptions, aA as AddBeamOptions, bW as AddBowingOptions, ca as AddBreathMarkOptions, cf as AddCaesuraOptions, br as AddCodaOptions, ak as AddDynamicsOptions, bj as AddEndingOptions, a_ as AddFermataOptions, bR as AddFingeringOptions, by as AddGraceNoteOptions, bL as AddHarmonyOptions, bE as AddLyricOptions, bt as AddNavigationOptions, c3 as AddOctaveShiftOptions, b2 as AddOrnamentOptions, a2 as AddPartOptions, b6 as AddPedalOptions, bc as AddRehearsalMarkOptions, bf as AddRepeatBarlineOptions, bp as AddSegnoOptions, ac as AddSlurOptions, b_ as AddStringNumberOptions, aS as AddTempoOptions, ba as AddTextDirectionOptions, a8 as AddTieOptions, aW as AddWedgeOptions, aE as AutoBeamOptions, be as BarStyle, bV as BowingType, c9 as BreathMarkValue, ce as CaesuraValue, bn as ChangeBarlineOptions, bC as ConvertToGraceOptions, aN as CopyNotesMultiMeasureOptions, aH as CopyNotesOptions, aw as CreateTupletOptions, aL as CutNotesOptions, bK as HarmonyKind, ao as InsertClefChangeOptions, N as InsertNoteOptions, $ as LowerAccidentalOptions, aO as MultiMeasureSelection, aG as NoteSelection, c2 as OctaveShiftType, K as OperationErrorCode, O as OperationResult, aQ as PasteNotesMultiMeasureOptions, aJ as PasteNotesOptions, Z as RaiseAccidentalOptions, ai as RemoveArticulationOptions, aC as RemoveBeamOptions, bY as RemoveBowingOptions, cc as RemoveBreathMarkOptions, ch as RemoveCaesuraOptions, am as RemoveDynamicsOptions, bl as RemoveEndingOptions, b0 as RemoveFermataOptions, bT as RemoveFingeringOptions, bA as RemoveGraceNoteOptions, bN as RemoveHarmonyOptions, bG as RemoveLyricOptions, c7 as RemoveOctaveShiftOptions, b4 as RemoveOrnamentOptions, b8 as RemovePedalOptions, bh as RemoveRepeatBarlineOptions, ae as RemoveSlurOptions, c0 as RemoveStringNumberOptions, aU as RemoveTempoOptions, aa as RemoveTieOptions, ay as RemoveTupletOptions, aY as RemoveWedgeOptions, U as SetNotePitchBySemitoneOptions, X as ShiftNotePitchOptions, c5 as StopOctaveShiftOptions, bP as UpdateHarmonyOptions, bI as UpdateLyricOptions, G as ValidationError, ah as addArticulation, aB as addBeam, bX as addBowing, cb as addBreathMark, cg as addCaesura, R as addChord, g as addChordNote, as as addChordNoteChecked, bs as addCoda, bu as addDaCapo, bv as addDalSegno, al as addDynamics, bk as addEnding, a$ as addFermata, bw as addFine, bS as addFingering, bz as addGraceNote, bM as addHarmony, bF as addLyric, b as addNote, aq as addNoteChecked, c4 as addOctaveShift, b3 as addOrnament, a3 as addPart, b7 as addPedal, bd as addRehearsalMark, bg as addRepeatBarline, bq as addSegno, ad as addSlur, b$ as addStringNumber, aT as addTempo, bb as addTextDirection, a9 as addTie, bx as addToCoda, a1 as addVoice, aX as addWedge, aF as autoBeam, bo as changeBarline, c as changeKey, S as changeNoteDuration, e as changeTime, bD as convertToGrace, aI as copyNotes, aP as copyNotesMultiMeasure, ax as createTuplet, aM as cutNotes, f as deleteMeasure, d as deleteNote, ar as deleteNoteChecked, a5 as duplicatePart, ap as insertClefChange, i as insertMeasure, P as insertNote, a0 as lowerAccidental, h as modifyNoteDuration, au as modifyNoteDurationChecked, m as modifyNotePitch, at as modifyNotePitchChecked, a7 as moveNoteToStaff, aK as pasteNotes, aR as pasteNotesMultiMeasure, _ as raiseAccidental, aj as removeArticulation, aD as removeBeam, bZ as removeBowing, cd as removeBreathMark, ci as removeCaesura, an as removeDynamics, bm as removeEnding, b1 as removeFermata, bU as removeFingering, bB as removeGraceNote, bO as removeHarmony, bH as removeLyric, Q as removeNote, c8 as removeOctaveShift, b5 as removeOrnament, a4 as removePart, b9 as removePedal, bi as removeRepeatBarline, af as removeSlur, c1 as removeStringNumber, aV as removeTempo, ab as removeTie, az as removeTuplet, aZ as removeWedge, T as setNotePitch, W as setNotePitchBySemitone, a6 as setStaves, Y as shiftNotePitch, c6 as stopOctaveShift, t as transpose, av as transposeChecked, bQ as updateHarmony, bJ as updateLyric } from '../index-B-GcfEfL.js';