musicxml-io 0.12.0 → 0.12.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/README.md +96 -8
- package/dist/abc-HXITSXCS.js +9 -0
- package/dist/abc-IAD53SFI.mjs +11 -0
- package/dist/abc-MTGVOYKS.js +11 -0
- package/dist/abc-R7DIJSHG.mjs +9 -0
- package/dist/abc.d.mts +67 -0
- package/dist/abc.d.ts +67 -0
- package/dist/abc.js +17 -0
- package/dist/abc.mjs +17 -0
- package/dist/accessors/index.d.mts +1 -1
- package/dist/accessors/index.d.ts +1 -1
- package/dist/browser.d.mts +11 -187
- package/dist/browser.d.ts +11 -187
- package/dist/browser.js +30 -6
- package/dist/browser.mjs +96 -72
- package/dist/chunk-2EH2MGBY.js +1799 -0
- package/dist/chunk-33IQXDOH.js +1 -0
- package/dist/chunk-5EK7K5X3.js +29 -0
- package/dist/chunk-5VF442RA.mjs +29 -0
- package/dist/chunk-626TXMVP.js +706 -0
- package/dist/chunk-63UT3IEY.mjs +2788 -0
- package/dist/chunk-6EKVRPFF.js +407 -0
- package/dist/chunk-776XPK66.js +45 -0
- package/dist/chunk-7D4MLQKO.js +69 -0
- package/dist/chunk-A2CGW2UF.js +25 -0
- package/dist/chunk-AOSK4RGV.mjs +45 -0
- package/dist/{chunk-FQ3NEYIV.js → chunk-ASPCIBWD.js} +127 -1249
- package/dist/chunk-BDHPMB7Q.mjs +61 -0
- package/dist/chunk-BHHOS2E6.mjs +407 -0
- package/dist/chunk-F2UCOAO6.mjs +155 -0
- package/dist/chunk-HP4DAUGT.js +2788 -0
- package/dist/chunk-JF5TM534.js +1065 -0
- package/dist/chunk-K6DSQPVF.mjs +706 -0
- package/dist/chunk-KJK2IGNN.mjs +0 -0
- package/dist/chunk-KYGLANYG.mjs +2354 -0
- package/dist/chunk-LFQXT7PV.mjs +69 -0
- package/dist/chunk-LS5SHP75.js +155 -0
- package/dist/chunk-MMIZQMIO.mjs +25 -0
- package/dist/chunk-NIUEAHPN.js +2354 -0
- package/dist/{chunk-EWLB5X64.js → chunk-PMPROVJW.js} +66 -770
- package/dist/chunk-QFYOH4DY.mjs +0 -0
- package/dist/chunk-QKUNJEVW.mjs +1401 -0
- package/dist/chunk-SBT2RMUW.mjs +1065 -0
- package/dist/chunk-TCXDBRRT.mjs +1799 -0
- package/dist/chunk-WNQIUYWY.js +61 -0
- package/dist/{chunk-I4X4GRMP.mjs → chunk-WS5LSW3S.mjs} +13 -1135
- package/dist/chunk-YKMNCYOD.js +1 -0
- package/dist/{chunk-UMEH3ENQ.mjs → chunk-ZRKJKEP7.mjs} +0 -704
- package/dist/chunk-ZSEJQPBO.js +1401 -0
- package/dist/core.d.mts +33 -0
- package/dist/core.d.ts +33 -0
- package/dist/core.js +524 -0
- package/dist/core.mjs +524 -0
- package/dist/file.d.mts +37 -0
- package/dist/file.d.ts +37 -0
- package/dist/file.js +14 -0
- package/dist/file.mjs +14 -0
- package/dist/index-C9lLZwol.d.mts +185 -0
- package/dist/index-DNA970t1.d.ts +185 -0
- package/dist/index.d.mts +12 -38
- package/dist/index.d.ts +12 -38
- package/dist/index.js +34 -49
- package/dist/index.mjs +101 -116
- package/dist/midi.d.mts +54 -0
- package/dist/midi.d.ts +54 -0
- package/dist/midi.js +10 -0
- package/dist/midi.mjs +10 -0
- package/dist/musicxml-DWPClEqa.d.ts +25 -0
- package/dist/musicxml-DzuFr2c3.d.mts +25 -0
- package/dist/musicxml-compressed-7NUEGLSF.mjs +8 -0
- package/dist/musicxml-compressed-7RL6QRF7.js +12 -0
- package/dist/musicxml-compressed-WPEIBOZ3.js +8 -0
- package/dist/musicxml-compressed-ZHZYFJ7H.mjs +12 -0
- package/dist/musicxml-compressed.d.mts +33 -0
- package/dist/musicxml-compressed.d.ts +33 -0
- package/dist/musicxml-compressed.js +18 -0
- package/dist/musicxml-compressed.mjs +18 -0
- package/dist/musicxml.d.mts +8 -0
- package/dist/musicxml.d.ts +8 -0
- package/dist/musicxml.js +14 -0
- package/dist/musicxml.mjs +14 -0
- package/dist/operations/index.d.mts +1234 -2
- package/dist/operations/index.d.ts +1234 -2
- package/dist/operations/index.js +7 -3
- package/dist/operations/index.mjs +6 -2
- package/dist/playback-timeline-CVRHsikj.d.mts +129 -0
- package/dist/playback-timeline-CmWA8YDy.d.ts +129 -0
- package/dist/query/index.d.mts +3 -128
- package/dist/query/index.d.ts +3 -128
- package/dist/query/index.js +4 -2
- package/dist/query/index.mjs +7 -5
- package/dist/{types-Cy0veafI.d.mts → types-B-RGHY0c.d.mts} +1 -1
- package/dist/{types-Cy0veafI.d.ts → types-B-RGHY0c.d.ts} +1 -1
- package/package.json +36 -2
- package/dist/chunk-T2USSS5E.mjs +0 -8939
- package/dist/chunk-UT7LQW6V.js +0 -8939
- package/dist/index-CbUtBHLD.d.ts +0 -1415
- package/dist/index-CuMPBK7U.d.mts +0 -1415
package/dist/browser.d.ts
CHANGED
|
@@ -1,188 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
export {
|
|
1
|
+
export { A as Accidental, i as AccidentalInfo, j as AccidentalMarkInfo, a2 as AdjacentNotes, ag as AssembledLyrics, B as BackupEntry, y as Barline, ah as BarlineWithContext, ac as BeamGroup, m as BeamInfo, G as Chord, w as Clef, am as ClefChangeInfo, C as Color, Q as Credit, U as CreditImage, R as CreditWords, O as Defaults, D as DirectionEntry, a3 as DirectionKind, o as DirectionType, Z as DirectionWithContext, u as DisplayText, a4 as DynamicWithContext, p as DynamicsValue, aj as EndingInfo, Y as EntryWithContext, s as FiguredBassEntry, F as ForwardEntry, H as HarmonyEntry, r as HarmonyFrame, ae as HarmonyWithContext, ak as KeyChangeInfo, K as KeySignature, L as Lyric, q as LyricTextElement, af as LyricWithContext, M as Measure, e as MeasureAttributes, f as MeasureEntry, t as MeasureStyle, n as Notation, ad as NotationType, N as NoteEntry, I as NoteIteratorItem, h as NoteType, X as NoteWithContext, E as NoteWithPosition, k as NoteheadInfo, a8 as OctaveShiftWithContext, d as Part, b as PartGroup, P as PartInfo, c as PartListEntry, a6 as PedalWithContext, g as Pitch, $ as PositionQueryOptions, J as Print, ai as RepeatInfo, S as Score, a as ScoreMetadata, aa as SlurSpan, z as StaffGroup, _ as StaffRange, l as StemInfo, an as StructuralChanges, a5 as TempoWithContext, T as TieInfo, a9 as TiedNoteGroup, al as TimeChangeInfo, v as TimeSignature, x as Transpose, ab as TupletGroup, a0 as VerticalSlice, V as VoiceGroup, a1 as VoiceLine, W as VoiceToStaffMap, a7 as WedgeWithContext } from './types-B-RGHY0c.js';
|
|
2
|
+
export { parse } from './musicxml.js';
|
|
3
|
+
export { isCompressed, parseAuto, parseCompressed, serializeCompressed } from './musicxml-compressed.js';
|
|
4
|
+
export { S as SerializeOptions, b as SerializeUncheckedOptions, s as serialize, a as serializeUnchecked } from './musicxml-DWPClEqa.js';
|
|
5
|
+
export { FindNotesFilter, NormalizedPositionOptions, PitchRange, PlaybackControls, PlaybackMeasure, RoundtripMetrics, VoiceFilter, buildVoiceToStaffMap, buildVoiceToStaffMapForPart, countNotes, extractPlaybackControls, findBarlines, findDirectionsByType, findNotes, findNotesWithNotation, generatePlaybackSequence, getAbsolutePosition, getAdjacentNotes, getAllNotes, getAttributesAtMeasure, getBeamGroups, getChordProgression, getChords, getClefChanges, getClefForStaff, getDirections, getDirectionsAtPosition, getDivisions, getDuration, getDynamics, getEffectiveStaff, getEndings, getEntriesAtPosition, getEntriesForStaff, getEntriesInRange, getHarmonies, getHarmonyAtPosition, getKeyChanges, getLyricText, getLyrics, getMeasure, getMeasureByIndex, getMeasureCount, getNextNote, getNormalizedDuration, getNormalizedPosition, getNotesAtPosition, getNotesForStaff, getNotesForVoice, getNotesInRange, getOctaveShifts, getPartById, getPartByIndex, getPartCount, getPartIds, getPartIndex, getPedalMarkings, getPrevNote, getRepeatStructure, getSlurSpans, getStaffRange, getStaveCount, getStaves, getStructuralChanges, getTempoMarkings, getTiedNoteGroups, getTimeChanges, getTupletGroups, getVerseCount, getVerticalSlice, getVoiceLine, getVoiceLineInRange, getVoices, getVoicesForStaff, getWedges, groupByStaff, groupByVoice, hasMultipleStaves, hasNotes, hasPlaybackControls, inferStaff, isRestMeasure, iterateEntries, iterateNotes, measureRoundtrip, scoresEqual, withAbsolutePositions } from './query/index.js';
|
|
6
|
+
export { ALL_COLOR_TARGETS, AddArticulationOptions, AddBeamOptions, AddBowingOptions, AddBreathMarkOptions, AddCaesuraOptions, AddChordOptions, AddChordSymbolOptions, AddCodaOptions, AddDynamicsOptions, AddEndingOptions, AddFermataOptions, AddFingeringOptions, AddGraceNoteOptions, AddHarmonyOptions, AddLyricOptions, AddNavigationOptions, AddOctaveShiftOptions, AddOrnamentOptions, AddPartOptions, AddPedalOptions, AddRehearsalMarkOptions, AddRepeatBarlineOptions, AddRepeatOptions, AddSegnoOptions, AddSlurOptions, AddStringNumberOptions, AddTempoOptions, AddTextDirectionOptions, AddTextOptions, AddTieOptions, AddVoiceOptions, AddWedgeOptions, AutoBeamOptions, BarStyle, BowingType, BreathMarkValue, CaesuraValue, ChangeBarlineOptions, ChangeClefOptions, ChangeNoteDurationOptions, ColorTarget, ConvertToGraceOptions, CopyNotesMultiMeasureOptions, CopyNotesOptions, CreateTupletOptions, CutNotesOptions, DuplicatePartOptions, HarmonyKind, InsertClefChangeOptions, InsertNoteOptions, LowerAccidentalOptions, ModifyDynamicsOptions, ModifyTempoOptions, MoveNoteToStaffOptions, MultiMeasureSelection, NoteSelection, OctaveShiftType, OperationErrorCode, OperationResult, PasteNotesMultiMeasureOptions, PasteNotesOptions, RaiseAccidentalOptions, RemoveArticulationOptions, RemoveBeamOptions, RemoveBowingOptions, RemoveBreathMarkOptions, RemoveCaesuraOptions, RemoveChordSymbolOptions, RemoveDynamicsOptions, RemoveEndingOptions, RemoveFermataOptions, RemoveFingeringOptions, RemoveGraceNoteOptions, RemoveHarmonyOptions, RemoveLyricOptions, RemoveNoteOptions, RemoveOctaveShiftOptions, RemoveOrnamentOptions, RemovePedalOptions, RemoveRepeatBarlineOptions, RemoveRepeatOptions, RemoveSlurOptions, RemoveStringNumberOptions, RemoveTempoOptions, RemoveTieOptions, RemoveTupletOptions, RemoveWedgeOptions, SetBarlineOptions, SetBeamingOptions, SetColorOptions, SetNotePitchBySemitoneOptions, SetNotePitchOptions, SetStavesOptions, ShiftNotePitchOptions, StopOctaveShiftOptions, UpdateChordSymbolOptions, UpdateHarmonyOptions, UpdateLyricOptions, addArticulation, addBeam, addBowing, addBreathMark, addCaesura, addChord, addChordNote, addChordNoteChecked, addChordSymbol, addCoda, addDaCapo, addDalSegno, addDynamics, addEnding, addFermata, addFine, addFingering, addGraceNote, addHarmony, addLyric, addNote, addNoteChecked, addOctaveShift, addOrnament, addPart, addPedal, addRehearsalMark, addRepeat, addRepeatBarline, addSegno, addSlur, addStringNumber, addTempo, addText, addTextDirection, addTie, addToCoda, addVoice, addWedge, autoBeam, changeBarline, changeClef, changeKey, changeNoteDuration, changeTime, clearColors, convertToGrace, copyNotes, copyNotesMultiMeasure, createTuplet, cutNotes, deleteMeasure, deleteNote, deleteNoteChecked, duplicatePart, insertClefChange, insertMeasure, insertNote, lowerAccidental, modifyDynamics, modifyNoteDuration, modifyNoteDurationChecked, modifyNotePitch, modifyNotePitchChecked, modifyTempo, moveNoteToStaff, pasteNotes, pasteNotesMultiMeasure, raiseAccidental, removeArticulation, removeBeam, removeBowing, removeBreathMark, removeCaesura, removeChordSymbol, removeDynamics, removeEnding, removeFermata, removeFingering, removeGraceNote, removeHarmony, removeLyric, removeNote, removeOctaveShift, removeOrnament, removePart, removePedal, removeRepeat, removeRepeatBarline, removeSlur, removeStringNumber, removeTempo, removeTie, removeTuplet, removeWedge, setBarline, setBeaming, setColor, setNotePitch, setNotePitchBySemitone, setStaves, shiftNotePitch, stopOctaveShift, transpose, transposeChecked, updateChordSymbol, updateHarmony, updateLyric } from './operations/index.js';
|
|
7
|
+
export { STEPS, STEP_SEMITONES, generateId, getMeasureEndPosition, pitchToSemitone } from './core.js';
|
|
7
8
|
export { DirectionTypeOfKind, getAllPartInfos, getDirectionOfKind, getDirectionsOfKind, getPartAbbreviation, getPartInfo, getPartName, getPartNameMap, getSoundDamperPedal, getSoundDynamics, getSoundSoftPedal, getSoundSostenutoPedal, getSoundTempo, hasBeam, hasDirectionOfKind, hasLyrics, hasNotations, hasTie, hasTieStart, hasTieStop, hasTuplet, isChordNote, isCueNote, isGraceNote, isPartInfo, isPitchedNote, isRest, isUnpitchedNote } from './accessors/index.js';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* Parse a compressed MusicXML (.mxl) file
|
|
13
|
-
* @param data - The compressed file data as Uint8Array or Buffer
|
|
14
|
-
* @returns The parsed Score
|
|
15
|
-
*/
|
|
16
|
-
declare function parseCompressed(data: Uint8Array): Score;
|
|
17
|
-
/**
|
|
18
|
-
* Check if data is a compressed MusicXML file
|
|
19
|
-
* @param data - The file data
|
|
20
|
-
* @returns true if the data appears to be a ZIP file
|
|
21
|
-
*/
|
|
22
|
-
declare function isCompressed(data: Uint8Array): boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Parse either compressed (.mxl) or uncompressed (.xml/.musicxml) MusicXML
|
|
25
|
-
* Automatically detects the format
|
|
26
|
-
* @param data - The file data as Uint8Array or string
|
|
27
|
-
* @returns The parsed Score
|
|
28
|
-
*/
|
|
29
|
-
declare function parseAuto(data: Uint8Array | string): Score;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* ABC Notation Parser
|
|
33
|
-
* Parses ABC notation format into the Score internal model.
|
|
34
|
-
*
|
|
35
|
-
* Supports ABC standard v2.1 core features:
|
|
36
|
-
* - Header fields (X, T, C, M, L, Q, K, V, P, U, w, W, and `+:` continuations)
|
|
37
|
-
* - Notes with pitch, duration, accidentals (including microtones), octaves
|
|
38
|
-
* - Rests (z, Z, multi-measure Zn), invisible rests (x, Xn) and spacers (y)
|
|
39
|
-
* - Bar lines (|, ||, |], [|, |:, :|, ::, [|], .|)
|
|
40
|
-
* - Repeats and volta endings, including lists and ranges ([1,3, [1-3)
|
|
41
|
-
* - Chords (simultaneous notes: [CEG]) with rests and per-note durations
|
|
42
|
-
* - Chord symbols ("Am", "G7") and text annotations ("^above", "_below", ...)
|
|
43
|
-
* - Ties (-), slurs ((...)) and dotted slurs (.(...))
|
|
44
|
-
* - Grace notes ({...}) and acciaccaturas ({/...})
|
|
45
|
-
* - Tuplets ((3..., (p:q:r...)
|
|
46
|
-
* - Decorations: shorthand (. ~ H L M O P S T u v), !name! and legacy +name+
|
|
47
|
-
* - Lyrics (w: field, multiple verses) and symbol lines (s:)
|
|
48
|
-
* - Multi-voice (V: field) and multi-tune files (repeated X: fields)
|
|
49
|
-
*/
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Parse every tune in an ABC file.
|
|
53
|
-
*
|
|
54
|
-
* ABC files may hold any number of tunes, each introduced by an `X:` field.
|
|
55
|
-
* {@link parseAbc} returns only the first; use this to get them all.
|
|
56
|
-
*/
|
|
57
|
-
declare function parseAbcTunes(abcString: string): Score[];
|
|
58
|
-
/**
|
|
59
|
-
* Parse an ABC notation string into a Score object.
|
|
60
|
-
*
|
|
61
|
-
* When the input holds several tunes, only the first is returned — use
|
|
62
|
-
* {@link parseAbcTunes} to parse them all.
|
|
63
|
-
*/
|
|
64
|
-
declare function parseAbc(abcString: string): Score;
|
|
65
|
-
|
|
66
|
-
interface SerializeOptions {
|
|
67
|
-
version?: string;
|
|
68
|
-
indent?: string;
|
|
69
|
-
/** Validate score before serializing (default: false) */
|
|
70
|
-
validate?: boolean;
|
|
71
|
-
/** Options for validation (if validate is true) */
|
|
72
|
-
validateOptions?: ValidateOptions;
|
|
73
|
-
/** Throw error if validation fails (default: false, will only warn) */
|
|
74
|
-
throwOnValidationError?: boolean;
|
|
75
|
-
/** Callback to receive validation result */
|
|
76
|
-
onValidation?: (result: ValidationResult) => void;
|
|
77
|
-
}
|
|
78
|
-
declare function serialize(score: Score, options?: SerializeOptions): string;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Serialize a Score to compressed MusicXML (.mxl) format
|
|
82
|
-
* @param score - The Score to serialize
|
|
83
|
-
* @param options - Serialization options
|
|
84
|
-
* @returns The compressed file data as Uint8Array
|
|
85
|
-
*/
|
|
86
|
-
declare function serializeCompressed(score: Score, options?: SerializeOptions): Uint8Array;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* MIDI export options
|
|
90
|
-
*
|
|
91
|
-
* Extends {@link ExpressionOptions} so fermata holds and rit./accel. ramps land
|
|
92
|
-
* in the exported tempo map (and the timing sidecar) identically.
|
|
93
|
-
*/
|
|
94
|
-
interface MidiExportOptions extends ExpressionOptions {
|
|
95
|
-
/** Ticks per quarter note (default: 480) */
|
|
96
|
-
ticksPerQuarterNote?: number;
|
|
97
|
-
/** Default tempo in BPM (default: 120) */
|
|
98
|
-
defaultTempo?: number;
|
|
99
|
-
/** Default velocity for notes when no dynamics are present (default: 80) */
|
|
100
|
-
defaultVelocity?: number;
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* A single point on the timing sidecar: a correspondence between a time in the
|
|
104
|
-
* generated MIDI and a conceptual musical position (measure + beat).
|
|
105
|
-
*
|
|
106
|
-
* Breakpoints are emitted at every played-measure start and every tempo change
|
|
107
|
-
* (plus a terminal point). Between two consecutive breakpoints the relationship
|
|
108
|
-
* `midiSec ↔ quarterPos` is linear (tempo is piecewise-constant), so a consumer
|
|
109
|
-
* can interpolate any intermediate time exactly.
|
|
110
|
-
*/
|
|
111
|
-
/** Result of {@link exportMidiWithTimingMap}. */
|
|
112
|
-
interface MidiWithTimingMap {
|
|
113
|
-
/** The Standard MIDI File data. */
|
|
114
|
-
midi: Uint8Array;
|
|
115
|
-
/** The MIDI-time ↔ musical-position sidecar. */
|
|
116
|
-
sidecar: TimingSidecar;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Export a Score to Standard MIDI File format (SMF Type 1)
|
|
120
|
-
* @param score - The Score to export
|
|
121
|
-
* @param options - Export options
|
|
122
|
-
* @returns The MIDI file data as Uint8Array
|
|
123
|
-
*/
|
|
124
|
-
declare function exportMidi(score: Score, options?: MidiExportOptions): Uint8Array;
|
|
125
|
-
/**
|
|
126
|
-
* Export a Score to MIDI together with a timing sidecar that maps the generated
|
|
127
|
-
* MIDI timeline to conceptual musical positions (measure + beat).
|
|
128
|
-
*
|
|
129
|
-
* The MIDI bytes are byte-for-byte identical to {@link exportMidi}; the sidecar
|
|
130
|
-
* is derived from the same internal time computation so the two can never drift.
|
|
131
|
-
*
|
|
132
|
-
* @param score - The Score to export
|
|
133
|
-
* @param options - Export options (must match those used for any aligned audio)
|
|
134
|
-
* @returns The MIDI data and its timing sidecar
|
|
135
|
-
*/
|
|
136
|
-
declare function exportMidiWithTimingMap(score: Score, options?: MidiExportOptions): MidiWithTimingMap;
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* ABC Notation Serializer
|
|
140
|
-
* Converts Score internal model to ABC notation format string.
|
|
141
|
-
*/
|
|
142
|
-
|
|
143
|
-
interface AbcSerializeOptions {
|
|
144
|
-
/** Reference number (X: field). Default: 1 */
|
|
145
|
-
referenceNumber?: number;
|
|
146
|
-
/** Maximum notes per line before wrapping. Default: no limit */
|
|
147
|
-
notesPerLine?: number;
|
|
148
|
-
/** Include chord symbols. Default: true */
|
|
149
|
-
includeChordSymbols?: boolean;
|
|
150
|
-
/** Include dynamics. Default: true */
|
|
151
|
-
includeDynamics?: boolean;
|
|
152
|
-
/** Include lyrics. Default: true */
|
|
153
|
-
includeLyrics?: boolean;
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* Serialize several Scores into a single multi-tune ABC file.
|
|
157
|
-
*
|
|
158
|
-
* Counterpart to `parseAbcTunes`: each Score becomes one tune, separated by a
|
|
159
|
-
* blank line as the ABC standard requires.
|
|
160
|
-
*/
|
|
161
|
-
declare function serializeAbcTunes(scores: Score[], options?: AbcSerializeOptions): string;
|
|
162
|
-
/**
|
|
163
|
-
* Serialize a Score object to ABC notation format string.
|
|
164
|
-
*/
|
|
165
|
-
declare function serializeAbc(score: Score, options?: AbcSerializeOptions): string;
|
|
166
|
-
|
|
167
|
-
declare const STEPS: Pitch['step'][];
|
|
168
|
-
declare const STEP_SEMITONES: Record<Pitch['step'], number>;
|
|
169
|
-
/** Convert pitch to semitone value (MIDI-like) */
|
|
170
|
-
declare function pitchToSemitone(pitch: Pitch): number;
|
|
171
|
-
/** Get position at end of measure */
|
|
172
|
-
declare function getMeasureEndPosition(measure: Measure): number;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Generates a unique ID for elements in the Score structure.
|
|
176
|
-
*
|
|
177
|
-
* The ID format is "i" + 10 random URL-safe characters, where:
|
|
178
|
-
* - "i" prefix ensures XML ID compatibility (XML IDs must start with a letter or underscore)
|
|
179
|
-
* - the 10-character suffix is drawn from the same 64-character URL-safe
|
|
180
|
-
* alphabet as nanoid, backed by `crypto.getRandomValues`
|
|
181
|
-
*
|
|
182
|
-
* Example: "iV1StGXR8_"
|
|
183
|
-
*
|
|
184
|
-
* @returns A unique 11-character ID string
|
|
185
|
-
*/
|
|
186
|
-
declare function generateId(): string;
|
|
187
|
-
|
|
188
|
-
export { type AbcSerializeOptions, ExpressionOptions, Measure, type MidiExportOptions, type MidiWithTimingMap, Pitch, STEPS, STEP_SEMITONES, Score, type SerializeOptions, TimingSidecar, ValidateOptions, ValidationResult, exportMidi, exportMidiWithTimingMap, generateId, getMeasureEndPosition, isCompressed, parse, parseAbc, parseAbcTunes, parseAuto, parseCompressed, pitchToSemitone, serialize, serializeAbc, serializeAbcTunes, serializeCompressed };
|
|
9
|
+
export { L as LocalValidateOptions, M as MeasureValidationContext, z as ValidateOptions, t as ValidationError, x as ValidationErrorCode, V as ValidationException, y as ValidationLevel, w as ValidationLocation, u as ValidationResult, s as assertMeasureValid, a as assertValid, p as formatLocation, r as getMeasureContext, i as isValid, v as validate, d as validateBackupForward, f as validateBeams, b as validateDivisions, c as validateMeasureDuration, q as validateMeasureLocal, j as validatePartReferences, k as validatePartStructure, g as validateSlurs, o as validateSlursAcrossMeasures, l as validateStaffStructure, e as validateTies, n as validateTiesAcrossMeasures, h as validateTuplets, m as validateVoiceStaff } from './index-DNA970t1.js';
|
|
10
|
+
export { AbcSerializeOptions, parseAbc, parseAbcTunes, serializeAbc, serializeAbcTunes } from './abc.js';
|
|
11
|
+
export { MidiExportOptions, MidiWithTimingMap, exportMidi, exportMidiWithTimingMap } from './midi.js';
|
|
12
|
+
export { c as ExpressionHint, d as ExpressionKind, E as ExpressionOptions, b as TimingBreakpoint, T as TimingMapOptions, a as TimingSidecar, g as generatePlaybackTimeline } from './playback-timeline-CmWA8YDy.js';
|
package/dist/browser.js
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-YKMNCYOD.js');
|
|
2
|
+
require('./chunk-33IQXDOH.js');
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
2
9
|
|
|
3
10
|
|
|
4
11
|
|
|
@@ -11,7 +18,6 @@
|
|
|
11
18
|
|
|
12
19
|
|
|
13
20
|
|
|
14
|
-
var _chunkUT7LQW6Vjs = require('./chunk-UT7LQW6V.js');
|
|
15
21
|
|
|
16
22
|
|
|
17
23
|
|
|
@@ -40,7 +46,6 @@ var _chunkUT7LQW6Vjs = require('./chunk-UT7LQW6V.js');
|
|
|
40
46
|
|
|
41
47
|
|
|
42
48
|
|
|
43
|
-
var _chunkOEX7NVZNjs = require('./chunk-OEX7NVZN.js');
|
|
44
49
|
|
|
45
50
|
|
|
46
51
|
|
|
@@ -105,6 +110,7 @@ var _chunkOEX7NVZNjs = require('./chunk-OEX7NVZN.js');
|
|
|
105
110
|
|
|
106
111
|
|
|
107
112
|
|
|
113
|
+
var _chunkASPCIBWDjs = require('./chunk-ASPCIBWD.js');
|
|
108
114
|
|
|
109
115
|
|
|
110
116
|
|
|
@@ -173,7 +179,6 @@ var _chunkOEX7NVZNjs = require('./chunk-OEX7NVZN.js');
|
|
|
173
179
|
|
|
174
180
|
|
|
175
181
|
|
|
176
|
-
var _chunkFQ3NEYIVjs = require('./chunk-FQ3NEYIV.js');
|
|
177
182
|
|
|
178
183
|
|
|
179
184
|
|
|
@@ -188,21 +193,29 @@ var _chunkFQ3NEYIVjs = require('./chunk-FQ3NEYIV.js');
|
|
|
188
193
|
|
|
189
194
|
|
|
190
195
|
|
|
196
|
+
var _chunkPMPROVJWjs = require('./chunk-PMPROVJW.js');
|
|
191
197
|
|
|
192
198
|
|
|
193
199
|
|
|
194
200
|
|
|
201
|
+
var _chunk7D4MLQKOjs = require('./chunk-7D4MLQKO.js');
|
|
195
202
|
|
|
196
203
|
|
|
204
|
+
var _chunkA2CGW2UFjs = require('./chunk-A2CGW2UF.js');
|
|
197
205
|
|
|
198
206
|
|
|
199
207
|
|
|
208
|
+
var _chunkNIUEAHPNjs = require('./chunk-NIUEAHPN.js');
|
|
200
209
|
|
|
201
210
|
|
|
202
211
|
|
|
212
|
+
var _chunkZSEJQPBOjs = require('./chunk-ZSEJQPBO.js');
|
|
213
|
+
require('./chunk-LS5SHP75.js');
|
|
214
|
+
require('./chunk-776XPK66.js');
|
|
203
215
|
|
|
204
216
|
|
|
205
217
|
|
|
218
|
+
var _chunk6EKVRPFFjs = require('./chunk-6EKVRPFF.js');
|
|
206
219
|
|
|
207
220
|
|
|
208
221
|
|
|
@@ -230,11 +243,21 @@ var _chunkFQ3NEYIVjs = require('./chunk-FQ3NEYIV.js');
|
|
|
230
243
|
|
|
231
244
|
|
|
232
245
|
|
|
246
|
+
|
|
247
|
+
var _chunkOEX7NVZNjs = require('./chunk-OEX7NVZN.js');
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
var _chunk626TXMVPjs = require('./chunk-626TXMVP.js');
|
|
233
254
|
|
|
234
255
|
|
|
256
|
+
var _chunkHP4DAUGTjs = require('./chunk-HP4DAUGT.js');
|
|
235
257
|
|
|
236
258
|
|
|
237
259
|
|
|
260
|
+
var _chunk2EH2MGBYjs = require('./chunk-2EH2MGBY.js');
|
|
238
261
|
|
|
239
262
|
|
|
240
263
|
|
|
@@ -257,10 +280,11 @@ var _chunkFQ3NEYIVjs = require('./chunk-FQ3NEYIV.js');
|
|
|
257
280
|
|
|
258
281
|
|
|
259
282
|
|
|
283
|
+
var _chunkJF5TM534js = require('./chunk-JF5TM534.js');
|
|
260
284
|
|
|
261
285
|
|
|
286
|
+
var _chunk5EK7K5X3js = require('./chunk-5EK7K5X3.js');
|
|
262
287
|
|
|
263
|
-
var _chunkEWLB5X64js = require('./chunk-EWLB5X64.js');
|
|
264
288
|
|
|
265
289
|
|
|
266
290
|
|
|
@@ -517,4 +541,4 @@ var _chunkEWLB5X64js = require('./chunk-EWLB5X64.js');
|
|
|
517
541
|
|
|
518
542
|
|
|
519
543
|
|
|
520
|
-
exports.ALL_COLOR_TARGETS = _chunkFQ3NEYIVjs.ALL_COLOR_TARGETS; exports.STEPS = _chunkEWLB5X64js.STEPS; exports.STEP_SEMITONES = _chunkEWLB5X64js.STEP_SEMITONES; exports.ValidationException = _chunkFQ3NEYIVjs.ValidationException; exports.addArticulation = _chunkFQ3NEYIVjs.addArticulation; exports.addBeam = _chunkFQ3NEYIVjs.addBeam; exports.addBowing = _chunkFQ3NEYIVjs.addBowing; exports.addBreathMark = _chunkFQ3NEYIVjs.addBreathMark; exports.addCaesura = _chunkFQ3NEYIVjs.addCaesura; exports.addChord = _chunkFQ3NEYIVjs.addChord; exports.addChordNote = _chunkFQ3NEYIVjs.addChordNote; exports.addChordNoteChecked = _chunkFQ3NEYIVjs.addChordNoteChecked; exports.addChordSymbol = _chunkFQ3NEYIVjs.addChordSymbol; exports.addCoda = _chunkFQ3NEYIVjs.addCoda; exports.addDaCapo = _chunkFQ3NEYIVjs.addDaCapo; exports.addDalSegno = _chunkFQ3NEYIVjs.addDalSegno; exports.addDynamics = _chunkFQ3NEYIVjs.addDynamics; exports.addEnding = _chunkFQ3NEYIVjs.addEnding; exports.addFermata = _chunkFQ3NEYIVjs.addFermata; exports.addFine = _chunkFQ3NEYIVjs.addFine; exports.addFingering = _chunkFQ3NEYIVjs.addFingering; exports.addGraceNote = _chunkFQ3NEYIVjs.addGraceNote; exports.addHarmony = _chunkFQ3NEYIVjs.addHarmony; exports.addLyric = _chunkFQ3NEYIVjs.addLyric; exports.addNote = _chunkFQ3NEYIVjs.addNote; exports.addNoteChecked = _chunkFQ3NEYIVjs.addNoteChecked; exports.addOctaveShift = _chunkFQ3NEYIVjs.addOctaveShift; exports.addOrnament = _chunkFQ3NEYIVjs.addOrnament; exports.addPart = _chunkFQ3NEYIVjs.addPart; exports.addPedal = _chunkFQ3NEYIVjs.addPedal; exports.addRehearsalMark = _chunkFQ3NEYIVjs.addRehearsalMark; exports.addRepeat = _chunkFQ3NEYIVjs.addRepeat; exports.addRepeatBarline = _chunkFQ3NEYIVjs.addRepeatBarline; exports.addSegno = _chunkFQ3NEYIVjs.addSegno; exports.addSlur = _chunkFQ3NEYIVjs.addSlur; exports.addStringNumber = _chunkFQ3NEYIVjs.addStringNumber; exports.addTempo = _chunkFQ3NEYIVjs.addTempo; exports.addText = _chunkFQ3NEYIVjs.addText; exports.addTextDirection = _chunkFQ3NEYIVjs.addTextDirection; exports.addTie = _chunkFQ3NEYIVjs.addTie; exports.addToCoda = _chunkFQ3NEYIVjs.addToCoda; exports.addVoice = _chunkFQ3NEYIVjs.addVoice; exports.addWedge = _chunkFQ3NEYIVjs.addWedge; exports.assertMeasureValid = _chunkFQ3NEYIVjs.assertMeasureValid; exports.assertValid = _chunkFQ3NEYIVjs.assertValid; exports.autoBeam = _chunkFQ3NEYIVjs.autoBeam; exports.buildVoiceToStaffMap = _chunkEWLB5X64js.buildVoiceToStaffMap; exports.buildVoiceToStaffMapForPart = _chunkEWLB5X64js.buildVoiceToStaffMapForPart; exports.changeBarline = _chunkFQ3NEYIVjs.changeBarline; exports.changeClef = _chunkFQ3NEYIVjs.changeClef; exports.changeKey = _chunkFQ3NEYIVjs.changeKey; exports.changeNoteDuration = _chunkFQ3NEYIVjs.changeNoteDuration; exports.changeTime = _chunkFQ3NEYIVjs.changeTime; exports.clearColors = _chunkFQ3NEYIVjs.clearColors; exports.convertToGrace = _chunkFQ3NEYIVjs.convertToGrace; exports.copyNotes = _chunkFQ3NEYIVjs.copyNotes; exports.copyNotesMultiMeasure = _chunkFQ3NEYIVjs.copyNotesMultiMeasure; exports.countNotes = _chunkEWLB5X64js.countNotes; exports.createTuplet = _chunkFQ3NEYIVjs.createTuplet; exports.cutNotes = _chunkFQ3NEYIVjs.cutNotes; exports.deleteMeasure = _chunkFQ3NEYIVjs.deleteMeasure; exports.deleteNote = _chunkFQ3NEYIVjs.deleteNote; exports.deleteNoteChecked = _chunkFQ3NEYIVjs.deleteNoteChecked; exports.duplicatePart = _chunkFQ3NEYIVjs.duplicatePart; exports.exportMidi = _chunkUT7LQW6Vjs.exportMidi; exports.exportMidiWithTimingMap = _chunkUT7LQW6Vjs.exportMidiWithTimingMap; exports.extractPlaybackControls = _chunkEWLB5X64js.extractPlaybackControls; exports.findBarlines = _chunkEWLB5X64js.findBarlines; exports.findDirectionsByType = _chunkEWLB5X64js.findDirectionsByType; exports.findNotes = _chunkEWLB5X64js.findNotes; exports.findNotesWithNotation = _chunkEWLB5X64js.findNotesWithNotation; exports.formatLocation = _chunkFQ3NEYIVjs.formatLocation; exports.generateId = _chunkFQ3NEYIVjs.generateId; exports.generatePlaybackSequence = _chunkEWLB5X64js.generatePlaybackSequence; exports.generatePlaybackTimeline = _chunkEWLB5X64js.generatePlaybackTimeline; exports.getAbsolutePosition = _chunkEWLB5X64js.getAbsolutePosition; exports.getAdjacentNotes = _chunkEWLB5X64js.getAdjacentNotes; exports.getAllNotes = _chunkEWLB5X64js.getAllNotes; exports.getAllPartInfos = _chunkOEX7NVZNjs.getAllPartInfos; exports.getAttributesAtMeasure = _chunkEWLB5X64js.getAttributesAtMeasure; exports.getBeamGroups = _chunkEWLB5X64js.getBeamGroups; exports.getChordProgression = _chunkEWLB5X64js.getChordProgression; exports.getChords = _chunkEWLB5X64js.getChords; exports.getClefChanges = _chunkEWLB5X64js.getClefChanges; exports.getClefForStaff = _chunkEWLB5X64js.getClefForStaff; exports.getDirectionOfKind = _chunkOEX7NVZNjs.getDirectionOfKind; exports.getDirections = _chunkEWLB5X64js.getDirections; exports.getDirectionsAtPosition = _chunkEWLB5X64js.getDirectionsAtPosition; exports.getDirectionsOfKind = _chunkOEX7NVZNjs.getDirectionsOfKind; exports.getDivisions = _chunkEWLB5X64js.getDivisions; exports.getDuration = _chunkEWLB5X64js.getDuration; exports.getDynamics = _chunkEWLB5X64js.getDynamics; exports.getEffectiveStaff = _chunkEWLB5X64js.getEffectiveStaff; exports.getEndings = _chunkEWLB5X64js.getEndings; exports.getEntriesAtPosition = _chunkEWLB5X64js.getEntriesAtPosition; exports.getEntriesForStaff = _chunkEWLB5X64js.getEntriesForStaff; exports.getEntriesInRange = _chunkEWLB5X64js.getEntriesInRange; exports.getHarmonies = _chunkEWLB5X64js.getHarmonies; exports.getHarmonyAtPosition = _chunkEWLB5X64js.getHarmonyAtPosition; exports.getKeyChanges = _chunkEWLB5X64js.getKeyChanges; exports.getLyricText = _chunkEWLB5X64js.getLyricText; exports.getLyrics = _chunkEWLB5X64js.getLyrics; exports.getMeasure = _chunkEWLB5X64js.getMeasure; exports.getMeasureByIndex = _chunkEWLB5X64js.getMeasureByIndex; exports.getMeasureContext = _chunkFQ3NEYIVjs.getMeasureContext; exports.getMeasureCount = _chunkEWLB5X64js.getMeasureCount; exports.getMeasureEndPosition = _chunkEWLB5X64js.getMeasureEndPosition; exports.getNextNote = _chunkEWLB5X64js.getNextNote; exports.getNormalizedDuration = _chunkEWLB5X64js.getNormalizedDuration; exports.getNormalizedPosition = _chunkEWLB5X64js.getNormalizedPosition; exports.getNotesAtPosition = _chunkEWLB5X64js.getNotesAtPosition; exports.getNotesForStaff = _chunkEWLB5X64js.getNotesForStaff; exports.getNotesForVoice = _chunkEWLB5X64js.getNotesForVoice; exports.getNotesInRange = _chunkEWLB5X64js.getNotesInRange; exports.getOctaveShifts = _chunkEWLB5X64js.getOctaveShifts; exports.getPartAbbreviation = _chunkOEX7NVZNjs.getPartAbbreviation; exports.getPartById = _chunkEWLB5X64js.getPartById; exports.getPartByIndex = _chunkEWLB5X64js.getPartByIndex; exports.getPartCount = _chunkEWLB5X64js.getPartCount; exports.getPartIds = _chunkEWLB5X64js.getPartIds; exports.getPartIndex = _chunkEWLB5X64js.getPartIndex; exports.getPartInfo = _chunkOEX7NVZNjs.getPartInfo; exports.getPartName = _chunkOEX7NVZNjs.getPartName; exports.getPartNameMap = _chunkOEX7NVZNjs.getPartNameMap; exports.getPedalMarkings = _chunkEWLB5X64js.getPedalMarkings; exports.getPrevNote = _chunkEWLB5X64js.getPrevNote; exports.getRepeatStructure = _chunkEWLB5X64js.getRepeatStructure; exports.getSlurSpans = _chunkEWLB5X64js.getSlurSpans; exports.getSoundDamperPedal = _chunkOEX7NVZNjs.getSoundDamperPedal; exports.getSoundDynamics = _chunkOEX7NVZNjs.getSoundDynamics; exports.getSoundSoftPedal = _chunkOEX7NVZNjs.getSoundSoftPedal; exports.getSoundSostenutoPedal = _chunkOEX7NVZNjs.getSoundSostenutoPedal; exports.getSoundTempo = _chunkOEX7NVZNjs.getSoundTempo; exports.getStaffRange = _chunkEWLB5X64js.getStaffRange; exports.getStaveCount = _chunkEWLB5X64js.getStaveCount; exports.getStaves = _chunkEWLB5X64js.getStaves; exports.getStructuralChanges = _chunkEWLB5X64js.getStructuralChanges; exports.getTempoMarkings = _chunkEWLB5X64js.getTempoMarkings; exports.getTiedNoteGroups = _chunkEWLB5X64js.getTiedNoteGroups; exports.getTimeChanges = _chunkEWLB5X64js.getTimeChanges; exports.getTupletGroups = _chunkEWLB5X64js.getTupletGroups; exports.getVerseCount = _chunkEWLB5X64js.getVerseCount; exports.getVerticalSlice = _chunkEWLB5X64js.getVerticalSlice; exports.getVoiceLine = _chunkEWLB5X64js.getVoiceLine; exports.getVoiceLineInRange = _chunkEWLB5X64js.getVoiceLineInRange; exports.getVoices = _chunkEWLB5X64js.getVoices; exports.getVoicesForStaff = _chunkEWLB5X64js.getVoicesForStaff; exports.getWedges = _chunkEWLB5X64js.getWedges; exports.groupByStaff = _chunkEWLB5X64js.groupByStaff; exports.groupByVoice = _chunkEWLB5X64js.groupByVoice; exports.hasBeam = _chunkOEX7NVZNjs.hasBeam; exports.hasDirectionOfKind = _chunkOEX7NVZNjs.hasDirectionOfKind; exports.hasLyrics = _chunkOEX7NVZNjs.hasLyrics; exports.hasMultipleStaves = _chunkEWLB5X64js.hasMultipleStaves; exports.hasNotations = _chunkOEX7NVZNjs.hasNotations; exports.hasNotes = _chunkEWLB5X64js.hasNotes; exports.hasPlaybackControls = _chunkEWLB5X64js.hasPlaybackControls; exports.hasTie = _chunkOEX7NVZNjs.hasTie; exports.hasTieStart = _chunkOEX7NVZNjs.hasTieStart; exports.hasTieStop = _chunkOEX7NVZNjs.hasTieStop; exports.hasTuplet = _chunkOEX7NVZNjs.hasTuplet; exports.inferStaff = _chunkEWLB5X64js.inferStaff; exports.insertClefChange = _chunkFQ3NEYIVjs.insertClefChange; exports.insertMeasure = _chunkFQ3NEYIVjs.insertMeasure; exports.insertNote = _chunkFQ3NEYIVjs.insertNote; exports.isChordNote = _chunkOEX7NVZNjs.isChordNote; exports.isCompressed = _chunkUT7LQW6Vjs.isCompressed; exports.isCueNote = _chunkOEX7NVZNjs.isCueNote; exports.isGraceNote = _chunkOEX7NVZNjs.isGraceNote; exports.isPartInfo = _chunkOEX7NVZNjs.isPartInfo; exports.isPitchedNote = _chunkOEX7NVZNjs.isPitchedNote; exports.isRest = _chunkOEX7NVZNjs.isRest; exports.isRestMeasure = _chunkEWLB5X64js.isRestMeasure; exports.isUnpitchedNote = _chunkOEX7NVZNjs.isUnpitchedNote; exports.isValid = _chunkFQ3NEYIVjs.isValid; exports.iterateEntries = _chunkEWLB5X64js.iterateEntries; exports.iterateNotes = _chunkEWLB5X64js.iterateNotes; exports.lowerAccidental = _chunkFQ3NEYIVjs.lowerAccidental; exports.measureRoundtrip = _chunkEWLB5X64js.measureRoundtrip; exports.modifyDynamics = _chunkFQ3NEYIVjs.modifyDynamics; exports.modifyNoteDuration = _chunkFQ3NEYIVjs.modifyNoteDuration; exports.modifyNoteDurationChecked = _chunkFQ3NEYIVjs.modifyNoteDurationChecked; exports.modifyNotePitch = _chunkFQ3NEYIVjs.modifyNotePitch; exports.modifyNotePitchChecked = _chunkFQ3NEYIVjs.modifyNotePitchChecked; exports.modifyTempo = _chunkFQ3NEYIVjs.modifyTempo; exports.moveNoteToStaff = _chunkFQ3NEYIVjs.moveNoteToStaff; exports.parse = _chunkUT7LQW6Vjs.parse; exports.parseAbc = _chunkUT7LQW6Vjs.parseAbc; exports.parseAbcTunes = _chunkUT7LQW6Vjs.parseAbcTunes; exports.parseAuto = _chunkUT7LQW6Vjs.parseAuto; exports.parseCompressed = _chunkUT7LQW6Vjs.parseCompressed; exports.pasteNotes = _chunkFQ3NEYIVjs.pasteNotes; exports.pasteNotesMultiMeasure = _chunkFQ3NEYIVjs.pasteNotesMultiMeasure; exports.pitchToSemitone = _chunkEWLB5X64js.pitchToSemitone; exports.raiseAccidental = _chunkFQ3NEYIVjs.raiseAccidental; exports.removeArticulation = _chunkFQ3NEYIVjs.removeArticulation; exports.removeBeam = _chunkFQ3NEYIVjs.removeBeam; exports.removeBowing = _chunkFQ3NEYIVjs.removeBowing; exports.removeBreathMark = _chunkFQ3NEYIVjs.removeBreathMark; exports.removeCaesura = _chunkFQ3NEYIVjs.removeCaesura; exports.removeChordSymbol = _chunkFQ3NEYIVjs.removeChordSymbol; exports.removeDynamics = _chunkFQ3NEYIVjs.removeDynamics; exports.removeEnding = _chunkFQ3NEYIVjs.removeEnding; exports.removeFermata = _chunkFQ3NEYIVjs.removeFermata; exports.removeFingering = _chunkFQ3NEYIVjs.removeFingering; exports.removeGraceNote = _chunkFQ3NEYIVjs.removeGraceNote; exports.removeHarmony = _chunkFQ3NEYIVjs.removeHarmony; exports.removeLyric = _chunkFQ3NEYIVjs.removeLyric; exports.removeNote = _chunkFQ3NEYIVjs.removeNote; exports.removeOctaveShift = _chunkFQ3NEYIVjs.removeOctaveShift; exports.removeOrnament = _chunkFQ3NEYIVjs.removeOrnament; exports.removePart = _chunkFQ3NEYIVjs.removePart; exports.removePedal = _chunkFQ3NEYIVjs.removePedal; exports.removeRepeat = _chunkFQ3NEYIVjs.removeRepeat; exports.removeRepeatBarline = _chunkFQ3NEYIVjs.removeRepeatBarline; exports.removeSlur = _chunkFQ3NEYIVjs.removeSlur; exports.removeStringNumber = _chunkFQ3NEYIVjs.removeStringNumber; exports.removeTempo = _chunkFQ3NEYIVjs.removeTempo; exports.removeTie = _chunkFQ3NEYIVjs.removeTie; exports.removeTuplet = _chunkFQ3NEYIVjs.removeTuplet; exports.removeWedge = _chunkFQ3NEYIVjs.removeWedge; exports.scoresEqual = _chunkEWLB5X64js.scoresEqual; exports.serialize = _chunkUT7LQW6Vjs.serialize; exports.serializeAbc = _chunkUT7LQW6Vjs.serializeAbc; exports.serializeAbcTunes = _chunkUT7LQW6Vjs.serializeAbcTunes; exports.serializeCompressed = _chunkUT7LQW6Vjs.serializeCompressed; exports.setBarline = _chunkFQ3NEYIVjs.setBarline; exports.setBeaming = _chunkFQ3NEYIVjs.setBeaming; exports.setColor = _chunkFQ3NEYIVjs.setColor; exports.setNotePitch = _chunkFQ3NEYIVjs.setNotePitch; exports.setNotePitchBySemitone = _chunkFQ3NEYIVjs.setNotePitchBySemitone; exports.setStaves = _chunkFQ3NEYIVjs.setStaves; exports.shiftNotePitch = _chunkFQ3NEYIVjs.shiftNotePitch; exports.stopOctaveShift = _chunkFQ3NEYIVjs.stopOctaveShift; exports.transpose = _chunkFQ3NEYIVjs.transpose; exports.transposeChecked = _chunkFQ3NEYIVjs.transposeChecked; exports.updateChordSymbol = _chunkFQ3NEYIVjs.updateChordSymbol; exports.updateHarmony = _chunkFQ3NEYIVjs.updateHarmony; exports.updateLyric = _chunkFQ3NEYIVjs.updateLyric; exports.validate = _chunkFQ3NEYIVjs.validate; exports.validateBackupForward = _chunkFQ3NEYIVjs.validateBackupForward; exports.validateBeams = _chunkFQ3NEYIVjs.validateBeams; exports.validateDivisions = _chunkFQ3NEYIVjs.validateDivisions; exports.validateMeasureDuration = _chunkFQ3NEYIVjs.validateMeasureDuration; exports.validateMeasureLocal = _chunkFQ3NEYIVjs.validateMeasureLocal; exports.validatePartReferences = _chunkFQ3NEYIVjs.validatePartReferences; exports.validatePartStructure = _chunkFQ3NEYIVjs.validatePartStructure; exports.validateSlurs = _chunkFQ3NEYIVjs.validateSlurs; exports.validateSlursAcrossMeasures = _chunkFQ3NEYIVjs.validateSlursAcrossMeasures; exports.validateStaffStructure = _chunkFQ3NEYIVjs.validateStaffStructure; exports.validateTies = _chunkFQ3NEYIVjs.validateTies; exports.validateTiesAcrossMeasures = _chunkFQ3NEYIVjs.validateTiesAcrossMeasures; exports.validateTuplets = _chunkFQ3NEYIVjs.validateTuplets; exports.validateVoiceStaff = _chunkFQ3NEYIVjs.validateVoiceStaff; exports.withAbsolutePositions = _chunkEWLB5X64js.withAbsolutePositions;
|
|
544
|
+
exports.ALL_COLOR_TARGETS = _chunkASPCIBWDjs.ALL_COLOR_TARGETS; exports.STEPS = _chunkPMPROVJWjs.STEPS; exports.STEP_SEMITONES = _chunkPMPROVJWjs.STEP_SEMITONES; exports.ValidationException = _chunkJF5TM534js.ValidationException; exports.addArticulation = _chunkASPCIBWDjs.addArticulation; exports.addBeam = _chunkASPCIBWDjs.addBeam; exports.addBowing = _chunkASPCIBWDjs.addBowing; exports.addBreathMark = _chunkASPCIBWDjs.addBreathMark; exports.addCaesura = _chunkASPCIBWDjs.addCaesura; exports.addChord = _chunkASPCIBWDjs.addChord; exports.addChordNote = _chunkASPCIBWDjs.addChordNote; exports.addChordNoteChecked = _chunkASPCIBWDjs.addChordNoteChecked; exports.addChordSymbol = _chunkASPCIBWDjs.addChordSymbol; exports.addCoda = _chunkASPCIBWDjs.addCoda; exports.addDaCapo = _chunkASPCIBWDjs.addDaCapo; exports.addDalSegno = _chunkASPCIBWDjs.addDalSegno; exports.addDynamics = _chunkASPCIBWDjs.addDynamics; exports.addEnding = _chunkASPCIBWDjs.addEnding; exports.addFermata = _chunkASPCIBWDjs.addFermata; exports.addFine = _chunkASPCIBWDjs.addFine; exports.addFingering = _chunkASPCIBWDjs.addFingering; exports.addGraceNote = _chunkASPCIBWDjs.addGraceNote; exports.addHarmony = _chunkASPCIBWDjs.addHarmony; exports.addLyric = _chunkASPCIBWDjs.addLyric; exports.addNote = _chunkASPCIBWDjs.addNote; exports.addNoteChecked = _chunkASPCIBWDjs.addNoteChecked; exports.addOctaveShift = _chunkASPCIBWDjs.addOctaveShift; exports.addOrnament = _chunkASPCIBWDjs.addOrnament; exports.addPart = _chunkASPCIBWDjs.addPart; exports.addPedal = _chunkASPCIBWDjs.addPedal; exports.addRehearsalMark = _chunkASPCIBWDjs.addRehearsalMark; exports.addRepeat = _chunkASPCIBWDjs.addRepeat; exports.addRepeatBarline = _chunkASPCIBWDjs.addRepeatBarline; exports.addSegno = _chunkASPCIBWDjs.addSegno; exports.addSlur = _chunkASPCIBWDjs.addSlur; exports.addStringNumber = _chunkASPCIBWDjs.addStringNumber; exports.addTempo = _chunkASPCIBWDjs.addTempo; exports.addText = _chunkASPCIBWDjs.addText; exports.addTextDirection = _chunkASPCIBWDjs.addTextDirection; exports.addTie = _chunkASPCIBWDjs.addTie; exports.addToCoda = _chunkASPCIBWDjs.addToCoda; exports.addVoice = _chunkASPCIBWDjs.addVoice; exports.addWedge = _chunkASPCIBWDjs.addWedge; exports.assertMeasureValid = _chunkJF5TM534js.assertMeasureValid; exports.assertValid = _chunkJF5TM534js.assertValid; exports.autoBeam = _chunkASPCIBWDjs.autoBeam; exports.buildVoiceToStaffMap = _chunkPMPROVJWjs.buildVoiceToStaffMap; exports.buildVoiceToStaffMapForPart = _chunkPMPROVJWjs.buildVoiceToStaffMapForPart; exports.changeBarline = _chunkASPCIBWDjs.changeBarline; exports.changeClef = _chunkASPCIBWDjs.changeClef; exports.changeKey = _chunkASPCIBWDjs.changeKey; exports.changeNoteDuration = _chunkASPCIBWDjs.changeNoteDuration; exports.changeTime = _chunkASPCIBWDjs.changeTime; exports.clearColors = _chunkASPCIBWDjs.clearColors; exports.convertToGrace = _chunkASPCIBWDjs.convertToGrace; exports.copyNotes = _chunkASPCIBWDjs.copyNotes; exports.copyNotesMultiMeasure = _chunkASPCIBWDjs.copyNotesMultiMeasure; exports.countNotes = _chunkPMPROVJWjs.countNotes; exports.createTuplet = _chunkASPCIBWDjs.createTuplet; exports.cutNotes = _chunkASPCIBWDjs.cutNotes; exports.deleteMeasure = _chunkASPCIBWDjs.deleteMeasure; exports.deleteNote = _chunkASPCIBWDjs.deleteNote; exports.deleteNoteChecked = _chunkASPCIBWDjs.deleteNoteChecked; exports.duplicatePart = _chunkASPCIBWDjs.duplicatePart; exports.exportMidi = _chunk6EKVRPFFjs.exportMidi; exports.exportMidiWithTimingMap = _chunk6EKVRPFFjs.exportMidiWithTimingMap; exports.extractPlaybackControls = _chunk626TXMVPjs.extractPlaybackControls; exports.findBarlines = _chunkPMPROVJWjs.findBarlines; exports.findDirectionsByType = _chunkPMPROVJWjs.findDirectionsByType; exports.findNotes = _chunkPMPROVJWjs.findNotes; exports.findNotesWithNotation = _chunkPMPROVJWjs.findNotesWithNotation; exports.formatLocation = _chunkJF5TM534js.formatLocation; exports.generateId = _chunk5EK7K5X3js.generateId; exports.generatePlaybackSequence = _chunk626TXMVPjs.generatePlaybackSequence; exports.generatePlaybackTimeline = _chunk626TXMVPjs.generatePlaybackTimeline; exports.getAbsolutePosition = _chunkPMPROVJWjs.getAbsolutePosition; exports.getAdjacentNotes = _chunkPMPROVJWjs.getAdjacentNotes; exports.getAllNotes = _chunkPMPROVJWjs.getAllNotes; exports.getAllPartInfos = _chunkOEX7NVZNjs.getAllPartInfos; exports.getAttributesAtMeasure = _chunkPMPROVJWjs.getAttributesAtMeasure; exports.getBeamGroups = _chunkPMPROVJWjs.getBeamGroups; exports.getChordProgression = _chunkPMPROVJWjs.getChordProgression; exports.getChords = _chunkPMPROVJWjs.getChords; exports.getClefChanges = _chunkPMPROVJWjs.getClefChanges; exports.getClefForStaff = _chunkPMPROVJWjs.getClefForStaff; exports.getDirectionOfKind = _chunkOEX7NVZNjs.getDirectionOfKind; exports.getDirections = _chunkPMPROVJWjs.getDirections; exports.getDirectionsAtPosition = _chunkPMPROVJWjs.getDirectionsAtPosition; exports.getDirectionsOfKind = _chunkOEX7NVZNjs.getDirectionsOfKind; exports.getDivisions = _chunkPMPROVJWjs.getDivisions; exports.getDuration = _chunkPMPROVJWjs.getDuration; exports.getDynamics = _chunkPMPROVJWjs.getDynamics; exports.getEffectiveStaff = _chunkPMPROVJWjs.getEffectiveStaff; exports.getEndings = _chunkPMPROVJWjs.getEndings; exports.getEntriesAtPosition = _chunkPMPROVJWjs.getEntriesAtPosition; exports.getEntriesForStaff = _chunkPMPROVJWjs.getEntriesForStaff; exports.getEntriesInRange = _chunkPMPROVJWjs.getEntriesInRange; exports.getHarmonies = _chunkPMPROVJWjs.getHarmonies; exports.getHarmonyAtPosition = _chunkPMPROVJWjs.getHarmonyAtPosition; exports.getKeyChanges = _chunkPMPROVJWjs.getKeyChanges; exports.getLyricText = _chunkPMPROVJWjs.getLyricText; exports.getLyrics = _chunkPMPROVJWjs.getLyrics; exports.getMeasure = _chunkPMPROVJWjs.getMeasure; exports.getMeasureByIndex = _chunkPMPROVJWjs.getMeasureByIndex; exports.getMeasureContext = _chunkJF5TM534js.getMeasureContext; exports.getMeasureCount = _chunkPMPROVJWjs.getMeasureCount; exports.getMeasureEndPosition = _chunkPMPROVJWjs.getMeasureEndPosition; exports.getNextNote = _chunkPMPROVJWjs.getNextNote; exports.getNormalizedDuration = _chunkPMPROVJWjs.getNormalizedDuration; exports.getNormalizedPosition = _chunkPMPROVJWjs.getNormalizedPosition; exports.getNotesAtPosition = _chunkPMPROVJWjs.getNotesAtPosition; exports.getNotesForStaff = _chunkPMPROVJWjs.getNotesForStaff; exports.getNotesForVoice = _chunkPMPROVJWjs.getNotesForVoice; exports.getNotesInRange = _chunkPMPROVJWjs.getNotesInRange; exports.getOctaveShifts = _chunkPMPROVJWjs.getOctaveShifts; exports.getPartAbbreviation = _chunkOEX7NVZNjs.getPartAbbreviation; exports.getPartById = _chunkPMPROVJWjs.getPartById; exports.getPartByIndex = _chunkPMPROVJWjs.getPartByIndex; exports.getPartCount = _chunkPMPROVJWjs.getPartCount; exports.getPartIds = _chunkPMPROVJWjs.getPartIds; exports.getPartIndex = _chunkPMPROVJWjs.getPartIndex; exports.getPartInfo = _chunkOEX7NVZNjs.getPartInfo; exports.getPartName = _chunkOEX7NVZNjs.getPartName; exports.getPartNameMap = _chunkOEX7NVZNjs.getPartNameMap; exports.getPedalMarkings = _chunkPMPROVJWjs.getPedalMarkings; exports.getPrevNote = _chunkPMPROVJWjs.getPrevNote; exports.getRepeatStructure = _chunkPMPROVJWjs.getRepeatStructure; exports.getSlurSpans = _chunkPMPROVJWjs.getSlurSpans; exports.getSoundDamperPedal = _chunkOEX7NVZNjs.getSoundDamperPedal; exports.getSoundDynamics = _chunkOEX7NVZNjs.getSoundDynamics; exports.getSoundSoftPedal = _chunkOEX7NVZNjs.getSoundSoftPedal; exports.getSoundSostenutoPedal = _chunkOEX7NVZNjs.getSoundSostenutoPedal; exports.getSoundTempo = _chunkOEX7NVZNjs.getSoundTempo; exports.getStaffRange = _chunkPMPROVJWjs.getStaffRange; exports.getStaveCount = _chunkPMPROVJWjs.getStaveCount; exports.getStaves = _chunkPMPROVJWjs.getStaves; exports.getStructuralChanges = _chunkPMPROVJWjs.getStructuralChanges; exports.getTempoMarkings = _chunkPMPROVJWjs.getTempoMarkings; exports.getTiedNoteGroups = _chunkPMPROVJWjs.getTiedNoteGroups; exports.getTimeChanges = _chunkPMPROVJWjs.getTimeChanges; exports.getTupletGroups = _chunkPMPROVJWjs.getTupletGroups; exports.getVerseCount = _chunkPMPROVJWjs.getVerseCount; exports.getVerticalSlice = _chunkPMPROVJWjs.getVerticalSlice; exports.getVoiceLine = _chunkPMPROVJWjs.getVoiceLine; exports.getVoiceLineInRange = _chunkPMPROVJWjs.getVoiceLineInRange; exports.getVoices = _chunkPMPROVJWjs.getVoices; exports.getVoicesForStaff = _chunkPMPROVJWjs.getVoicesForStaff; exports.getWedges = _chunkPMPROVJWjs.getWedges; exports.groupByStaff = _chunkPMPROVJWjs.groupByStaff; exports.groupByVoice = _chunkPMPROVJWjs.groupByVoice; exports.hasBeam = _chunkOEX7NVZNjs.hasBeam; exports.hasDirectionOfKind = _chunkOEX7NVZNjs.hasDirectionOfKind; exports.hasLyrics = _chunkOEX7NVZNjs.hasLyrics; exports.hasMultipleStaves = _chunkPMPROVJWjs.hasMultipleStaves; exports.hasNotations = _chunkOEX7NVZNjs.hasNotations; exports.hasNotes = _chunkPMPROVJWjs.hasNotes; exports.hasPlaybackControls = _chunk626TXMVPjs.hasPlaybackControls; exports.hasTie = _chunkOEX7NVZNjs.hasTie; exports.hasTieStart = _chunkOEX7NVZNjs.hasTieStart; exports.hasTieStop = _chunkOEX7NVZNjs.hasTieStop; exports.hasTuplet = _chunkOEX7NVZNjs.hasTuplet; exports.inferStaff = _chunkPMPROVJWjs.inferStaff; exports.insertClefChange = _chunkASPCIBWDjs.insertClefChange; exports.insertMeasure = _chunkASPCIBWDjs.insertMeasure; exports.insertNote = _chunkASPCIBWDjs.insertNote; exports.isChordNote = _chunkOEX7NVZNjs.isChordNote; exports.isCompressed = _chunk7D4MLQKOjs.isCompressed; exports.isCueNote = _chunkOEX7NVZNjs.isCueNote; exports.isGraceNote = _chunkOEX7NVZNjs.isGraceNote; exports.isPartInfo = _chunkOEX7NVZNjs.isPartInfo; exports.isPitchedNote = _chunkOEX7NVZNjs.isPitchedNote; exports.isRest = _chunkOEX7NVZNjs.isRest; exports.isRestMeasure = _chunkPMPROVJWjs.isRestMeasure; exports.isUnpitchedNote = _chunkOEX7NVZNjs.isUnpitchedNote; exports.isValid = _chunkJF5TM534js.isValid; exports.iterateEntries = _chunkPMPROVJWjs.iterateEntries; exports.iterateNotes = _chunkPMPROVJWjs.iterateNotes; exports.lowerAccidental = _chunkASPCIBWDjs.lowerAccidental; exports.measureRoundtrip = _chunkPMPROVJWjs.measureRoundtrip; exports.modifyDynamics = _chunkASPCIBWDjs.modifyDynamics; exports.modifyNoteDuration = _chunkASPCIBWDjs.modifyNoteDuration; exports.modifyNoteDurationChecked = _chunkASPCIBWDjs.modifyNoteDurationChecked; exports.modifyNotePitch = _chunkASPCIBWDjs.modifyNotePitch; exports.modifyNotePitchChecked = _chunkASPCIBWDjs.modifyNotePitchChecked; exports.modifyTempo = _chunkASPCIBWDjs.modifyTempo; exports.moveNoteToStaff = _chunkASPCIBWDjs.moveNoteToStaff; exports.parse = _chunkHP4DAUGTjs.parse; exports.parseAbc = _chunkNIUEAHPNjs.parseAbc; exports.parseAbcTunes = _chunkNIUEAHPNjs.parseAbcTunes; exports.parseAuto = _chunk7D4MLQKOjs.parseAuto; exports.parseCompressed = _chunk7D4MLQKOjs.parseCompressed; exports.pasteNotes = _chunkASPCIBWDjs.pasteNotes; exports.pasteNotesMultiMeasure = _chunkASPCIBWDjs.pasteNotesMultiMeasure; exports.pitchToSemitone = _chunkPMPROVJWjs.pitchToSemitone; exports.raiseAccidental = _chunkASPCIBWDjs.raiseAccidental; exports.removeArticulation = _chunkASPCIBWDjs.removeArticulation; exports.removeBeam = _chunkASPCIBWDjs.removeBeam; exports.removeBowing = _chunkASPCIBWDjs.removeBowing; exports.removeBreathMark = _chunkASPCIBWDjs.removeBreathMark; exports.removeCaesura = _chunkASPCIBWDjs.removeCaesura; exports.removeChordSymbol = _chunkASPCIBWDjs.removeChordSymbol; exports.removeDynamics = _chunkASPCIBWDjs.removeDynamics; exports.removeEnding = _chunkASPCIBWDjs.removeEnding; exports.removeFermata = _chunkASPCIBWDjs.removeFermata; exports.removeFingering = _chunkASPCIBWDjs.removeFingering; exports.removeGraceNote = _chunkASPCIBWDjs.removeGraceNote; exports.removeHarmony = _chunkASPCIBWDjs.removeHarmony; exports.removeLyric = _chunkASPCIBWDjs.removeLyric; exports.removeNote = _chunkASPCIBWDjs.removeNote; exports.removeOctaveShift = _chunkASPCIBWDjs.removeOctaveShift; exports.removeOrnament = _chunkASPCIBWDjs.removeOrnament; exports.removePart = _chunkASPCIBWDjs.removePart; exports.removePedal = _chunkASPCIBWDjs.removePedal; exports.removeRepeat = _chunkASPCIBWDjs.removeRepeat; exports.removeRepeatBarline = _chunkASPCIBWDjs.removeRepeatBarline; exports.removeSlur = _chunkASPCIBWDjs.removeSlur; exports.removeStringNumber = _chunkASPCIBWDjs.removeStringNumber; exports.removeTempo = _chunkASPCIBWDjs.removeTempo; exports.removeTie = _chunkASPCIBWDjs.removeTie; exports.removeTuplet = _chunkASPCIBWDjs.removeTuplet; exports.removeWedge = _chunkASPCIBWDjs.removeWedge; exports.scoresEqual = _chunkPMPROVJWjs.scoresEqual; exports.serialize = _chunk2EH2MGBYjs.serialize; exports.serializeAbc = _chunkZSEJQPBOjs.serializeAbc; exports.serializeAbcTunes = _chunkZSEJQPBOjs.serializeAbcTunes; exports.serializeCompressed = _chunkA2CGW2UFjs.serializeCompressed; exports.serializeUnchecked = _chunk2EH2MGBYjs.serializeUnchecked; exports.setBarline = _chunkASPCIBWDjs.setBarline; exports.setBeaming = _chunkASPCIBWDjs.setBeaming; exports.setColor = _chunkASPCIBWDjs.setColor; exports.setNotePitch = _chunkASPCIBWDjs.setNotePitch; exports.setNotePitchBySemitone = _chunkASPCIBWDjs.setNotePitchBySemitone; exports.setStaves = _chunkASPCIBWDjs.setStaves; exports.shiftNotePitch = _chunkASPCIBWDjs.shiftNotePitch; exports.stopOctaveShift = _chunkASPCIBWDjs.stopOctaveShift; exports.transpose = _chunkASPCIBWDjs.transpose; exports.transposeChecked = _chunkASPCIBWDjs.transposeChecked; exports.updateChordSymbol = _chunkASPCIBWDjs.updateChordSymbol; exports.updateHarmony = _chunkASPCIBWDjs.updateHarmony; exports.updateLyric = _chunkASPCIBWDjs.updateLyric; exports.validate = _chunkJF5TM534js.validate; exports.validateBackupForward = _chunkJF5TM534js.validateBackupForward; exports.validateBeams = _chunkJF5TM534js.validateBeams; exports.validateDivisions = _chunkJF5TM534js.validateDivisions; exports.validateMeasureDuration = _chunkJF5TM534js.validateMeasureDuration; exports.validateMeasureLocal = _chunkJF5TM534js.validateMeasureLocal; exports.validatePartReferences = _chunkJF5TM534js.validatePartReferences; exports.validatePartStructure = _chunkJF5TM534js.validatePartStructure; exports.validateSlurs = _chunkJF5TM534js.validateSlurs; exports.validateSlursAcrossMeasures = _chunkJF5TM534js.validateSlursAcrossMeasures; exports.validateStaffStructure = _chunkJF5TM534js.validateStaffStructure; exports.validateTies = _chunkJF5TM534js.validateTies; exports.validateTiesAcrossMeasures = _chunkJF5TM534js.validateTiesAcrossMeasures; exports.validateTuplets = _chunkJF5TM534js.validateTuplets; exports.validateVoiceStaff = _chunkJF5TM534js.validateVoiceStaff; exports.withAbsolutePositions = _chunkPMPROVJWjs.withAbsolutePositions;
|
package/dist/browser.mjs
CHANGED
|
@@ -1,49 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
exportMidiWithTimingMap,
|
|
4
|
-
isCompressed,
|
|
5
|
-
parse,
|
|
6
|
-
parseAbc,
|
|
7
|
-
parseAbcTunes,
|
|
8
|
-
parseAuto,
|
|
9
|
-
parseCompressed,
|
|
10
|
-
serialize,
|
|
11
|
-
serializeAbc,
|
|
12
|
-
serializeAbcTunes,
|
|
13
|
-
serializeCompressed
|
|
14
|
-
} from "./chunk-T2USSS5E.mjs";
|
|
15
|
-
import {
|
|
16
|
-
getAllPartInfos,
|
|
17
|
-
getDirectionOfKind,
|
|
18
|
-
getDirectionsOfKind,
|
|
19
|
-
getPartAbbreviation,
|
|
20
|
-
getPartInfo,
|
|
21
|
-
getPartName,
|
|
22
|
-
getPartNameMap,
|
|
23
|
-
getSoundDamperPedal,
|
|
24
|
-
getSoundDynamics,
|
|
25
|
-
getSoundSoftPedal,
|
|
26
|
-
getSoundSostenutoPedal,
|
|
27
|
-
getSoundTempo,
|
|
28
|
-
hasBeam,
|
|
29
|
-
hasDirectionOfKind,
|
|
30
|
-
hasLyrics,
|
|
31
|
-
hasNotations,
|
|
32
|
-
hasTie,
|
|
33
|
-
hasTieStart,
|
|
34
|
-
hasTieStop,
|
|
35
|
-
hasTuplet,
|
|
36
|
-
isChordNote,
|
|
37
|
-
isCueNote,
|
|
38
|
-
isGraceNote,
|
|
39
|
-
isPartInfo,
|
|
40
|
-
isPitchedNote,
|
|
41
|
-
isRest,
|
|
42
|
-
isUnpitchedNote
|
|
43
|
-
} from "./chunk-R6JMBTUB.mjs";
|
|
1
|
+
import "./chunk-QFYOH4DY.mjs";
|
|
2
|
+
import "./chunk-KJK2IGNN.mjs";
|
|
44
3
|
import {
|
|
45
4
|
ALL_COLOR_TARGETS,
|
|
46
|
-
ValidationException,
|
|
47
5
|
addArticulation,
|
|
48
6
|
addBeam,
|
|
49
7
|
addBowing,
|
|
@@ -83,8 +41,6 @@ import {
|
|
|
83
41
|
addToCoda,
|
|
84
42
|
addVoice,
|
|
85
43
|
addWedge,
|
|
86
|
-
assertMeasureValid,
|
|
87
|
-
assertValid,
|
|
88
44
|
autoBeam,
|
|
89
45
|
changeBarline,
|
|
90
46
|
changeClef,
|
|
@@ -101,13 +57,9 @@ import {
|
|
|
101
57
|
deleteNote,
|
|
102
58
|
deleteNoteChecked,
|
|
103
59
|
duplicatePart,
|
|
104
|
-
formatLocation,
|
|
105
|
-
generateId,
|
|
106
|
-
getMeasureContext,
|
|
107
60
|
insertClefChange,
|
|
108
61
|
insertMeasure,
|
|
109
62
|
insertNote,
|
|
110
|
-
isValid,
|
|
111
63
|
lowerAccidental,
|
|
112
64
|
modifyDynamics,
|
|
113
65
|
modifyNoteDuration,
|
|
@@ -157,36 +109,18 @@ import {
|
|
|
157
109
|
transposeChecked,
|
|
158
110
|
updateChordSymbol,
|
|
159
111
|
updateHarmony,
|
|
160
|
-
updateLyric
|
|
161
|
-
|
|
162
|
-
validateBackupForward,
|
|
163
|
-
validateBeams,
|
|
164
|
-
validateDivisions,
|
|
165
|
-
validateMeasureDuration,
|
|
166
|
-
validateMeasureLocal,
|
|
167
|
-
validatePartReferences,
|
|
168
|
-
validatePartStructure,
|
|
169
|
-
validateSlurs,
|
|
170
|
-
validateSlursAcrossMeasures,
|
|
171
|
-
validateStaffStructure,
|
|
172
|
-
validateTies,
|
|
173
|
-
validateTiesAcrossMeasures,
|
|
174
|
-
validateTuplets,
|
|
175
|
-
validateVoiceStaff
|
|
176
|
-
} from "./chunk-I4X4GRMP.mjs";
|
|
112
|
+
updateLyric
|
|
113
|
+
} from "./chunk-WS5LSW3S.mjs";
|
|
177
114
|
import {
|
|
178
115
|
STEPS,
|
|
179
116
|
STEP_SEMITONES,
|
|
180
117
|
buildVoiceToStaffMap,
|
|
181
118
|
buildVoiceToStaffMapForPart,
|
|
182
119
|
countNotes,
|
|
183
|
-
extractPlaybackControls,
|
|
184
120
|
findBarlines,
|
|
185
121
|
findDirectionsByType,
|
|
186
122
|
findNotes,
|
|
187
123
|
findNotesWithNotation,
|
|
188
|
-
generatePlaybackSequence,
|
|
189
|
-
generatePlaybackTimeline,
|
|
190
124
|
getAbsolutePosition,
|
|
191
125
|
getAdjacentNotes,
|
|
192
126
|
getAllNotes,
|
|
@@ -251,7 +185,6 @@ import {
|
|
|
251
185
|
groupByVoice,
|
|
252
186
|
hasMultipleStaves,
|
|
253
187
|
hasNotes,
|
|
254
|
-
hasPlaybackControls,
|
|
255
188
|
inferStaff,
|
|
256
189
|
isRestMeasure,
|
|
257
190
|
iterateEntries,
|
|
@@ -260,7 +193,97 @@ import {
|
|
|
260
193
|
pitchToSemitone,
|
|
261
194
|
scoresEqual,
|
|
262
195
|
withAbsolutePositions
|
|
263
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-ZRKJKEP7.mjs";
|
|
197
|
+
import {
|
|
198
|
+
isCompressed,
|
|
199
|
+
parseAuto,
|
|
200
|
+
parseCompressed
|
|
201
|
+
} from "./chunk-LFQXT7PV.mjs";
|
|
202
|
+
import {
|
|
203
|
+
serializeCompressed
|
|
204
|
+
} from "./chunk-MMIZQMIO.mjs";
|
|
205
|
+
import {
|
|
206
|
+
parseAbc,
|
|
207
|
+
parseAbcTunes
|
|
208
|
+
} from "./chunk-KYGLANYG.mjs";
|
|
209
|
+
import {
|
|
210
|
+
serializeAbc,
|
|
211
|
+
serializeAbcTunes
|
|
212
|
+
} from "./chunk-QKUNJEVW.mjs";
|
|
213
|
+
import "./chunk-F2UCOAO6.mjs";
|
|
214
|
+
import "./chunk-AOSK4RGV.mjs";
|
|
215
|
+
import {
|
|
216
|
+
exportMidi,
|
|
217
|
+
exportMidiWithTimingMap
|
|
218
|
+
} from "./chunk-BHHOS2E6.mjs";
|
|
219
|
+
import {
|
|
220
|
+
getAllPartInfos,
|
|
221
|
+
getDirectionOfKind,
|
|
222
|
+
getDirectionsOfKind,
|
|
223
|
+
getPartAbbreviation,
|
|
224
|
+
getPartInfo,
|
|
225
|
+
getPartName,
|
|
226
|
+
getPartNameMap,
|
|
227
|
+
getSoundDamperPedal,
|
|
228
|
+
getSoundDynamics,
|
|
229
|
+
getSoundSoftPedal,
|
|
230
|
+
getSoundSostenutoPedal,
|
|
231
|
+
getSoundTempo,
|
|
232
|
+
hasBeam,
|
|
233
|
+
hasDirectionOfKind,
|
|
234
|
+
hasLyrics,
|
|
235
|
+
hasNotations,
|
|
236
|
+
hasTie,
|
|
237
|
+
hasTieStart,
|
|
238
|
+
hasTieStop,
|
|
239
|
+
hasTuplet,
|
|
240
|
+
isChordNote,
|
|
241
|
+
isCueNote,
|
|
242
|
+
isGraceNote,
|
|
243
|
+
isPartInfo,
|
|
244
|
+
isPitchedNote,
|
|
245
|
+
isRest,
|
|
246
|
+
isUnpitchedNote
|
|
247
|
+
} from "./chunk-R6JMBTUB.mjs";
|
|
248
|
+
import {
|
|
249
|
+
extractPlaybackControls,
|
|
250
|
+
generatePlaybackSequence,
|
|
251
|
+
generatePlaybackTimeline,
|
|
252
|
+
hasPlaybackControls
|
|
253
|
+
} from "./chunk-K6DSQPVF.mjs";
|
|
254
|
+
import {
|
|
255
|
+
parse
|
|
256
|
+
} from "./chunk-63UT3IEY.mjs";
|
|
257
|
+
import {
|
|
258
|
+
serialize,
|
|
259
|
+
serializeUnchecked
|
|
260
|
+
} from "./chunk-TCXDBRRT.mjs";
|
|
261
|
+
import {
|
|
262
|
+
ValidationException,
|
|
263
|
+
assertMeasureValid,
|
|
264
|
+
assertValid,
|
|
265
|
+
formatLocation,
|
|
266
|
+
getMeasureContext,
|
|
267
|
+
isValid,
|
|
268
|
+
validate,
|
|
269
|
+
validateBackupForward,
|
|
270
|
+
validateBeams,
|
|
271
|
+
validateDivisions,
|
|
272
|
+
validateMeasureDuration,
|
|
273
|
+
validateMeasureLocal,
|
|
274
|
+
validatePartReferences,
|
|
275
|
+
validatePartStructure,
|
|
276
|
+
validateSlurs,
|
|
277
|
+
validateSlursAcrossMeasures,
|
|
278
|
+
validateStaffStructure,
|
|
279
|
+
validateTies,
|
|
280
|
+
validateTiesAcrossMeasures,
|
|
281
|
+
validateTuplets,
|
|
282
|
+
validateVoiceStaff
|
|
283
|
+
} from "./chunk-SBT2RMUW.mjs";
|
|
284
|
+
import {
|
|
285
|
+
generateId
|
|
286
|
+
} from "./chunk-5VF442RA.mjs";
|
|
264
287
|
export {
|
|
265
288
|
ALL_COLOR_TARGETS,
|
|
266
289
|
STEPS,
|
|
@@ -488,6 +511,7 @@ export {
|
|
|
488
511
|
serializeAbc,
|
|
489
512
|
serializeAbcTunes,
|
|
490
513
|
serializeCompressed,
|
|
514
|
+
serializeUnchecked,
|
|
491
515
|
setBarline,
|
|
492
516
|
setBeaming,
|
|
493
517
|
setColor,
|