AaronDavidNewman / Smoosic

A music notation editor written in javascript
Other
100 stars 14 forks source link

Crash in staff modifier when adding measure #5

Closed AaronDavidNewman closed 4 years ago

AaronDavidNewman commented 4 years ago

{ "message": "Cannot read property 'note' of null", "stack": "TypeError: Cannot read property 'note' of null\n at file:///C:/Users/Daddy/Documents/GitHub/VexflowEditor/src/render/sui/layout.js:227:43\n at Array.forEach ()\n at suiScoreLayout._renderModifiers (file:///C:/Users/Daddy/Documents/GitHub/VexflowEditor/src/render/sui/layout.js:209:19)\n at file:///C:/Users/Daddy/Documents/GitHub/VexflowEditor/src/render/sui/scoreLayout.js:290:9\n at Array.forEach ()\n at suiScoreLayout.layout (file:///C:/Users/Daddy/Documents/GitHub/VexflowEditor/src/render/sui/scoreLayout.js:289:21)\n at suiScoreLayout._render (file:///C:/Users/Daddy/Documents/GitHub/VexflowEditor/src/render/sui/layout.js:265:8)\n at file:///C:/Users/Daddy/Documents/GitHub/VexflowEditor/src/render/sui/layout.js:96:10\n at new Promise ()\n at suiScoreLayout.render (file:///C:/Users/Daddy/Documents/GitHub/VexflowEditor/src/render/sui/layout.js:95:19)", "lastOperation": "add measure", "scoreString": { "score": { "layout": { "leftMargin": 30, "rightMargin": 30, "topMargin": 40, "bottomMargin": 40, "pageWidth": 816, "pageHeight": 1056, "orientation": 0, "interGap": 30, "intraGap": 10, "svgScale": 0.7, "zoomScale": 2, "zoomMode": 2, "pageSize": "letter" }, "startIndex": 0, "renumberingMap": {} }, "staves": [ { "staffId": 0, "staffX": 10, "staffY": 40, "adjY": 0, "staffWidth": 1600, "staffHeight": 90, "startIndex": 0, "renumberingMap": {}, "keySignatureMap": { "1": "Bb", "2": "Bb", "3": "Bb", "4": "Bb" }, "instrumentInfo": { "instrumentName": "Treble Instrument", "keyOffset": "0", "clef": "treble" }, "modifiers": [ { "startSelector": { "staff": 0, "measure": 1, "voice": 0, "tick": 0, "pitches": [] }, "endSelector": { "staff": 0, "measure": 1, "voice": 0, "tick": 4, "pitches": [] }, "spacing": 2, "xOffset": 0, "yOffset": 33, "position": "1", "position_end": "1", "invert": false, "cp1x": 0, "cp1y": 55, "cp2x": -1, "cp2y": 40, "attrs": { "id": "auto109205", "type": "SmoSlur" }, "thickness": 2, "ctor": "SmoSlur" } ], "measures": [ { "timeSignature": "4/4", "keySignature": "C", "staffX": 30, "staffY": 40, "measureNumber": { "measureNumber": 0, "measureIndex": 0, "systemIndex": 0, "staffId": 0 }, "staffWidth": 184.06, "activeVoice": 0, "clef": "treble", "transposeIndex": 0, "adjX": 64.98, "adjRight": 11, "padRight": 10, "rightMargin": 2, "tuplets": [], "beamGroups": [], "voices": [ { "notes": [ { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1008", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1009", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1010", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1011", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] } ] } ], "modifiers": [ { "position": 0, "barline": 0, "ctor": "SmoBarline" }, { "position": 1, "barline": 0, "ctor": "SmoBarline" }, { "symbol": 0, "xOffset": 0, "yOffset": 30, "position": 0, "ctor": "SmoRepeatSymbol" } ] }, { "timeSignature": "4/4", "keySignature": "Bb", "staffX": 214.06002807617188, "staffY": 40, "measureNumber": { "measureNumber": 1, "measureIndex": 1, "systemIndex": 1, "staffId": 0 }, "staffWidth": 189.18, "activeVoice": 0, "clef": "treble", "transposeIndex": 0, "adjX": 63.56, "adjRight": 11, "padRight": 10, "rightMargin": 2, "tuplets": [], "beamGroups": [], "voices": [ { "notes": [ { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto287223", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto287224", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto287225", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto287226", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] } ] } ], "modifiers": [ { "position": 0, "barline": 0, "ctor": "SmoBarline" }, { "position": 1, "barline": 0, "ctor": "SmoBarline" }, { "symbol": 0, "xOffset": 0, "yOffset": 30, "position": 0, "ctor": "SmoRepeatSymbol" } ] }, { "timeSignature": "4/4", "keySignature": "Bb", "staffX": 403.24005126953125, "staffY": 40, "measureNumber": { "measureNumber": 2, "measureIndex": 2, "systemIndex": 2, "staffId": 0 }, "staffWidth": 251.24000000000004, "activeVoice": 0, "clef": "treble", "transposeIndex": 0, "adjX": 11, "adjRight": 11, "padRight": 10, "rightMargin": 2, "tuplets": [ { "notes": [ { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 1365, "denominator": 1, "remainder": 1 }, "pitches": [ { "letter": "a", "accidental": "n", "octave": 4 } ], "attrs": { "id": "auto14921", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto14924", "type": "SmoTuplet" }, "beam_group": { "id": "auto287452", "type": "SmoBeamGroup" }, "renderId": "vf-auto287458" }, { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 1365, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "attrs": { "id": "auto14922", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto14924", "type": "SmoTuplet" }, "beam_group": { "id": "auto287452", "type": "SmoBeamGroup" }, "renderId": "vf-auto287465" }, { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 1365, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "c", "accidental": "n", "octave": 5 } ], "attrs": { "id": "auto14923", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto14924", "type": "SmoTuplet" }, "beam_group": { "id": "auto287452", "type": "SmoBeamGroup" }, "renderId": "vf-auto287474" } ], "numNotes": 3, "totalTicks": 4096, "stemTicks": 2048, "durationMap": [ 1, 1, 1 ], "bracketed": true, "ratioed": false, "startIndex": 0, "location": 1, "attrs": { "id": "auto14924", "type": "SmoTuplet" } } ], "beamGroups": [ { "notes": [ { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 1365, "denominator": 1, "remainder": 1 }, "pitches": [ { "letter": "a", "accidental": "n", "octave": 4 } ], "attrs": { "id": "auto14921", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto14924", "type": "SmoTuplet" }, "beam_group": { "id": "auto287452", "type": "SmoBeamGroup" }, "renderId": "vf-auto287458" }, { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 1365, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "attrs": { "id": "auto14922", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto14924", "type": "SmoTuplet" }, "beam_group": { "id": "auto287452", "type": "SmoBeamGroup" }, "renderId": "vf-auto287465" }, { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 1365, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "c", "accidental": "n", "octave": 5 } ], "attrs": { "id": "auto14923", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto14924", "type": "SmoTuplet" }, "beam_group": { "id": "auto287452", "type": "SmoBeamGroup" }, "renderId": "vf-auto287474" } ], "attrs": { "id": "auto287452", "type": "SmoBeamGroup" } }, { "notes": [ { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 2048, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "e", "accidental": "n", "octave": 5 } ], "clef": "treble", "attrs": { "id": "auto7636", "type": "SmoNote" }, "beam_group": { "id": "auto287453", "type": "SmoBeamGroup" }, "renderId": "vf-auto287481" }, { "noteType": "n", "textModifiers": [], "articulations": [ { "ctor": "SmoArticulation", "position": "above", "articulation": "staccato", "attrs": { "id": "auto149672", "type": "SmoArticulation" } } ], "endBeam": false, "ticks": { "numerator": 2048, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "attrs": { "id": "auto6452", "type": "SmoNote" }, "clef": "treble", "renderId": "vf-auto287490", "beam_group": { "id": "auto287453", "type": "SmoBeamGroup" } } ], "attrs": { "id": "auto287453", "type": "SmoBeamGroup" } }, { "notes": [ { "noteType": "n", "textModifiers": [], "articulations": [ { "ctor": "SmoArticulation", "position": "above", "articulation": "tenuto", "attrs": { "id": "auto207865", "type": "SmoArticulation" } }, { "ctor": "SmoArticulation", "position": "above", "articulation": "accent", "attrs": { "id": "auto245755", "type": "SmoArticulation" } } ], "endBeam": false, "ticks": { "numerator": 2048, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "clef": "treble", "attrs": { "id": "auto7640", "type": "SmoNote" }, "beam_group": { "id": "auto287454", "type": "SmoBeamGroup" }, "renderId": "vf-auto287503" }, { "noteType": "n", "textModifiers": [], "articulations": [ { "ctor": "SmoArticulation", "position": "above", "articulation": "tenuto", "attrs": { "id": "auto207866", "type": "SmoArticulation" } }, { "ctor": "SmoArticulation", "position": "above", "articulation": "accent", "attrs": { "id": "auto245756", "type": "SmoArticulation" } } ], "endBeam": false, "ticks": { "numerator": 2048, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "attrs": { "id": "auto6457", "type": "SmoNote" }, "clef": "treble", "renderId": "vf-auto287510", "beam_group": { "id": "auto287454", "type": "SmoBeamGroup" } } ], "attrs": { "id": "auto287454", "type": "SmoBeamGroup" } } ], "voices": [ { "notes": [ { "ticks": { "numerator": 1365, "denominator": 1, "remainder": 1 }, "pitches": [ { "letter": "a", "accidental": "n", "octave": 4 } ], "noteType": "n", "tuplet": { "id": "auto14924", "type": "SmoTuplet" }, "attrs": { "id": "auto14921", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 1365, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "tuplet": { "id": "auto14924", "type": "SmoTuplet" }, "attrs": { "id": "auto14922", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 1365, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "c", "accidental": "n", "octave": 5 } ], "noteType": "n", "tuplet": { "id": "auto14924", "type": "SmoTuplet" }, "attrs": { "id": "auto14923", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 2048, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "e", "accidental": "n", "octave": 5 } ], "noteType": "n", "attrs": { "id": "auto7636", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 2048, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto6452", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto7639", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 2048, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto7640", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 2048, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto6457", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] } ] } ], "modifiers": [ { "position": 0, "barline": 0, "ctor": "SmoBarline" }, { "position": 1, "barline": 0, "ctor": "SmoBarline" }, { "symbol": 0, "xOffset": 0, "yOffset": 30, "position": 0, "ctor": "SmoRepeatSymbol" } ] }, { "timeSignature": "4/4", "keySignature": "Bb", "staffX": 654.4801025390625, "staffY": 40, "measureNumber": { "measureNumber": 3, "measureIndex": 3, "systemIndex": 3, "staffId": 0 }, "staffWidth": 157.1, "activeVoice": 0, "clef": "treble", "transposeIndex": 0, "adjX": 11, "adjRight": 11, "padRight": 10, "rightMargin": 2, "tuplets": [], "beamGroups": [ { "notes": [ { "noteType": "n", "textModifiers": [], "articulations": [ { "ctor": "SmoArticulation", "position": "above", "articulation": "tenuto", "attrs": { "id": "auto207868", "type": "SmoArticulation" } }, { "ctor": "SmoArticulation", "position": "above", "articulation": "accent", "attrs": { "id": "auto245758", "type": "SmoArticulation" } } ], "endBeam": false, "ticks": { "numerator": 2048, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "clef": "treble", "attrs": { "id": "auto7644", "type": "SmoNote" }, "beam_group": { "id": "auto287864", "type": "SmoBeamGroup" }, "renderId": "vf-auto287874" }, { "noteType": "n", "textModifiers": [], "articulations": [ { "ctor": "SmoArticulation", "position": "above", "articulation": "tenuto", "attrs": { "id": "auto207869", "type": "SmoArticulation" } }, { "ctor": "SmoArticulation", "position": "above", "articulation": "accent", "attrs": { "id": "auto245759", "type": "SmoArticulation" } } ], "endBeam": false, "ticks": { "numerator": 2048, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "attrs": { "id": "auto6462", "type": "SmoNote" }, "clef": "treble", "renderId": "vf-auto287881", "beam_group": { "id": "auto287864", "type": "SmoBeamGroup" } } ], "attrs": { "id": "auto287864", "type": "SmoBeamGroup" } } ], "voices": [ { "notes": [ { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto7643", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 2048, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto7644", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 2048, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto6462", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 3 } ], "noteType": "n", "attrs": { "id": "auto1032", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1033", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] } ] } ], "modifiers": [ { "position": 0, "barline": 0, "ctor": "SmoBarline" }, { "position": 1, "barline": 0, "ctor": "SmoBarline" }, { "symbol": 0, "xOffset": 0, "yOffset": 30, "position": 0, "ctor": "SmoRepeatSymbol" } ] }, { "timeSignature": "4/4", "keySignature": "Bb", "staffX": 811.580078125, "staffY": 40, "measureNumber": { "measureNumber": 4, "measureIndex": 4, "systemIndex": 4, "staffId": 0 }, "staffWidth": 130.07999999999998, "activeVoice": 0, "clef": "treble", "transposeIndex": 0, "adjX": 11, "adjRight": 11, "padRight": 10, "rightMargin": 2, "tuplets": [], "beamGroups": [], "voices": [ { "notes": [ { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1041", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1042", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1043", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1044", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] } ] } ], "modifiers": [ { "position": 0, "barline": 0, "ctor": "SmoBarline" }, { "position": 1, "barline": 0, "ctor": "SmoBarline" }, { "symbol": 0, "xOffset": 0, "yOffset": 30, "position": 0, "ctor": "SmoRepeatSymbol" } ] }, { "timeSignature": "4/4", "keySignature": "Bb", "staffX": 941.6600952148438, "staffY": 40, "measureNumber": { "measureNumber": 5, "measureIndex": 5, "systemIndex": 5, "staffId": 0 }, "staffWidth": 130.07999999999998, "activeVoice": 0, "clef": "treble", "transposeIndex": 0, "adjX": 11, "adjRight": 11, "padRight": 10, "rightMargin": 2, "tuplets": [], "beamGroups": [], "voices": [ { "notes": [ { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1052", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1053", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1054", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "b", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1055", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] } ] } ], "modifiers": [ { "position": 0, "barline": 0, "ctor": "SmoBarline" }, { "position": 1, "barline": 0, "ctor": "SmoBarline" }, { "symbol": 0, "xOffset": 0, "yOffset": 30, "position": 0, "ctor": "SmoRepeatSymbol" } ] } ] }, { "staffId": 1, "staffX": 10, "staffY": 40, "adjY": 0, "staffWidth": 1600, "staffHeight": 90, "startIndex": 0, "renumberingMap": {}, "keySignatureMap": { "1": "Bb", "2": "Bb", "3": "Bb", "4": "Bb" }, "instrumentInfo": { "instrumentName": "Treble Instrument", "keyOffset": "0", "clef": "treble" }, "modifiers": [], "measures": [ { "timeSignature": "4/4", "keySignature": "C", "staffX": 30, "staffY": 118.4000015258789, "measureNumber": { "measureNumber": 0, "measureIndex": 0, "systemIndex": 0, "staffId": 1 }, "staffWidth": 184.06, "activeVoice": 0, "clef": "treble", "transposeIndex": "0", "adjX": 64.98, "adjRight": 11, "padRight": 10, "rightMargin": 2, "tuplets": [], "beamGroups": [], "voices": [ { "notes": [ { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1063", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1064", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1065", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1066", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] } ] } ], "modifiers": [ { "position": 0, "barline": 0, "ctor": "SmoBarline" }, { "position": 1, "barline": 0, "ctor": "SmoBarline" }, { "symbol": 0, "xOffset": 0, "yOffset": 30, "position": 0, "ctor": "SmoRepeatSymbol" } ] }, { "timeSignature": "4/4", "keySignature": "Bb", "staffX": 214.06002807617188, "staffY": 118.4000015258789, "measureNumber": { "measureNumber": 1, "measureIndex": 1, "systemIndex": 1, "staffId": 1 }, "staffWidth": 189.18, "activeVoice": 0, "clef": "treble", "transposeIndex": "0", "adjX": 63.56, "adjRight": 11, "padRight": 10, "rightMargin": 2, "tuplets": [], "beamGroups": [], "voices": [ { "notes": [ { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto287234", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto287235", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto287236", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto287237", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] } ] } ], "modifiers": [ { "position": 0, "barline": 0, "ctor": "SmoBarline" }, { "position": 1, "barline": 0, "ctor": "SmoBarline" }, { "symbol": 0, "xOffset": 0, "yOffset": 30, "position": 0, "ctor": "SmoRepeatSymbol" } ] }, { "timeSignature": "4/4", "keySignature": "Bb", "staffX": 403.24005126953125, "staffY": 118.4000015258789, "measureNumber": { "measureNumber": 2, "measureIndex": 2, "systemIndex": 2, "staffId": 1 }, "staffWidth": 136.62, "activeVoice": 0, "clef": "treble", "transposeIndex": "0", "adjX": 11, "adjRight": 11, "padRight": 10, "rightMargin": 2, "tuplets": [], "beamGroups": [], "voices": [ { "notes": [ { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1077", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1078", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1079", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1080", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] } ] } ], "modifiers": [ { "position": 0, "barline": 0, "ctor": "SmoBarline" }, { "position": 1, "barline": 0, "ctor": "SmoBarline" }, { "symbol": 0, "xOffset": 0, "yOffset": 30, "position": 0, "ctor": "SmoRepeatSymbol" } ] }, { "timeSignature": "4/4", "keySignature": "Bb", "staffX": 539.8600463867188, "staffY": 118.4000015258789, "measureNumber": { "measureNumber": 3, "measureIndex": 3, "systemIndex": 3, "staffId": 1 }, "staffWidth": 244.70000000000002, "activeVoice": 0, "clef": "treble", "transposeIndex": "0", "adjX": 11, "adjRight": 11, "padRight": 10, "rightMargin": 2, "tuplets": [ { "notes": [ { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 819, "denominator": 1, "remainder": 1 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 5 } ], "attrs": { "id": "auto23485", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "beam_group": { "id": "auto288006", "type": "SmoBeamGroup" }, "renderId": "vf-auto288030" }, { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 819, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 5 } ], "attrs": { "id": "auto23486", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "beam_group": { "id": "auto288006", "type": "SmoBeamGroup" }, "renderId": "vf-auto288037" }, { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 819, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 5 } ], "attrs": { "id": "auto23487", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "beam_group": { "id": "auto288006", "type": "SmoBeamGroup" }, "renderId": "vf-auto288044" }, { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 819, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 5 } ], "attrs": { "id": "auto23488", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "beam_group": { "id": "auto288006", "type": "SmoBeamGroup" }, "renderId": "vf-auto288051" }, { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 819, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "attrs": { "id": "auto23489", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "beam_group": { "id": "auto288006", "type": "SmoBeamGroup" }, "renderId": "vf-auto288058" } ], "numNotes": 3, "totalTicks": 4096, "stemTicks": 1024, "durationMap": [ 1, 1, 1, 1, 1 ], "bracketed": true, "ratioed": false, "startIndex": 3, "location": 1, "attrs": { "id": "auto23490", "type": "SmoTuplet" } } ], "beamGroups": [ { "notes": [ { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 819, "denominator": 1, "remainder": 1 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 5 } ], "attrs": { "id": "auto23485", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "beam_group": { "id": "auto288006", "type": "SmoBeamGroup" }, "renderId": "vf-auto288030" }, { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 819, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 5 } ], "attrs": { "id": "auto23486", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "beam_group": { "id": "auto288006", "type": "SmoBeamGroup" }, "renderId": "vf-auto288037" }, { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 819, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 5 } ], "attrs": { "id": "auto23487", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "beam_group": { "id": "auto288006", "type": "SmoBeamGroup" }, "renderId": "vf-auto288044" }, { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 819, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 5 } ], "attrs": { "id": "auto23488", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "beam_group": { "id": "auto288006", "type": "SmoBeamGroup" }, "renderId": "vf-auto288051" }, { "noteType": "n", "textModifiers": [], "articulations": [], "endBeam": false, "ticks": { "numerator": 819, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "attrs": { "id": "auto23489", "type": "SmoNote" }, "clef": "treble", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "beam_group": { "id": "auto288006", "type": "SmoBeamGroup" }, "renderId": "vf-auto288058" } ], "attrs": { "id": "auto288006", "type": "SmoBeamGroup" } } ], "voices": [ { "notes": [ { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1091", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1092", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1093", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 819, "denominator": 1, "remainder": 1 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 5 } ], "noteType": "n", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "attrs": { "id": "auto23485", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 819, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 5 } ], "noteType": "n", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "attrs": { "id": "auto23486", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 819, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 5 } ], "noteType": "n", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "attrs": { "id": "auto23487", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 819, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 5 } ], "noteType": "n", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "attrs": { "id": "auto23488", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 819, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "tuplet": { "id": "auto23490", "type": "SmoTuplet" }, "attrs": { "id": "auto23489", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] } ] } ], "modifiers": [ { "position": 0, "barline": 0, "ctor": "SmoBarline" }, { "position": 1, "barline": 0, "ctor": "SmoBarline" }, { "symbol": 0, "xOffset": 0, "yOffset": 30, "position": 0, "ctor": "SmoRepeatSymbol" } ] }, { "timeSignature": "4/4", "keySignature": "Bb", "staffX": 784.5599975585938, "staffY": 118.4000015258789, "measureNumber": { "measureNumber": 4, "measureIndex": 4, "systemIndex": 4, "staffId": 1 }, "staffWidth": 136.62, "activeVoice": 0, "clef": "treble", "transposeIndex": "0", "adjX": 11, "adjRight": 11, "padRight": 10, "rightMargin": 2, "tuplets": [], "beamGroups": [], "voices": [ { "notes": [ { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1105", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1106", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1107", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1108", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] } ] } ], "modifiers": [ { "position": 0, "barline": 0, "ctor": "SmoBarline" }, { "position": 1, "barline": 0, "ctor": "SmoBarline" }, { "symbol": 0, "xOffset": 0, "yOffset": 30, "position": 0, "ctor": "SmoRepeatSymbol" } ] }, { "timeSignature": "4/4", "keySignature": "Bb", "staffX": 921.1799926757812, "staffY": 118.4000015258789, "measureNumber": { "measureNumber": 5, "measureIndex": 5, "systemIndex": 5, "staffId": 1 }, "staffWidth": 136.62, "activeVoice": 0, "clef": "treble", "transposeIndex": "0", "adjX": 11, "adjRight": 11, "padRight": 10, "rightMargin": 2, "tuplets": [], "beamGroups": [], "voices": [ { "notes": [ { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1119", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1120", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1121", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] }, { "ticks": { "numerator": 4096, "denominator": 1, "remainder": 0 }, "pitches": [ { "letter": "b", "accidental": "n", "octave": 4 } ], "noteType": "n", "attrs": { "id": "auto1122", "type": "SmoNote" }, "clef": "treble", "endBeam": false, "noteModifiers": [] } ] } ], "modifiers": [ { "position": 0, "barline": 0, "ctor": "SmoBarline" }, { "position": 1, "barline": 0, "ctor": "SmoBarline" }, { "symbol": 0, "xOffset": 0, "yOffset": 30, "position": 0, "ctor": "SmoRepeatSymbol" } ] } ] } ], "scoreText": [] } }

AaronDavidNewman commented 4 years ago

https://github.com/AaronDavidNewman/Smoosic/commit/4c04d18bd07b4a5a98a0817b3c278827b4ab8677