musicxml-io 0.2.7 → 0.2.9

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.mjs CHANGED
@@ -3552,8 +3552,10 @@ function serializeSystemLayout(layout, indent) {
3552
3552
  }
3553
3553
  function serializeCredit(credit, indent) {
3554
3554
  const lines = [];
3555
- const pageAttr = credit.page !== void 0 ? ` page="${credit.page}"` : "";
3556
- lines.push(`${indent}<credit${pageAttr}>`);
3555
+ let attrs = "";
3556
+ if (credit._id) attrs += ` id="${escapeXml(credit._id)}"`;
3557
+ if (credit.page !== void 0) attrs += ` page="${credit.page}"`;
3558
+ lines.push(`${indent}<credit${attrs}>`);
3557
3559
  if (credit.creditType) {
3558
3560
  for (const ct of credit.creditType) {
3559
3561
  lines.push(`${indent}${indent}<credit-type>${escapeXml(ct)}</credit-type>`);
@@ -3561,19 +3563,19 @@ function serializeCredit(credit, indent) {
3561
3563
  }
3562
3564
  if (credit.creditWords) {
3563
3565
  for (const cw of credit.creditWords) {
3564
- let attrs = "";
3565
- if (cw.defaultX !== void 0) attrs += ` default-x="${cw.defaultX}"`;
3566
- if (cw.defaultY !== void 0) attrs += ` default-y="${cw.defaultY}"`;
3567
- if (cw.fontSize) attrs += ` font-size="${escapeXml(cw.fontSize)}"`;
3568
- if (cw.fontWeight) attrs += ` font-weight="${escapeXml(cw.fontWeight)}"`;
3569
- if (cw.fontStyle) attrs += ` font-style="${escapeXml(cw.fontStyle)}"`;
3570
- if (cw.justify) attrs += ` justify="${escapeXml(cw.justify)}"`;
3571
- if (cw.halign) attrs += ` halign="${escapeXml(cw.halign)}"`;
3572
- if (cw.valign) attrs += ` valign="${escapeXml(cw.valign)}"`;
3573
- if (cw.letterSpacing) attrs += ` letter-spacing="${escapeXml(cw.letterSpacing)}"`;
3574
- if (cw.xmlLang) attrs += ` xml:lang="${escapeXml(cw.xmlLang)}"`;
3575
- if (cw.xmlSpace) attrs += ` xml:space="${escapeXml(cw.xmlSpace)}"`;
3576
- lines.push(`${indent}${indent}<credit-words${attrs}>${escapeXml(cw.text)}</credit-words>`);
3566
+ let attrs2 = "";
3567
+ if (cw.defaultX !== void 0) attrs2 += ` default-x="${cw.defaultX}"`;
3568
+ if (cw.defaultY !== void 0) attrs2 += ` default-y="${cw.defaultY}"`;
3569
+ if (cw.fontSize) attrs2 += ` font-size="${escapeXml(cw.fontSize)}"`;
3570
+ if (cw.fontWeight) attrs2 += ` font-weight="${escapeXml(cw.fontWeight)}"`;
3571
+ if (cw.fontStyle) attrs2 += ` font-style="${escapeXml(cw.fontStyle)}"`;
3572
+ if (cw.justify) attrs2 += ` justify="${escapeXml(cw.justify)}"`;
3573
+ if (cw.halign) attrs2 += ` halign="${escapeXml(cw.halign)}"`;
3574
+ if (cw.valign) attrs2 += ` valign="${escapeXml(cw.valign)}"`;
3575
+ if (cw.letterSpacing) attrs2 += ` letter-spacing="${escapeXml(cw.letterSpacing)}"`;
3576
+ if (cw.xmlLang) attrs2 += ` xml:lang="${escapeXml(cw.xmlLang)}"`;
3577
+ if (cw.xmlSpace) attrs2 += ` xml:space="${escapeXml(cw.xmlSpace)}"`;
3578
+ lines.push(`${indent}${indent}<credit-words${attrs2}>${escapeXml(cw.text)}</credit-words>`);
3577
3579
  }
3578
3580
  }
3579
3581
  lines.push(`${indent}</credit>`);
@@ -3693,6 +3695,7 @@ function serializePartGroup(group, indent) {
3693
3695
  const lines = [];
3694
3696
  let attrs = ` type="${group.groupType}"`;
3695
3697
  if (group.number !== void 0) attrs += ` number="${group.number}"`;
3698
+ if (group._id) attrs += ` id="${escapeXml(group._id)}"`;
3696
3699
  lines.push(`${indent}<part-group${attrs}>`);
3697
3700
  if (group.groupName) {
3698
3701
  lines.push(`${indent} <group-name>${escapeXml(group.groupName)}</group-name>`);
@@ -3733,6 +3736,7 @@ function serializePart(part, indent) {
3733
3736
  function serializeMeasure(measure, indent) {
3734
3737
  const lines = [];
3735
3738
  let attrs = ` number="${measure.number}"`;
3739
+ if (measure._id) attrs += ` id="${escapeXml(measure._id)}"`;
3736
3740
  if (measure.width !== void 0) attrs += ` width="${measure.width}"`;
3737
3741
  if (measure.implicit) attrs += ` implicit="yes"`;
3738
3742
  lines.push(`${indent}<measure${attrs}>`);
@@ -3807,9 +3811,10 @@ function serializePrint(print, indent) {
3807
3811
  lines.push(`${indent}</print>`);
3808
3812
  return lines;
3809
3813
  }
3810
- function serializeAttributes(attrs, indent) {
3814
+ function serializeAttributes(attrs, indent, id) {
3811
3815
  const lines = [];
3812
- lines.push(`${indent}<attributes>`);
3816
+ const idAttr = id ? ` id="${escapeXml(id)}"` : "";
3817
+ lines.push(`${indent}<attributes${idAttr}>`);
3813
3818
  if (attrs.divisions !== void 0) {
3814
3819
  lines.push(`${indent} <divisions>${attrs.divisions}</divisions>`);
3815
3820
  }
@@ -3957,7 +3962,7 @@ function serializeEntry(entry, indent) {
3957
3962
  case "sound":
3958
3963
  return serializeSound(entry, indent);
3959
3964
  case "attributes":
3960
- return serializeAttributes(entry.attributes, indent);
3965
+ return serializeAttributes(entry.attributes, indent, entry._id);
3961
3966
  default:
3962
3967
  return [];
3963
3968
  }
@@ -3965,6 +3970,7 @@ function serializeEntry(entry, indent) {
3965
3970
  function serializeNote(note, indent) {
3966
3971
  const lines = [];
3967
3972
  const noteAttrs = buildAttrs({
3973
+ "id": note._id,
3968
3974
  "default-x": note.defaultX,
3969
3975
  "default-y": note.defaultY,
3970
3976
  "relative-x": note.relativeX,
@@ -4447,7 +4453,8 @@ function serializeBackup(backup, indent) {
4447
4453
  }
4448
4454
  function serializeForward(forward, indent) {
4449
4455
  const lines = [];
4450
- lines.push(`${indent}<forward>`);
4456
+ const idAttr = forward._id ? ` id="${escapeXml(forward._id)}"` : "";
4457
+ lines.push(`${indent}<forward${idAttr}>`);
4451
4458
  lines.push(`${indent} <duration>${forward.duration}</duration>`);
4452
4459
  if (forward.voice !== void 0) {
4453
4460
  lines.push(`${indent} <voice>${forward.voice}</voice>`);
@@ -4461,6 +4468,7 @@ function serializeForward(forward, indent) {
4461
4468
  function serializeDirection(direction, indent) {
4462
4469
  const lines = [];
4463
4470
  let attrs = "";
4471
+ if (direction._id) attrs += ` id="${escapeXml(direction._id)}"`;
4464
4472
  if (direction.placement) attrs += ` placement="${direction.placement}"`;
4465
4473
  if (direction.directive) attrs += ' directive="yes"';
4466
4474
  if (direction.system) attrs += ` system="${direction.system}"`;
@@ -4722,7 +4730,9 @@ function serializeDirectionType(dirType, indent) {
4722
4730
  }
4723
4731
  function serializeBarline(barline, indent) {
4724
4732
  const lines = [];
4725
- lines.push(`${indent}<barline location="${barline.location}">`);
4733
+ let attrs = ` location="${barline.location}"`;
4734
+ if (barline._id) attrs += ` id="${escapeXml(barline._id)}"`;
4735
+ lines.push(`${indent}<barline${attrs}>`);
4726
4736
  if (barline.barStyle) {
4727
4737
  lines.push(`${indent} <bar-style>${barline.barStyle}</bar-style>`);
4728
4738
  }
@@ -4815,6 +4825,7 @@ function serializeMeasureStyle(ms, indent) {
4815
4825
  function serializeHarmony(harmony, indent) {
4816
4826
  const lines = [];
4817
4827
  const attrs = buildAttrs({
4828
+ id: harmony._id,
4818
4829
  placement: harmony.placement,
4819
4830
  "print-frame": harmony.printFrame,
4820
4831
  "default-y": harmony.defaultY,
@@ -4892,6 +4903,7 @@ function serializeHarmony(harmony, indent) {
4892
4903
  function serializeFiguredBass(fb, indent) {
4893
4904
  const lines = [];
4894
4905
  let attrs = "";
4906
+ if (fb._id) attrs += ` id="${escapeXml(fb._id)}"`;
4895
4907
  if (fb.parentheses) attrs += ' parentheses="yes"';
4896
4908
  lines.push(`${indent}<figured-bass${attrs}>`);
4897
4909
  for (const fig of fb.figures) {
@@ -4923,6 +4935,7 @@ function serializeFiguredBass(fb, indent) {
4923
4935
  function serializeSound(sound, indent) {
4924
4936
  const lines = [];
4925
4937
  const attrs = [];
4938
+ if (sound._id) attrs.push(`id="${escapeXml(sound._id)}"`);
4926
4939
  if (sound.tempo !== void 0) attrs.push(`tempo="${sound.tempo}"`);
4927
4940
  if (sound.dynamics !== void 0) attrs.push(`dynamics="${sound.dynamics}"`);
4928
4941
  if (sound.dacapo) attrs.push('dacapo="yes"');
@@ -4954,7 +4967,7 @@ function serializeSound(sound, indent) {
4954
4967
  }
4955
4968
  lines.push(`${indent} </swing>`);
4956
4969
  lines.push(`${indent}</sound>`);
4957
- } else if (attrs.length === 0) {
4970
+ } else if (attrs.length === 0 && !sound._id) {
4958
4971
  lines.push(`${indent}<sound/>`);
4959
4972
  } else {
4960
4973
  lines.push(`${indent}<sound${attrStr}/>`);
@@ -5383,7 +5396,7 @@ function getMeasureEndPosition(measure) {
5383
5396
  return state.position;
5384
5397
  }
5385
5398
 
5386
- // src/accessors/index.ts
5399
+ // src/query/index.ts
5387
5400
  function getNotesForVoice(measure, filter) {
5388
5401
  return measure.entries.filter((entry) => {
5389
5402
  if (entry.type !== "note") return false;
@@ -6124,17 +6137,17 @@ function getTiedNoteGroups(score, options) {
6124
6137
  measureIndex,
6125
6138
  position
6126
6139
  };
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)) {
6140
+ const hasTieStart2 = entry.tie?.type === "start" || entry.ties?.some((t) => t.type === "start") || entry.notations?.some((n) => n.type === "tied" && n.tiedType === "start");
6141
+ const hasTieStop2 = entry.tie?.type === "stop" || entry.ties?.some((t) => t.type === "stop") || entry.notations?.some((n) => n.type === "tied" && n.tiedType === "stop");
6142
+ if (hasTieStop2 && pendingTies.has(pitchKey)) {
6130
6143
  const group = pendingTies.get(pitchKey);
6131
6144
  group.push(context);
6132
- if (!hasTieStart) {
6145
+ if (!hasTieStart2) {
6133
6146
  const totalDuration = group.reduce((sum, nc) => sum + nc.note.duration, 0);
6134
6147
  results.push({ notes: group, totalDuration });
6135
6148
  pendingTies.delete(pitchKey);
6136
6149
  }
6137
- } else if (hasTieStart) {
6150
+ } else if (hasTieStart2) {
6138
6151
  pendingTies.set(pitchKey, [context]);
6139
6152
  }
6140
6153
  }
@@ -6730,8 +6743,6 @@ function getPartCount(score) {
6730
6743
  function getPartIds(score) {
6731
6744
  return score.parts.map((part) => part.id);
6732
6745
  }
6733
-
6734
- // src/query/index.ts
6735
6746
  function getMeasure(score, options) {
6736
6747
  const part = score.parts[options.part];
6737
6748
  if (!part) return void 0;
@@ -6809,8 +6820,8 @@ function findNotes(score, filter) {
6809
6820
  if (filter.staff !== void 0 && (entry.staff ?? 1) !== filter.staff) continue;
6810
6821
  if (filter.noteType !== void 0 && entry.noteType !== filter.noteType) continue;
6811
6822
  if (filter.hasTie !== void 0) {
6812
- const hasTie = entry.tie !== void 0;
6813
- if (filter.hasTie !== hasTie) continue;
6823
+ const hasTie2 = entry.tie !== void 0;
6824
+ if (filter.hasTie !== hasTie2) continue;
6814
6825
  }
6815
6826
  results.push(entry);
6816
6827
  }
@@ -7562,6 +7573,97 @@ async function serializeToFile(score, filePath, options = {}) {
7562
7573
  await writeFile(filePath, xmlString, "utf-8");
7563
7574
  }
7564
7575
  }
7576
+
7577
+ // src/entry-accessors.ts
7578
+ function getDirectionOfKind(entry, kind) {
7579
+ return entry.directionTypes.find((d) => d.kind === kind);
7580
+ }
7581
+ function getDirectionsOfKind(entry, kind) {
7582
+ return entry.directionTypes.filter((d) => d.kind === kind);
7583
+ }
7584
+ function hasDirectionOfKind(entry, kind) {
7585
+ return entry.directionTypes.some((d) => d.kind === kind);
7586
+ }
7587
+ function getSoundTempo(entry) {
7588
+ return entry.sound?.tempo;
7589
+ }
7590
+ function getSoundDynamics(entry) {
7591
+ return entry.sound?.dynamics;
7592
+ }
7593
+ function getSoundDamperPedal(entry) {
7594
+ return entry.sound?.damperPedal;
7595
+ }
7596
+ function getSoundSoftPedal(entry) {
7597
+ return entry.sound?.softPedal;
7598
+ }
7599
+ function getSoundSostenutoPedal(entry) {
7600
+ return entry.sound?.sostenutoPedal;
7601
+ }
7602
+ function isRest(entry) {
7603
+ return entry.rest !== void 0 || !entry.pitch && !entry.unpitched;
7604
+ }
7605
+ function isPitchedNote(entry) {
7606
+ return entry.pitch !== void 0;
7607
+ }
7608
+ function isUnpitchedNote(entry) {
7609
+ return entry.unpitched !== void 0;
7610
+ }
7611
+ function isChordNote(entry) {
7612
+ return entry.chord === true;
7613
+ }
7614
+ function isGraceNote(entry) {
7615
+ return entry.grace !== void 0;
7616
+ }
7617
+ function hasTie(entry) {
7618
+ return entry.tie !== void 0 || entry.ties !== void 0 && entry.ties.length > 0;
7619
+ }
7620
+ function hasTieStart(entry) {
7621
+ if (entry.tie?.type === "start") return true;
7622
+ return entry.ties?.some((t) => t.type === "start") ?? false;
7623
+ }
7624
+ function hasTieStop(entry) {
7625
+ if (entry.tie?.type === "stop") return true;
7626
+ return entry.ties?.some((t) => t.type === "stop") ?? false;
7627
+ }
7628
+ function isCueNote(entry) {
7629
+ return entry.cue === true;
7630
+ }
7631
+ function hasBeam(entry) {
7632
+ return entry.beam !== void 0 && entry.beam.length > 0;
7633
+ }
7634
+ function hasLyrics(entry) {
7635
+ return entry.lyrics !== void 0 && entry.lyrics.length > 0;
7636
+ }
7637
+ function hasNotations(entry) {
7638
+ return entry.notations !== void 0 && entry.notations.length > 0;
7639
+ }
7640
+ function hasTuplet(entry) {
7641
+ return entry.timeModification !== void 0;
7642
+ }
7643
+ function isPartInfo(entry) {
7644
+ return entry.type === "score-part";
7645
+ }
7646
+ function getPartInfo(score, partId) {
7647
+ return score.partList.find((entry) => {
7648
+ return entry.type === "score-part" && entry.id === partId;
7649
+ });
7650
+ }
7651
+ function getPartName(score, partId) {
7652
+ return getPartInfo(score, partId)?.name;
7653
+ }
7654
+ function getPartAbbreviation(score, partId) {
7655
+ return getPartInfo(score, partId)?.abbreviation;
7656
+ }
7657
+ function getAllPartInfos(score) {
7658
+ return score.partList.filter(isPartInfo);
7659
+ }
7660
+ function getPartNameMap(score) {
7661
+ const map = {};
7662
+ for (const part of getAllPartInfos(score)) {
7663
+ map[part.id] = part.name;
7664
+ }
7665
+ return map;
7666
+ }
7565
7667
  export {
7566
7668
  STEPS,
7567
7669
  STEP_SEMITONES,
@@ -7588,14 +7690,17 @@ export {
7588
7690
  getAbsolutePosition,
7589
7691
  getAdjacentNotes,
7590
7692
  getAllNotes,
7693
+ getAllPartInfos,
7591
7694
  getAttributesAtMeasure,
7592
7695
  getBeamGroups,
7593
7696
  getChordProgression,
7594
7697
  getChords,
7595
7698
  getClefChanges,
7596
7699
  getClefForStaff,
7700
+ getDirectionOfKind,
7597
7701
  getDirections,
7598
7702
  getDirectionsAtPosition,
7703
+ getDirectionsOfKind,
7599
7704
  getDivisions,
7600
7705
  getDuration,
7601
7706
  getDynamics,
@@ -7622,15 +7727,24 @@ export {
7622
7727
  getNotesForVoice,
7623
7728
  getNotesInRange,
7624
7729
  getOctaveShifts,
7730
+ getPartAbbreviation,
7625
7731
  getPartById,
7626
7732
  getPartByIndex,
7627
7733
  getPartCount,
7628
7734
  getPartIds,
7629
7735
  getPartIndex,
7736
+ getPartInfo,
7737
+ getPartName,
7738
+ getPartNameMap,
7630
7739
  getPedalMarkings,
7631
7740
  getPrevNote,
7632
7741
  getRepeatStructure,
7633
7742
  getSlurSpans,
7743
+ getSoundDamperPedal,
7744
+ getSoundDynamics,
7745
+ getSoundSoftPedal,
7746
+ getSoundSostenutoPedal,
7747
+ getSoundTempo,
7634
7748
  getStaffRange,
7635
7749
  getStaveCount,
7636
7750
  getStaves,
@@ -7648,12 +7762,27 @@ export {
7648
7762
  getWedges,
7649
7763
  groupByStaff,
7650
7764
  groupByVoice,
7765
+ hasBeam,
7766
+ hasDirectionOfKind,
7767
+ hasLyrics,
7651
7768
  hasMultipleStaves,
7769
+ hasNotations,
7652
7770
  hasNotes,
7771
+ hasTie,
7772
+ hasTieStart,
7773
+ hasTieStop,
7774
+ hasTuplet,
7653
7775
  inferStaff,
7654
7776
  insertMeasure,
7777
+ isChordNote,
7655
7778
  isCompressed,
7779
+ isCueNote,
7780
+ isGraceNote,
7781
+ isPartInfo,
7782
+ isPitchedNote,
7783
+ isRest,
7656
7784
  isRestMeasure,
7785
+ isUnpitchedNote,
7657
7786
  isValid,
7658
7787
  iterateEntries,
7659
7788
  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';