forked from JMU-CIME/CPR-Music
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
Doesn't show the 4th step for Bb transposing instruments for Freedom 20240 Band. Error is due to
code: "BadTimePos"
message: "There is no x distance for the time position [16]."
offending json is the 4th step of the "blank" (i.e. pitchesToRest result) as pasted below
{
"score-partwise": {
"$version": "3.1",
"identification": {
"creator": {
"content": "Brittany J. Green",
"$type": "composer"
},
"encoding": {
"software": "Flat",
"encoding-date": "2024-10-31"
},
"source": "https://flat.io/score/62ec0df285c66a0012359804-freedom-2040-the-tomorrow-we-ll-build-melody-bb?sharingKey=8ca1af1cfd5d1470c3f4afd089db3f7078559d9726c88fa8ad8a763306eeb01ed2b9ce6a21b17744ee664259973bc5383acbdf4ab574a0a7e5b7b7974333d01c"
},
"defaults": {
"scaling": {
"millimeters": "7.2319",
"tenths": "40"
},
"page-layout": {
"page-height": "1545",
"page-width": "1194",
"page-margins": {
"$type": "both",
"left-margin": "70",
"right-margin": "70",
"top-margin": "70",
"bottom-margin": "70"
}
},
"system-layout": {
"system-margins": {
"left-margin": "0",
"right-margin": "0"
},
"system-distance": "121",
"top-system-distance": "70"
},
"appearance": {
"line-width": [
{
"content": "0.7487",
"$type": "stem"
},
{
"content": "5",
"$type": "beam"
},
{
"content": "0.7487",
"$type": "staff"
},
{
"content": "0.7487",
"$type": "light barline"
},
{
"content": "5",
"$type": "heavy barline"
},
{
"content": "0.7487",
"$type": "leger"
},
{
"content": "0.7487",
"$type": "ending"
},
{
"content": "0.7487",
"$type": "wedge"
},
{
"content": "0.7487",
"$type": "enclosure"
},
{
"content": "0.7487",
"$type": "tuplet bracket"
}
],
"note-size": [
{
"content": "60",
"$type": "grace"
},
{
"content": "60",
"$type": "cue"
}
],
"distance": [
{
"content": "120",
"$type": "hyphen"
},
{
"content": "7.5",
"$type": "beam"
}
]
},
"music-font": {
"$font-family": "Bravura"
},
"staff-layout": {
"staff-distance": "70.24433413072636"
},
"$adagio-systemBreakPolicy": {
"maxNbMeasuresPerLine": 4,
"forbiddenCounts": {
}
}
},
"credit": [
{
"credit-type": "title",
"credit-words": "Freedom 2040: The Tomorrow We'll Build Melody - Bb "
}
],
"part-list": {
"score-part": [
{
"$id": "P1",
"part-name": {
"content": "Bb",
"$print-object": "no"
},
"part-abbreviation": {
"content": "Bb Tpt.",
"$print-object": "no"
},
"score-instrument": {
"$id": "P1-I1",
"instrument-name": "SmartMusicSoftSynth",
"instrument-sound": "brass.trumpet.bflat",
"virtual-instrument": {
}
},
"midi-device": "SmartMusicSoftSynth",
"midi-instrument": {
"$id": "P1-I1",
"midi-channel": "9",
"midi-bank": "15489",
"midi-program": 57,
"pan": "-34"
},
"uuid": "545dd0e3-5e95-73a1-6687-e2d898a95b41",
"voiceMapping": {
"0": [
0
]
},
"staffMapping": [
{
"voices": [
0
],
"mainVoiceIdx": 0,
"staffUuid": "193fa7ea-468a-890c-04de-50b6adf2e3df"
}
],
"voiceIdxToUuidMapping": {
"0": "93018cbf-ec99-819b-35f9-5494d981ea01"
},
"voiceUuidToIdxMapping": {
"93018cbf-ec99-819b-35f9-5494d981ea01": 0
}
}
]
},
"part": [
{
"$id": "P1",
"measure": [
{
"$number": "13",
"$width": "64",
"harmony": [
{
"root": {
"root-step": "D"
},
"kind": "minor",
"$adagio-kind": "minor",
"$adagio-location": {
"timePos": 0,
"dpq": 8
},
"$type": "explicit",
"staff": "1",
"$placement": "above",
"noteBefore": -1
}
],
"note": [
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 0
}
},
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 2
}
},
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 4
}
},
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 6
}
}
],
"attributes": [
{
"$adagio-time": {
"beats": "4",
"beat-type": "4"
},
"noteBefore": -1,
"$adagio-location": {
"timePos": 0,
"dpq": 1
},
"clef": {
"sign": "G",
"line": "2"
},
"key": {
"fifths": "-1"
},
"divisions": 2,
"time": {
"beats": "4",
"beat-type": "4"
},
"staff-details": {
"staff-lines": "5"
}
}
],
"$adagio-beatsList": [
1,
1,
1,
1
],
"$adagio-restsInsideBeams": false
},
{
"$number": "14",
"$width": "52",
"harmony": [
{
"$default-y": "40",
"root": {
"root-step": "B",
"root-alter": "-1"
},
"kind": {
"content": "major",
"$halign": "center",
"$text": ""
},
"$adagio-location": {
"timePos": 0,
"dpq": 8
},
"staff": "1",
"$placement": "above",
"noteBefore": -1
}
],
"note": [
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 0
}
},
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 8
}
},
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 16
}
},
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 24
}
}
],
"attributes": [
{
"$adagio-time": {
"beats": "4",
"beat-type": "4"
},
"noteBefore": -1,
"$adagio-location": {
"timePos": 0,
"dpq": 1
}
}
],
"$adagio-beatsList": [
1,
1,
1,
1
],
"$adagio-restsInsideBeams": false
},
{
"$number": "15",
"$width": "53",
"harmony": [
{
"root": {
"root-step": "C"
},
"kind": "major",
"$adagio-kind": "major",
"$adagio-location": {
"timePos": 0,
"dpq": 8
},
"$type": "explicit",
"staff": "1",
"$placement": "above",
"noteBefore": -1
},
{
"$default-y": "40",
"root": {
"root-step": "C"
},
"kind": {
"content": "major",
"$halign": "center",
"$text": ""
},
"$adagio-location": {
"timePos": 16,
"dpq": 8
},
"staff": "1",
"$placement": "above",
"noteBefore": 0
}
],
"note": [
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 0
}
},
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 8
}
},
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 16
}
},
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 24
}
}
],
"attributes": [
{
"$adagio-time": {
"beats": "4",
"beat-type": "4"
},
"noteBefore": -1,
"$adagio-location": {
"timePos": 0,
"dpq": 1
}
}
],
"$adagio-beatsList": [
1,
1,
1,
1
],
"$adagio-restsInsideBeams": false
},
{
"$number": "16",
"$width": "45",
"harmony": [
{
"$default-y": "40",
"root": {
"root-step": "F"
},
"kind": {
"content": "major",
"$halign": "center",
"$text": ""
},
"$adagio-location": {
"timePos": 0,
"dpq": 8
},
"staff": "1",
"$placement": "above",
"noteBefore": -1
}
],
"note": [
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 0
}
},
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 8
}
},
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 16
}
},
{
"rest": {
},
"duration": "2",
"$adagio-location": {
"timePos": 24
}
}
],
"barline": {
"$location": "right",
"bar-style": "light-heavy",
"$adagio-location": {
"timePos": 32,
"dpq": 8
},
"noteBefore": 0
},
"attributes": [
{
"$adagio-time": {
"beats": "4",
"beat-type": "4"
},
"noteBefore": -1,
"$adagio-location": {
"timePos": 0,
"dpq": 1
}
}
],
"$adagio-beatsList": [
1,
1,
1,
1
],
"$adagio-restsInsideBeams": false
}
],
"uuid": "545dd0e3-5e95-73a1-6687-e2d898a95b41"
}
],
"measure-list": {
"score-measure": [
{
"uuid": "6ad41529-47f0-a36b-801d-835a2611bdc3"
},
{
"uuid": "a98fe21f-5602-1bb3-955f-d6d5eb157e50"
},
{
"uuid": "0ac6dce9-bb08-c4b5-d3c9-20c499144be3"
},
{
"uuid": "e01ba755-4fd3-d46d-dbce-00e8549d5181"
},
{
"uuid": "c405e296-e94f-a6f3-9d4d-b16005edc8e3"
},
{
"uuid": "cfd17eae-91a0-cab7-8dba-d1a7faef13cd"
},
{
"uuid": "5b066858-d610-2cef-44f3-438aff0dd670"
},
{
"uuid": "8501587d-fbd0-0d03-8d52-cfe76a549a39"
},
{
"uuid": "baa662bb-91dc-0e82-4c26-8aceef87fe64"
},
{
"uuid": "17222d69-a80d-e0a1-d5af-f4d5d0ae595a"
},
{
"uuid": "c4833f83-fb5d-d7de-c14d-85fd36f67019"
},
{
"uuid": "c7e44060-0934-c1f0-47cc-07126a496a49"
},
{
"uuid": "31309c39-53dd-5411-f636-a92902a0594e"
},
{
"uuid": "8146aceb-8d6b-ac1d-9616-bd3413c64411"
},
{
"uuid": "bfa52274-446e-4bd0-69ad-2b2417795475"
},
{
"uuid": "6901782f-e5fc-b937-7ecf-15e4b273ee52"
}
]
},
"$adagio-formatVersion": 60,
"work": {
"work-title": "Freedom 2040: The Tomorrow We'll Build Melody - Bb "
}
}
}