瀏覽代碼

fix: natural accidental not showing (#320) (#321)

* fix(natural accidental): display natural accidentals (again)

fix #320 (regression)
the AccidentalEnum.NONE is ambiguous because for VexflowConverter it means NATURAL, but elsewhere it means no accidental.

* natural accidental: add NATURAL enum == NONE, restore usage of NONE

adding a AccidentalEnum.NATURAL = 0 just like NONE makes it clear that our usage of this enum is ambiguous (natural or no accidental)
this restores the usage of NONE for most cases like before the fix, except for where NONE always meant NATURAL previously.

* clarify comment line

* refactor(Accidentals): do not use AccidentalEnums directly for pitch calculation

accidentals now converted from enum to halftone steps by Pitch.HalfTonesFromAccidental()
same for Pitch.AccidentalFromHalfTones()
AccidentalEnum.NONE and AccidentalEnum.NATURAL are clearly differentiated now
can now detect quarter tones between -1 and 0, and 0 and 1 (excluding)

refactor for fix #320 in PR #321

* test(demo): add Downbow to function test_all

* test(demo): remove unsupported ornaments again, remove outdated musescore file
sschmidTU 6 年之前
父節點
當前提交
d381e39990

+ 94 - 18
src/Common/DataObjects/Pitch.ts

@@ -9,17 +9,22 @@ export enum NoteEnum {
     B = 11
     B = 11
 }
 }
 
 
+/** Describes Accidental types.
+ * Do not use the number values of these enum members directly for calculation anymore.
+ * To use these for pitch calculation, use pitch.AccidentalHalfTones()
+ *  or Pitch.HalfTonesFromAccidental(accidentalEnum).
+ */
 export enum AccidentalEnum {
 export enum AccidentalEnum {
-    TRIPLEFLAT = -3,
-    DOUBLEFLAT = -2,
-    FLAT = -1,
-    NONE = 0,
-    SHARP = 1,
-    DOUBLESHARP = 2,
-    TRIPLESHARP = 3,
-    NATURAL = 4,
-    QUARTERTONESHARP = 0.5,
-    QUARTERTONEFLAT = -0.5
+    SHARP,
+    FLAT,
+    NONE,
+    NATURAL,
+    DOUBLESHARP,
+    DOUBLEFLAT,
+    TRIPLESHARP,
+    TRIPLEFLAT,
+    QUARTERTONESHARP,
+    QUARTERTONEFLAT,
 }
 }
 
 
 // This class represents a musical note. The middle A (440 Hz) lies in the octave with the value 1.
 // This class represents a musical note. The middle A (440 Hz) lies in the octave with the value 1.
@@ -69,7 +74,7 @@ export class Pitch {
      * @constructor
      * @constructor
      */
      */
     public static CalculateTransposedHalfTone(pitch: Pitch, transpose: number): { value: number; overflow: number; } {
     public static CalculateTransposedHalfTone(pitch: Pitch, transpose: number): { value: number; overflow: number; } {
-        const newHalfTone: number = <number>pitch.fundamentalNote + <number>pitch.accidental + transpose;
+        const newHalfTone: number = <number>pitch.fundamentalNote + pitch.AccidentalHalfTones + transpose;
         return Pitch.WrapAroundCheck(newHalfTone, 12);
         return Pitch.WrapAroundCheck(newHalfTone, 12);
     }
     }
 
 
@@ -93,19 +98,19 @@ export class Pitch {
 
 
     public static calcFrequency(obj: Pitch|number): number {
     public static calcFrequency(obj: Pitch|number): number {
         let octaveSteps: number = 0;
         let octaveSteps: number = 0;
-        let halftoneSteps: number;
+        let halfToneSteps: number;
         if (obj instanceof Pitch) {
         if (obj instanceof Pitch) {
             // obj is a pitch
             // obj is a pitch
             const pitch: Pitch = obj;
             const pitch: Pitch = obj;
             octaveSteps = pitch.octave - 1;
             octaveSteps = pitch.octave - 1;
-            halftoneSteps = <number>pitch.fundamentalNote - <number>NoteEnum.A + <number>pitch.accidental;
+            halfToneSteps = <number>pitch.fundamentalNote - <number>NoteEnum.A + pitch.AccidentalHalfTones;
         } else if (typeof obj === "number") {
         } else if (typeof obj === "number") {
             // obj is a fractional key
             // obj is a fractional key
             const fractionalKey: number = obj;
             const fractionalKey: number = obj;
-            halftoneSteps = fractionalKey - 57.0;
+            halfToneSteps = fractionalKey - 57.0;
         }
         }
         // Return frequency:
         // Return frequency:
-        return 440.0 * Math.pow(2, octaveSteps) * Math.pow(2, halftoneSteps / 12.0);
+        return 440.0 * Math.pow(2, octaveSteps) * Math.pow(2, halfToneSteps / 12.0);
     }
     }
 
 
     public static calcFractionalKey(frequency: number): number {
     public static calcFractionalKey(frequency: number): number {
@@ -160,10 +165,81 @@ export class Pitch {
         this.fundamentalNote = fundamentalNote;
         this.fundamentalNote = fundamentalNote;
         this.octave = octave;
         this.octave = octave;
         this.accidental = accidental;
         this.accidental = accidental;
-        this.halfTone = <number>(fundamentalNote) + (octave + Pitch.octXmlDiff) * 12 + <number>accidental;
+        this.halfTone = <number>(fundamentalNote) + (octave + Pitch.octXmlDiff) * 12 +
+            Pitch.HalfTonesFromAccidental(accidental);
         this.frequency = Pitch.calcFrequency(this);
         this.frequency = Pitch.calcFrequency(this);
     }
     }
 
 
+    /** Turns an AccidentalEnum into half tone steps for pitch calculation.
+     *
+     */
+    public static HalfTonesFromAccidental(accidental: AccidentalEnum): number {
+        // about equal performance to hashmap/dictionary. could be turned into hashmap for convenience
+        // switch is very slightly faster, but both are negligibly short anyways.
+        switch (accidental) {
+            // ordered from most to least common to improve average runtime
+            case AccidentalEnum.NONE:
+                return 0;
+            case AccidentalEnum.SHARP:
+                return 1;
+            case AccidentalEnum.FLAT:
+                return -1;
+            case AccidentalEnum.NATURAL:
+                return 0;
+            case AccidentalEnum.DOUBLESHARP:
+                return 2;
+            case AccidentalEnum.DOUBLEFLAT:
+                return -2;
+            case AccidentalEnum.QUARTERTONESHARP:
+                return 0.5;
+            case AccidentalEnum.QUARTERTONEFLAT:
+                return -0.5;
+            case AccidentalEnum.TRIPLESHARP: // very rare, in some classical pieces
+                return 3;
+            case AccidentalEnum.TRIPLEFLAT:
+                return -3;
+            default:
+                throw new Error("Unhandled AccidentalEnum value");
+                // return 0;
+        }
+    }
+
+    public static AccidentalFromHalfTones(halfTones: number): AccidentalEnum {
+        switch (halfTones) {
+            case 0:
+                // for enharmonic change, we won't get a Natural accidental. Maybe there are edge cases though?
+                return AccidentalEnum.NONE;
+            case 1:
+                return AccidentalEnum.SHARP;
+            case -1:
+                return AccidentalEnum.FLAT;
+            case 2:
+                return AccidentalEnum.DOUBLESHARP;
+            case -2:
+                return AccidentalEnum.DOUBLEFLAT;
+            case 0.5:
+                return AccidentalEnum.QUARTERTONESHARP;
+            case -0.5:
+                return AccidentalEnum.QUARTERTONEFLAT;
+            case 3:
+                return AccidentalEnum.TRIPLESHARP;
+            case -3:
+                return AccidentalEnum.TRIPLEFLAT;
+            default:
+                if (halfTones > 0 && halfTones < 1) {
+                    return AccidentalEnum.QUARTERTONESHARP;
+                } else if (halfTones < 0 && halfTones > -1) {
+                    return AccidentalEnum.QUARTERTONEFLAT;
+                }
+                // potentially unhandled or broken accidental halfTone value
+                return AccidentalEnum.QUARTERTONESHARP; // to signal unhandled value
+        }
+    }
+
+    public get AccidentalHalfTones(): number {
+        return Pitch.HalfTonesFromAccidental(this.accidental);
+    }
+
     public get Octave(): number {
     public get Octave(): number {
         return this.octave;
         return this.octave;
     }
     }
@@ -207,13 +283,13 @@ export class Pitch {
             case AccidentalEnum.FLAT:
             case AccidentalEnum.FLAT:
             case AccidentalEnum.DOUBLEFLAT:
             case AccidentalEnum.DOUBLEFLAT:
                 this.fundamentalNote = this.getPreviousFundamentalNote(this.fundamentalNote);
                 this.fundamentalNote = this.getPreviousFundamentalNote(this.fundamentalNote);
-                this.accidental = <AccidentalEnum>(this.halfTone - (<number>(this.fundamentalNote) +
+                this.accidental = Pitch.AccidentalFromHalfTones(this.halfTone - (<number>(this.fundamentalNote) +
                 (this.octave + Pitch.octXmlDiff) * 12));
                 (this.octave + Pitch.octXmlDiff) * 12));
                 break;
                 break;
             case AccidentalEnum.SHARP:
             case AccidentalEnum.SHARP:
             case AccidentalEnum.DOUBLESHARP:
             case AccidentalEnum.DOUBLESHARP:
                 this.fundamentalNote = this.getNextFundamentalNote(this.fundamentalNote);
                 this.fundamentalNote = this.getNextFundamentalNote(this.fundamentalNote);
-                this.accidental = <AccidentalEnum>(this.halfTone - (<number>(this.fundamentalNote) +
+                this.accidental = Pitch.AccidentalFromHalfTones(this.halfTone - (<number>(this.fundamentalNote) +
                 (this.octave + Pitch.octXmlDiff) * 12));
                 (this.octave + Pitch.octXmlDiff) * 12));
                 break;
                 break;
             default:
             default:

+ 6 - 6
src/MusicalScore/Graphical/AccidentalCalculator.ts

@@ -64,22 +64,22 @@ export class AccidentalCalculator {
             if (isInCurrentAlterationsToKeyList) {
             if (isInCurrentAlterationsToKeyList) {
                 this.currentAlterationsComparedToKeyInstructionList.splice(this.currentAlterationsComparedToKeyInstructionList.indexOf(pitchKey), 1);
                 this.currentAlterationsComparedToKeyInstructionList.splice(this.currentAlterationsComparedToKeyInstructionList.indexOf(pitchKey), 1);
             }
             }
-            if (this.currentInMeasureNoteAlterationsDict.getValue(pitchKey) !== pitch.Accidental) {
+            if (this.currentInMeasureNoteAlterationsDict.getValue(pitchKey) !== pitch.AccidentalHalfTones) {
                 if (this.keySignatureNoteAlterationsDict.containsKey(pitchKey) &&
                 if (this.keySignatureNoteAlterationsDict.containsKey(pitchKey) &&
-                    this.keySignatureNoteAlterationsDict.getValue(pitchKey) !== pitch.Accidental) {
+                    this.keySignatureNoteAlterationsDict.getValue(pitchKey) !== pitch.AccidentalHalfTones) {
                     this.currentAlterationsComparedToKeyInstructionList.push(pitchKey);
                     this.currentAlterationsComparedToKeyInstructionList.push(pitchKey);
-                    this.currentInMeasureNoteAlterationsDict.setValue(pitchKey, pitch.Accidental);
+                    this.currentInMeasureNoteAlterationsDict.setValue(pitchKey, pitch.AccidentalHalfTones);
                 } else {
                 } else {
                     this.currentInMeasureNoteAlterationsDict.remove(pitchKey);
                     this.currentInMeasureNoteAlterationsDict.remove(pitchKey);
                 }
                 }
                 MusicSheetCalculator.symbolFactory.addGraphicalAccidental(graphicalNote, pitch);
                 MusicSheetCalculator.symbolFactory.addGraphicalAccidental(graphicalNote, pitch);
             }
             }
         } else {
         } else {
-            if (pitch.Accidental !== AccidentalEnum.NONE) {
+            if (pitch.Accidental !== AccidentalEnum.NONE && pitch.Accidental !== AccidentalEnum.NATURAL) {
                 if (!isInCurrentAlterationsToKeyList) {
                 if (!isInCurrentAlterationsToKeyList) {
                     this.currentAlterationsComparedToKeyInstructionList.push(pitchKey);
                     this.currentAlterationsComparedToKeyInstructionList.push(pitchKey);
                 }
                 }
-                this.currentInMeasureNoteAlterationsDict.setValue(pitchKey, pitch.Accidental);
+                this.currentInMeasureNoteAlterationsDict.setValue(pitchKey, pitch.AccidentalHalfTones);
                 MusicSheetCalculator.symbolFactory.addGraphicalAccidental(graphicalNote, pitch);
                 MusicSheetCalculator.symbolFactory.addGraphicalAccidental(graphicalNote, pitch);
             } else {
             } else {
                 if (isInCurrentAlterationsToKeyList) {
                 if (isInCurrentAlterationsToKeyList) {
@@ -102,7 +102,7 @@ export class AccidentalCalculator {
         this.currentAlterationsComparedToKeyInstructionList.length = 0;
         this.currentAlterationsComparedToKeyInstructionList.length = 0;
         for (let octave: number = -9; octave < 9; octave++) {
         for (let octave: number = -9; octave < 9; octave++) {
             for (let i: number = 0; i < noteEnums.length; i++) {
             for (let i: number = 0; i < noteEnums.length; i++) {
-                this.keySignatureNoteAlterationsDict.setValue(<number>noteEnums[i] + octave * 12, keyAccidentalType);
+                this.keySignatureNoteAlterationsDict.setValue(<number>noteEnums[i] + octave * 12, Pitch.HalfTonesFromAccidental(keyAccidentalType));
             }
             }
         }
         }
         this.doCalculationsAtEndOfMeasure();
         this.doCalculationsAtEndOfMeasure();

+ 1 - 1
src/MusicalScore/Graphical/VexFlow/VexFlowGraphicalSymbolFactory.ts

@@ -119,8 +119,8 @@ export class VexFlowGraphicalSymbolFactory implements IGraphicalSymbolFactory {
      * @param pitch The pitch which will be rendered.
      * @param pitch The pitch which will be rendered.
      */
      */
     public addGraphicalAccidental(graphicalNote: GraphicalNote, pitch: Pitch): void {
     public addGraphicalAccidental(graphicalNote: GraphicalNote, pitch: Pitch): void {
-        // ToDo: set accidental here from pitch.Accidental
         const note: VexFlowGraphicalNote = (graphicalNote as VexFlowGraphicalNote);
         const note: VexFlowGraphicalNote = (graphicalNote as VexFlowGraphicalNote);
+        // accidental is added in setPitch
         note.setPitch(pitch);
         note.setPitch(pitch);
     }
     }
 
 

+ 8 - 8
src/MusicalScore/ScoreIO/MusicSymbolModules/ArticulationReader.ts

@@ -9,26 +9,26 @@ export class ArticulationReader {
 
 
   private getAccEnumFromString(input: string): AccidentalEnum {
   private getAccEnumFromString(input: string): AccidentalEnum {
     switch (input) {
     switch (input) {
-      case "natural":
-        return AccidentalEnum.NATURAL;
       case "sharp":
       case "sharp":
         return AccidentalEnum.SHARP;
         return AccidentalEnum.SHARP;
+      case "flat":
+          return AccidentalEnum.FLAT;
+      case "natural":
+        return AccidentalEnum.NATURAL;
       case "double-sharp":
       case "double-sharp":
       case "sharp-sharp":
       case "sharp-sharp":
         return AccidentalEnum.DOUBLESHARP;
         return AccidentalEnum.DOUBLESHARP;
-      case "triple-sharp":
-        return AccidentalEnum.TRIPLESHARP;
-      case "flat":
-        return AccidentalEnum.FLAT;
       case "double-flat":
       case "double-flat":
       case "flat-flat":
       case "flat-flat":
         return AccidentalEnum.DOUBLEFLAT;
         return AccidentalEnum.DOUBLEFLAT;
-      case "triple-flat":
-        return AccidentalEnum.TRIPLEFLAT;
       case "quarter-sharp":
       case "quarter-sharp":
         return AccidentalEnum.QUARTERTONESHARP;
         return AccidentalEnum.QUARTERTONESHARP;
       case "quarter-flat":
       case "quarter-flat":
         return AccidentalEnum.QUARTERTONEFLAT;
         return AccidentalEnum.QUARTERTONEFLAT;
+      case "triple-sharp":
+          return AccidentalEnum.TRIPLESHARP;
+      case "triple-flat":
+        return AccidentalEnum.TRIPLEFLAT;
       default:
       default:
         return AccidentalEnum.NONE;
         return AccidentalEnum.NONE;
     }
     }

+ 9 - 11
src/MusicalScore/ScoreIO/VoiceGenerator.ts

@@ -296,7 +296,8 @@ export class VoiceGenerator {
    */
    */
   private addSingleNote(node: IXmlElement, noteDuration: Fraction, chord: boolean, guitarPro: boolean): Note {
   private addSingleNote(node: IXmlElement, noteDuration: Fraction, chord: boolean, guitarPro: boolean): Note {
     //log.debug("addSingleNote called");
     //log.debug("addSingleNote called");
-    let noteAlter: AccidentalEnum = AccidentalEnum.NONE;
+    let noteAlter: number = 0;
+    let noteAccidental: AccidentalEnum = AccidentalEnum.NONE;
     let noteStep: NoteEnum = NoteEnum.C;
     let noteStep: NoteEnum = NoteEnum.C;
     let noteOctave: number = 0;
     let noteOctave: number = 0;
     let playbackInstrumentId: string = undefined;
     let playbackInstrumentId: string = undefined;
@@ -328,15 +329,7 @@ export class VoiceGenerator {
                   this.musicSheet.SheetErrors.pushMeasureError(errorMsg);
                   this.musicSheet.SheetErrors.pushMeasureError(errorMsg);
                   throw new MusicSheetReadingException(errorMsg, undefined);
                   throw new MusicSheetReadingException(errorMsg, undefined);
                 }
                 }
-                if (noteAlter === 0.5) {
-                  noteAlter = AccidentalEnum.QUARTERTONESHARP;
-                } else if (noteAlter === -0.5) {
-                  noteAlter = AccidentalEnum.QUARTERTONEFLAT;
-                } else if (noteAlter === 3) {
-                  noteAlter = AccidentalEnum.TRIPLESHARP;
-                } else if (noteAlter === -3) {
-                  noteAlter = AccidentalEnum.TRIPLEFLAT;
-                }
+                noteAccidental = Pitch.AccidentalFromHalfTones(noteAlter); // potentially overwritten by "accidental" noteElement
               } else if (pitchElement.name === "octave") {
               } else if (pitchElement.name === "octave") {
                 noteOctave = parseInt(pitchElement.value, 10);
                 noteOctave = parseInt(pitchElement.value, 10);
                 if (isNaN(noteOctave)) {
                 if (isNaN(noteOctave)) {
@@ -352,6 +345,11 @@ export class VoiceGenerator {
             }
             }
 
 
           }
           }
+        } else if (noteElement.name === "accidental") {
+          const accidentalValue: string = noteElement.value;
+          if (accidentalValue === "natural") {
+            noteAccidental = AccidentalEnum.NATURAL;
+          }
         } else if (noteElement.name === "unpitched") {
         } else if (noteElement.name === "unpitched") {
           const displayStep: IXmlElement = noteElement.element("display-step");
           const displayStep: IXmlElement = noteElement.element("display-step");
           if (displayStep !== undefined) {
           if (displayStep !== undefined) {
@@ -375,7 +373,7 @@ export class VoiceGenerator {
     }
     }
 
 
     noteOctave -= Pitch.OctaveXmlDifference;
     noteOctave -= Pitch.OctaveXmlDifference;
-    const pitch: Pitch = new Pitch(noteStep, noteOctave, noteAlter);
+    const pitch: Pitch = new Pitch(noteStep, noteOctave, noteAccidental);
     const noteLength: Fraction = Fraction.createFromFraction(noteDuration);
     const noteLength: Fraction = Fraction.createFromFraction(noteDuration);
     const note: Note = new Note(this.currentVoiceEntry, this.currentStaffEntry, noteLength, pitch);
     const note: Note = new Note(this.currentVoiceEntry, this.currentStaffEntry, noteLength, pitch);
     note.PlaybackInstrumentId = playbackInstrumentId;
     note.PlaybackInstrumentId = playbackInstrumentId;

+ 1 - 1
src/MusicalScore/VoiceData/VoiceEntry.ts

@@ -194,7 +194,7 @@ export class VoiceEntry {
                 const higherPitch: Pitch = baseNote.Pitch.getTransposedPitch(1);
                 const higherPitch: Pitch = baseNote.Pitch.getTransposedPitch(1);
                 let alteration: AccidentalEnum = activeKey.getAlterationForPitch(higherPitch);
                 let alteration: AccidentalEnum = activeKey.getAlterationForPitch(higherPitch);
                 if (voiceEntryWithOrnament.OrnamentContainer.AccidentalAbove !== AccidentalEnum.NONE) {
                 if (voiceEntryWithOrnament.OrnamentContainer.AccidentalAbove !== AccidentalEnum.NONE) {
-                    alteration = <AccidentalEnum><number>voiceEntryWithOrnament.ornamentContainer.AccidentalAbove;
+                    alteration = voiceEntryWithOrnament.ornamentContainer.AccidentalAbove;
                 }
                 }
                 for (let i: number = 0; i < 8; i++) {
                 for (let i: number = 0; i < 8; i++) {
                     currentTimestamp = Fraction.plus(baseTimestamp, new Fraction(i * length.Numerator, length.Denominator));
                     currentTimestamp = Fraction.plus(baseTimestamp, new Fraction(i * length.Numerator, length.Denominator));

二進制
test/data/OSMD_function_test_all.mscz


+ 132 - 137
test/data/OSMD_function_test_all.xml

@@ -6,8 +6,8 @@
     </work>
     </work>
   <identification>
   <identification>
     <encoding>
     <encoding>
-      <software>MuseScore 2.3.1</software>
-      <encoding-date>2018-08-01</encoding-date>
+      <software>MuseScore 2.3.2</software>
+      <encoding-date>2018-08-17</encoding-date>
       <supports element="accidental" type="yes"/>
       <supports element="accidental" type="yes"/>
       <supports element="beam" type="yes"/>
       <supports element="beam" type="yes"/>
       <supports element="print" attribute="new-page" type="yes" value="yes"/>
       <supports element="print" attribute="new-page" type="yes" value="yes"/>
@@ -59,14 +59,14 @@
       </score-part>
       </score-part>
     </part-list>
     </part-list>
   <part id="P1">
   <part id="P1">
-    <measure number="1" width="205.05">
+    <measure number="1" width="235.69">
       <print>
       <print>
         <system-layout>
         <system-layout>
           <system-margins>
           <system-margins>
-            <left-margin>0.00</left-margin>
-            <right-margin>-0.00</right-margin>
+            <left-margin>-0.00</left-margin>
+            <right-margin>0.00</right-margin>
             </system-margins>
             </system-margins>
-          <top-system-distance>195.00</top-system-distance>
+          <top-system-distance>170.00</top-system-distance>
           </system-layout>
           </system-layout>
         </print>
         </print>
       <attributes>
       <attributes>
@@ -97,15 +97,10 @@
           </lyric>
           </lyric>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="2" width="120.56">
+    <measure number="2" width="154.60">
       <direction placement="above">
       <direction placement="above">
         <direction-type>
         <direction-type>
-          <words default-y="40.00" relative-x="-75.25" relative-y="19.26" font-weight="bold" font-size="12">Ornaments</words>
-          </direction-type>
-        </direction>
-      <direction placement="above">
-        <direction-type>
-          <words default-y="40.00" relative-x="-75.25" relative-y="19.26" font-weight="bold" font-size="12">Ornaments</words>
+          <words default-y="40.00" relative-x="-7.51" relative-y="19.52" font-weight="bold" font-size="12">Ornaments</words>
           </direction-type>
           </direction-type>
         </direction>
         </direction>
       <note default-x="24.26" default-y="-20.00">
       <note default-x="24.26" default-y="-20.00">
@@ -127,7 +122,7 @@
           <text>Trill</text>
           <text>Trill</text>
           </lyric>
           </lyric>
         </note>
         </note>
-      <note default-x="71.43" default-y="-15.00">
+      <note default-x="88.45" default-y="-15.00">
         <pitch>
         <pitch>
           <step>C</step>
           <step>C</step>
           <octave>5</octave>
           <octave>5</octave>
@@ -147,14 +142,14 @@
           </lyric>
           </lyric>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="3" width="64.00">
+    <measure number="3" width="94.64">
       <note>
       <note>
         <rest/>
         <rest/>
         <duration>16</duration>
         <duration>16</duration>
         <voice>1</voice>
         <voice>1</voice>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="4" width="169.72">
+    <measure number="4" width="203.76">
       <note default-x="62.57" default-y="-40.00">
       <note default-x="62.57" default-y="-40.00">
         <pitch>
         <pitch>
           <step>E</step>
           <step>E</step>
@@ -181,7 +176,7 @@
         <type>half</type>
         <type>half</type>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="5" width="95.88">
+    <measure number="5" width="129.92">
       <note default-x="25.65" default-y="-5.00">
       <note default-x="25.65" default-y="-5.00">
         <pitch>
         <pitch>
           <step>E</step>
           <step>E</step>
@@ -208,7 +203,7 @@
         <type>half</type>
         <type>half</type>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="6" width="133.60">
+    <measure number="6" width="164.24">
       <note default-x="42.81" default-y="-10.00">
       <note default-x="42.81" default-y="-10.00">
         <pitch>
         <pitch>
           <step>D</step>
           <step>D</step>
@@ -235,15 +230,24 @@
         <type>half</type>
         <type>half</type>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="7" width="64.00">
+    <measure number="7" width="94.64">
       <note>
       <note>
         <rest/>
         <rest/>
         <duration>16</duration>
         <duration>16</duration>
         <voice>1</voice>
         <voice>1</voice>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="8" width="224.69">
-      <note default-x="85.85" default-y="-20.00">
+    <measure number="8" width="1077.49">
+      <print new-system="yes">
+        <system-layout>
+          <system-margins>
+            <left-margin>-0.00</left-margin>
+            <right-margin>0.00</right-margin>
+            </system-margins>
+          <system-distance>97.03</system-distance>
+          </system-layout>
+        </print>
+      <note default-x="125.98" default-y="-20.00">
         <pitch>
         <pitch>
           <step>B</step>
           <step>B</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -254,15 +258,15 @@
         <stem>down</stem>
         <stem>down</stem>
         <notations>
         <notations>
           <ornaments>
           <ornaments>
-            <delayed-turn/>
+            <turn/>
             </ornaments>
             </ornaments>
           </notations>
           </notations>
-        <lyric number="1" default-x="6.94" default-y="-80.00" relative-x="3.06" relative-y="6.12">
+        <lyric number="1" default-x="6.94" default-y="-80.00">
           <syllabic>single</syllabic>
           <syllabic>single</syllabic>
           <text>DelayedOrnaments</text>
           <text>DelayedOrnaments</text>
           </lyric>
           </lyric>
         </note>
         </note>
-      <note default-x="182.20" default-y="-15.00">
+      <note default-x="600.76" default-y="-15.00">
         <pitch>
         <pitch>
           <step>C</step>
           <step>C</step>
           <octave>5</octave>
           <octave>5</octave>
@@ -277,13 +281,13 @@
       <print new-system="yes">
       <print new-system="yes">
         <system-layout>
         <system-layout>
           <system-margins>
           <system-margins>
-            <left-margin>0.00</left-margin>
+            <left-margin>-0.00</left-margin>
             <right-margin>0.00</right-margin>
             <right-margin>0.00</right-margin>
             </system-margins>
             </system-margins>
-          <system-distance>94.25</system-distance>
+          <system-distance>97.03</system-distance>
           </system-layout>
           </system-layout>
         </print>
         </print>
-      <note default-x="49.07" default-y="-40.00">
+      <note default-x="49.08" default-y="-40.00">
         <pitch>
         <pitch>
           <step>E</step>
           <step>E</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -293,11 +297,6 @@
         <type>quarter</type>
         <type>quarter</type>
         <dot/>
         <dot/>
         <stem>up</stem>
         <stem>up</stem>
-        <notations>
-          <ornaments>
-            <delayed-inverted-turn/>
-            </ornaments>
-          </notations>
         </note>
         </note>
       <note default-x="341.71" default-y="-35.00">
       <note default-x="341.71" default-y="-35.00">
         <pitch>
         <pitch>
@@ -340,14 +339,14 @@
         <type>quarter</type>
         <type>quarter</type>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="10" width="312.48">
+    <measure number="10" width="332.16">
       <print new-system="yes">
       <print new-system="yes">
         <system-layout>
         <system-layout>
           <system-margins>
           <system-margins>
-            <left-margin>0.00</left-margin>
-            <right-margin>-0.00</right-margin>
+            <left-margin>-0.00</left-margin>
+            <right-margin>0.00</right-margin>
             </system-margins>
             </system-margins>
-          <system-distance>94.25</system-distance>
+          <system-distance>97.03</system-distance>
           </system-layout>
           </system-layout>
         </print>
         </print>
       <note default-x="96.95" default-y="-15.00">
       <note default-x="96.95" default-y="-15.00">
@@ -364,10 +363,10 @@
           </lyric>
           </lyric>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="11" width="352.42">
+    <measure number="11" width="313.05">
       <direction placement="above">
       <direction placement="above">
         <direction-type>
         <direction-type>
-          <words default-y="40.00" relative-x="-42.85" relative-y="18.29" font-weight="bold" font-size="12">Articulations</words>
+          <words default-y="40.00" relative-x="-10.51" relative-y="19.52" font-weight="bold" font-size="12">Articulations</words>
           </direction-type>
           </direction-type>
         </direction>
         </direction>
       <note default-x="37.27" default-y="-10.00">
       <note default-x="37.27" default-y="-10.00">
@@ -390,7 +389,7 @@
           <text>Upbow</text>
           <text>Upbow</text>
           </lyric>
           </lyric>
         </note>
         </note>
-      <note default-x="80.55" default-y="-5.00">
+      <note default-x="78.20" default-y="-5.00">
         <pitch>
         <pitch>
           <step>E</step>
           <step>E</step>
           <octave>5</octave>
           <octave>5</octave>
@@ -412,7 +411,7 @@
         <voice>1</voice>
         <voice>1</voice>
         <type>quarter</type>
         <type>quarter</type>
         </note>
         </note>
-      <note default-x="193.09" default-y="0.00">
+      <note default-x="176.02" default-y="0.00">
         <pitch>
         <pitch>
           <step>F</step>
           <step>F</step>
           <octave>5</octave>
           <octave>5</octave>
@@ -423,14 +422,12 @@
         <stem>up</stem>
         <stem>up</stem>
         <beam number="1">begin</beam>
         <beam number="1">begin</beam>
         <notations>
         <notations>
-          <fermata type="upright"/>
+          <technical>
+            <down-bow/>
+            </technical>
           </notations>
           </notations>
-        <lyric number="1" default-x="6.58" default-y="-80.00" relative-y="-7.79">
-          <syllabic>single</syllabic>
-          <text>Fermata</text>
-          </lyric>
         </note>
         </note>
-      <note default-x="238.28" default-y="-5.00">
+      <note default-x="213.64" default-y="-5.00">
         <pitch>
         <pitch>
           <step>E</step>
           <step>E</step>
           <octave>5</octave>
           <octave>5</octave>
@@ -440,6 +437,11 @@
         <type>eighth</type>
         <type>eighth</type>
         <stem>up</stem>
         <stem>up</stem>
         <beam number="1">end</beam>
         <beam number="1">end</beam>
+        <notations>
+          <technical>
+            <down-bow/>
+            </technical>
+          </notations>
         </note>
         </note>
       <note>
       <note>
         <rest/>
         <rest/>
@@ -448,7 +450,7 @@
         <type>quarter</type>
         <type>quarter</type>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="12" width="412.59">
+    <measure number="12" width="432.28">
       <note default-x="45.24" default-y="-30.00">
       <note default-x="45.24" default-y="-30.00">
         <pitch>
         <pitch>
           <step>G</step>
           <step>G</step>
@@ -485,7 +487,7 @@
             </technical>
             </technical>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="137.85" default-y="-25.00">
+      <note default-x="141.79" default-y="-25.00">
         <pitch>
         <pitch>
           <step>A</step>
           <step>A</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -496,7 +498,7 @@
         <stem>up</stem>
         <stem>up</stem>
         <beam number="1">continue</beam>
         <beam number="1">continue</beam>
         </note>
         </note>
-      <note default-x="181.57" default-y="-45.00">
+      <note default-x="189.44" default-y="-45.00">
         <pitch>
         <pitch>
           <step>D</step>
           <step>D</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -507,7 +509,7 @@
         <stem>up</stem>
         <stem>up</stem>
         <beam number="1">end</beam>
         <beam number="1">end</beam>
         </note>
         </note>
-      <note default-x="234.86" default-y="-5.00">
+      <note default-x="238.58" default-y="-5.00">
         <pitch>
         <pitch>
           <step>E</step>
           <step>E</step>
           <octave>5</octave>
           <octave>5</octave>
@@ -522,12 +524,12 @@
             <snap-pizzicato/>
             <snap-pizzicato/>
             </technical>
             </technical>
           </notations>
           </notations>
-        <lyric number="1" default-x="6.58" default-y="-80.00" relative-x="-4.15" relative-y="-17.41">
+        <lyric number="1" default-x="6.58" default-y="-80.00" relative-y="-15.01">
           <syllabic>single</syllabic>
           <syllabic>single</syllabic>
           <text>SnapPizz</text>
           <text>SnapPizz</text>
           </lyric>
           </lyric>
         </note>
         </note>
-      <note default-x="279.85" default-y="-35.00">
+      <note default-x="287.73" default-y="-35.00">
         <pitch>
         <pitch>
           <step>F</step>
           <step>F</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -543,7 +545,7 @@
             </technical>
             </technical>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="323.57" default-y="-45.00">
+      <note default-x="335.38" default-y="-45.00">
         <pitch>
         <pitch>
           <step>D</step>
           <step>D</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -554,7 +556,7 @@
         <stem>down</stem>
         <stem>down</stem>
         <beam number="1">continue</beam>
         <beam number="1">continue</beam>
         </note>
         </note>
-      <note default-x="367.28" default-y="-15.00">
+      <note default-x="383.03" default-y="-15.00">
         <pitch>
         <pitch>
           <step>C</step>
           <step>C</step>
           <octave>5</octave>
           <octave>5</octave>
@@ -566,17 +568,17 @@
         <beam number="1">end</beam>
         <beam number="1">end</beam>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="13" width="480.79">
+    <measure number="13" width="466.57">
       <print new-system="yes">
       <print new-system="yes">
         <system-layout>
         <system-layout>
           <system-margins>
           <system-margins>
-            <left-margin>0.00</left-margin>
+            <left-margin>-0.00</left-margin>
             <right-margin>0.00</right-margin>
             <right-margin>0.00</right-margin>
             </system-margins>
             </system-margins>
-          <system-distance>94.25</system-distance>
+          <system-distance>97.03</system-distance>
           </system-layout>
           </system-layout>
         </print>
         </print>
-      <note default-x="103.08" default-y="-40.00">
+      <note default-x="102.03" default-y="-40.00">
         <pitch>
         <pitch>
           <step>E</step>
           <step>E</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -591,7 +593,7 @@
             <staccatissimo/>
             <staccatissimo/>
             </articulations>
             </articulations>
           </notations>
           </notations>
-        <lyric number="1" default-x="6.58" default-y="-80.00" relative-x="-1.05" relative-y="-6.27">
+        <lyric number="1" default-x="6.58" default-y="-80.00">
           <syllabic>single</syllabic>
           <syllabic>single</syllabic>
           <text>Staccatissimo</text>
           <text>Staccatissimo</text>
           </lyric>
           </lyric>
@@ -612,7 +614,7 @@
             </articulations>
             </articulations>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="214.02" default-y="-45.00">
+      <note default-x="211.18" default-y="-45.00">
         <pitch>
         <pitch>
           <step>D</step>
           <step>D</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -623,7 +625,7 @@
         <stem>up</stem>
         <stem>up</stem>
         <beam number="1">continue</beam>
         <beam number="1">continue</beam>
         </note>
         </note>
-      <note default-x="257.39" default-y="-25.00">
+      <note default-x="251.70" default-y="-25.00">
         <pitch>
         <pitch>
           <step>A</step>
           <step>A</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -634,7 +636,7 @@
         <stem>up</stem>
         <stem>up</stem>
         <beam number="1">end</beam>
         <beam number="1">end</beam>
         </note>
         </note>
-      <note default-x="303.24" default-y="-50.00">
+      <note default-x="297.55" default-y="-50.00">
         <pitch>
         <pitch>
           <step>C</step>
           <step>C</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -654,7 +656,7 @@
           <text>Staccato</text>
           <text>Staccato</text>
           </lyric>
           </lyric>
         </note>
         </note>
-      <note default-x="349.09" default-y="-30.00">
+      <note default-x="343.40" default-y="-30.00">
         <pitch>
         <pitch>
           <step>G</step>
           <step>G</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -670,7 +672,7 @@
             </articulations>
             </articulations>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="392.46" default-y="-35.00">
+      <note default-x="383.93" default-y="-35.00">
         <pitch>
         <pitch>
           <step>F</step>
           <step>F</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -681,7 +683,7 @@
         <stem>up</stem>
         <stem>up</stem>
         <beam number="1">continue</beam>
         <beam number="1">continue</beam>
         </note>
         </note>
-      <note default-x="435.83" default-y="-55.00">
+      <note default-x="424.45" default-y="-55.00">
         <pitch>
         <pitch>
           <step>B</step>
           <step>B</step>
           <octave>3</octave>
           <octave>3</octave>
@@ -693,7 +695,7 @@
         <beam number="1">end</beam>
         <beam number="1">end</beam>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="14" width="264.00">
+    <measure number="14" width="292.45">
       <note default-x="36.26" default-y="-50.00">
       <note default-x="36.26" default-y="-50.00">
         <pitch>
         <pitch>
           <step>C</step>
           <step>C</step>
@@ -714,7 +716,7 @@
           <text>Tenuto</text>
           <text>Tenuto</text>
           </lyric>
           </lyric>
         </note>
         </note>
-      <note default-x="76.18" default-y="-30.00">
+      <note default-x="92.20" default-y="-30.00">
         <pitch>
         <pitch>
           <step>G</step>
           <step>G</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -730,33 +732,26 @@
             </articulations>
             </articulations>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="114.98" default-y="-30.00">
+      <note default-x="147.78" default-y="-30.00">
         <pitch>
         <pitch>
           <step>G</step>
           <step>G</step>
           <octave>4</octave>
           <octave>4</octave>
           </pitch>
           </pitch>
-        <duration>4</duration>
-        <voice>1</voice>
-        <type>quarter</type>
-        <stem>up</stem>
-        </note>
-      <note default-x="176.69" default-y="-35.00">
-        <pitch>
-          <step>F</step>
-          <octave>4</octave>
-          </pitch>
-        <duration>8</duration>
+        <duration>12</duration>
         <voice>1</voice>
         <voice>1</voice>
         <type>half</type>
         <type>half</type>
+        <dot/>
         <stem>up</stem>
         <stem>up</stem>
         <notations>
         <notations>
-          <articulations>
-            <tenuto/>
-            </articulations>
+          <fermata type="upright"/>
           </notations>
           </notations>
+        <lyric number="1" default-x="6.22" default-y="-80.00">
+          <syllabic>single</syllabic>
+          <text>Fermata</text>
+          </lyric>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="15" width="332.70">
+    <measure number="15" width="318.48">
       <note default-x="47.11" default-y="-30.00">
       <note default-x="47.11" default-y="-30.00">
         <pitch>
         <pitch>
           <step>G</step>
           <step>G</step>
@@ -776,7 +771,7 @@
           <text>Fingering</text>
           <text>Fingering</text>
           </lyric>
           </lyric>
         </note>
         </note>
-      <note default-x="126.88" default-y="-35.00">
+      <note default-x="122.90" default-y="-35.00">
         <pitch>
         <pitch>
           <step>F</step>
           <step>F</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -792,7 +787,7 @@
             </technical>
             </technical>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="172.26" default-y="-40.00">
+      <note default-x="166.01" default-y="-40.00">
         <pitch>
         <pitch>
           <step>E</step>
           <step>E</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -808,7 +803,7 @@
             </technical>
             </technical>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="217.65" default-y="-45.00">
+      <note default-x="209.11" default-y="-45.00">
         <pitch>
         <pitch>
           <step>D</step>
           <step>D</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -825,7 +820,7 @@
             </technical>
             </technical>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="246.01" default-y="-40.00">
+      <note default-x="236.05" default-y="-40.00">
         <pitch>
         <pitch>
           <step>E</step>
           <step>E</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -842,7 +837,7 @@
             </technical>
             </technical>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="274.37" default-y="-35.00">
+      <note default-x="262.99" default-y="-35.00">
         <pitch>
         <pitch>
           <step>F</step>
           <step>F</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -859,7 +854,7 @@
             </technical>
             </technical>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="302.73" default-y="-45.00">
+      <note default-x="289.93" default-y="-45.00">
         <pitch>
         <pitch>
           <step>D</step>
           <step>D</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -872,14 +867,14 @@
         <beam number="2">end</beam>
         <beam number="2">end</beam>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="16" width="128.12">
+    <measure number="16" width="126.44">
       <print new-system="yes">
       <print new-system="yes">
         <system-layout>
         <system-layout>
           <system-margins>
           <system-margins>
-            <left-margin>0.00</left-margin>
+            <left-margin>-0.00</left-margin>
             <right-margin>0.00</right-margin>
             <right-margin>0.00</right-margin>
             </system-margins>
             </system-margins>
-          <system-distance>94.25</system-distance>
+          <system-distance>97.03</system-distance>
           </system-layout>
           </system-layout>
         </print>
         </print>
       <note>
       <note>
@@ -888,10 +883,10 @@
         <voice>1</voice>
         <voice>1</voice>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="17" width="290.83">
+    <measure number="17" width="295.87">
       <direction placement="above">
       <direction placement="above">
         <direction-type>
         <direction-type>
-          <words default-y="40.00" relative-x="-67.33" relative-y="-0.71" font-weight="bold" font-size="12">Grace Notes</words>
+          <words default-y="40.00" font-weight="bold" font-size="12">Grace Notes</words>
           </direction-type>
           </direction-type>
         </direction>
         </direction>
       <note default-x="32.71" default-y="-35.00">
       <note default-x="32.71" default-y="-35.00">
@@ -944,7 +939,7 @@
           <slur type="stop" number="1"/>
           <slur type="stop" number="1"/>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="172.81" default-y="20.00">
+      <note default-x="167.76" default-y="20.00">
         <grace/>
         <grace/>
         <pitch>
         <pitch>
           <step>C</step>
           <step>C</step>
@@ -952,12 +947,12 @@
           </pitch>
           </pitch>
         <voice>1</voice>
         <voice>1</voice>
         <type>eighth</type>
         <type>eighth</type>
-        <stem>down</stem>
+        <stem>up</stem>
         <notations>
         <notations>
           <slur type="start" number="1"/>
           <slur type="start" number="1"/>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="184.52" default-y="-30.00">
+      <note default-x="186.21" default-y="-30.00">
         <pitch>
         <pitch>
           <step>G</step>
           <step>G</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -970,7 +965,7 @@
           <slur type="stop" number="1"/>
           <slur type="stop" number="1"/>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="218.43" default-y="-30.00">
+      <note default-x="221.80" default-y="-30.00">
         <grace/>
         <grace/>
         <pitch>
         <pitch>
           <step>G</step>
           <step>G</step>
@@ -985,7 +980,7 @@
           <slur type="start" number="1"/>
           <slur type="start" number="1"/>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="236.87" default-y="-25.00">
+      <note default-x="240.24" default-y="-25.00">
         <pitch>
         <pitch>
           <step>A</step>
           <step>A</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -999,7 +994,7 @@
           </notations>
           </notations>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="18" width="276.18">
+    <measure number="18" width="274.50">
       <note default-x="7.75" default-y="-20.00">
       <note default-x="7.75" default-y="-20.00">
         <grace/>
         <grace/>
         <pitch>
         <pitch>
@@ -1026,7 +1021,7 @@
           <slur type="stop" number="1"/>
           <slur type="stop" number="1"/>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="63.49" default-y="-20.00">
+      <note default-x="62.64" default-y="-20.00">
         <grace/>
         <grace/>
         <pitch>
         <pitch>
           <step>B</step>
           <step>B</step>
@@ -1036,7 +1031,7 @@
         <type>eighth</type>
         <type>eighth</type>
         <stem>up</stem>
         <stem>up</stem>
         </note>
         </note>
-      <note default-x="81.93" default-y="-25.00">
+      <note default-x="81.09" default-y="-25.00">
         <pitch>
         <pitch>
           <step>A</step>
           <step>A</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -1046,7 +1041,7 @@
         <type>quarter</type>
         <type>quarter</type>
         <stem>up</stem>
         <stem>up</stem>
         </note>
         </note>
-      <note default-x="121.85" default-y="-30.00">
+      <note default-x="121.01" default-y="-30.00">
         <grace slash="yes"/>
         <grace slash="yes"/>
         <pitch>
         <pitch>
           <step>G</step>
           <step>G</step>
@@ -1059,7 +1054,7 @@
           <slur type="start" number="1"/>
           <slur type="start" number="1"/>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="140.29" default-y="-25.00">
+      <note default-x="139.45" default-y="-25.00">
         <pitch>
         <pitch>
           <step>A</step>
           <step>A</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -1076,7 +1071,7 @@
           <text>GraceSlash</text>
           <text>GraceSlash</text>
           </lyric>
           </lyric>
         </note>
         </note>
-      <note default-x="200.40" default-y="-20.00">
+      <note default-x="199.56" default-y="-20.00">
         <grace slash="yes"/>
         <grace slash="yes"/>
         <pitch>
         <pitch>
           <step>B</step>
           <step>B</step>
@@ -1089,7 +1084,7 @@
           <slur type="start" number="1"/>
           <slur type="start" number="1"/>
           </notations>
           </notations>
         </note>
         </note>
-      <note default-x="218.85" default-y="-25.00">
+      <note default-x="218.01" default-y="-25.00">
         <pitch>
         <pitch>
           <step>A</step>
           <step>A</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -1103,7 +1098,7 @@
           </notations>
           </notations>
         </note>
         </note>
       </measure>
       </measure>
-    <measure number="19" width="382.36">
+    <measure number="19" width="380.68">
       <note default-x="65.79" default-y="-30.00">
       <note default-x="65.79" default-y="-30.00">
         <grace/>
         <grace/>
         <pitch>
         <pitch>
@@ -1158,7 +1153,7 @@
         <type>half</type>
         <type>half</type>
         <stem>down</stem>
         <stem>down</stem>
         </note>
         </note>
-      <note default-x="205.81" default-y="-15.00">
+      <note default-x="204.78" default-y="-15.00">
         <grace/>
         <grace/>
         <pitch>
         <pitch>
           <step>C</step>
           <step>C</step>
@@ -1170,7 +1165,7 @@
         <beam number="1">begin</beam>
         <beam number="1">begin</beam>
         <beam number="2">begin</beam>
         <beam number="2">begin</beam>
         </note>
         </note>
-      <note default-x="216.78" default-y="-20.00">
+      <note default-x="215.74" default-y="-20.00">
         <grace/>
         <grace/>
         <pitch>
         <pitch>
           <step>B</step>
           <step>B</step>
@@ -1182,7 +1177,7 @@
         <beam number="1">continue</beam>
         <beam number="1">continue</beam>
         <beam number="2">continue</beam>
         <beam number="2">continue</beam>
         </note>
         </note>
-      <note default-x="227.74" default-y="-25.00">
+      <note default-x="226.71" default-y="-25.00">
         <grace/>
         <grace/>
         <pitch>
         <pitch>
           <step>A</step>
           <step>A</step>
@@ -1194,7 +1189,7 @@
         <beam number="1">continue</beam>
         <beam number="1">continue</beam>
         <beam number="2">continue</beam>
         <beam number="2">continue</beam>
         </note>
         </note>
-      <note default-x="250.16" default-y="-15.00">
+      <note default-x="249.12" default-y="-15.00">
         <grace/>
         <grace/>
         <pitch>
         <pitch>
           <step>C</step>
           <step>C</step>
@@ -1208,7 +1203,7 @@
         <beam number="1">continue</beam>
         <beam number="1">continue</beam>
         <beam number="2">continue</beam>
         <beam number="2">continue</beam>
         </note>
         </note>
-      <note default-x="261.13" default-y="-10.00">
+      <note default-x="260.09" default-y="-10.00">
         <grace/>
         <grace/>
         <pitch>
         <pitch>
           <step>D</step>
           <step>D</step>
@@ -1220,7 +1215,7 @@
         <beam number="1">continue</beam>
         <beam number="1">continue</beam>
         <beam number="2">continue</beam>
         <beam number="2">continue</beam>
         </note>
         </note>
-      <note default-x="283.54" default-y="-25.00">
+      <note default-x="282.51" default-y="-25.00">
         <grace/>
         <grace/>
         <pitch>
         <pitch>
           <step>A</step>
           <step>A</step>
@@ -1234,7 +1229,7 @@
         <beam number="1">continue</beam>
         <beam number="1">continue</beam>
         <beam number="2">continue</beam>
         <beam number="2">continue</beam>
         </note>
         </note>
-      <note default-x="294.51" default-y="-20.00">
+      <note default-x="293.47" default-y="-20.00">
         <grace/>
         <grace/>
         <pitch>
         <pitch>
           <step>B</step>
           <step>B</step>
@@ -1246,7 +1241,7 @@
         <beam number="1">end</beam>
         <beam number="1">end</beam>
         <beam number="2">end</beam>
         <beam number="2">end</beam>
         </note>
         </note>
-      <note default-x="306.22" default-y="-35.00">
+      <note default-x="305.19" default-y="-35.00">
         <pitch>
         <pitch>
           <step>F</step>
           <step>F</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -1261,13 +1256,13 @@
       <print new-system="yes">
       <print new-system="yes">
         <system-layout>
         <system-layout>
           <system-margins>
           <system-margins>
-            <left-margin>0.00</left-margin>
+            <left-margin>-0.00</left-margin>
             <right-margin>0.00</right-margin>
             <right-margin>0.00</right-margin>
             </system-margins>
             </system-margins>
-          <system-distance>94.25</system-distance>
+          <system-distance>97.03</system-distance>
           </system-layout>
           </system-layout>
         </print>
         </print>
-      <note default-x="50.83" default-y="-15.00">
+      <note default-x="50.82" default-y="-15.00">
         <grace/>
         <grace/>
         <pitch>
         <pitch>
           <step>C</step>
           <step>C</step>
@@ -1414,13 +1409,13 @@
       <print new-system="yes">
       <print new-system="yes">
         <system-layout>
         <system-layout>
           <system-margins>
           <system-margins>
-            <left-margin>0.00</left-margin>
+            <left-margin>-0.00</left-margin>
             <right-margin>0.00</right-margin>
             <right-margin>0.00</right-margin>
             </system-margins>
             </system-margins>
-          <system-distance>94.25</system-distance>
+          <system-distance>97.03</system-distance>
           </system-layout>
           </system-layout>
         </print>
         </print>
-      <note default-x="110.62" default-y="-40.00">
+      <note default-x="112.15" default-y="-40.00">
         <pitch>
         <pitch>
           <step>E</step>
           <step>E</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -1429,7 +1424,7 @@
         <voice>1</voice>
         <voice>1</voice>
         <type>quarter</type>
         <type>quarter</type>
         <stem>up</stem>
         <stem>up</stem>
-        <lyric number="1" default-x="6.58" default-y="-80.00" relative-x="1.53" relative-y="4.59">
+        <lyric number="1" default-x="6.58" default-y="-80.00">
           <syllabic>single</syllabic>
           <syllabic>single</syllabic>
           <text>InMeasureClefs</text>
           <text>InMeasureClefs</text>
           </lyric>
           </lyric>
@@ -1440,7 +1435,7 @@
           <line>4</line>
           <line>4</line>
           </clef>
           </clef>
         </attributes>
         </attributes>
-      <note default-x="351.94" default-y="5.00">
+      <note default-x="353.09" default-y="5.00">
         <pitch>
         <pitch>
           <step>B</step>
           <step>B</step>
           <octave>3</octave>
           <octave>3</octave>
@@ -1456,7 +1451,7 @@
           <line>2</line>
           <line>2</line>
           </clef>
           </clef>
         </attributes>
         </attributes>
-      <note default-x="593.26" default-y="-30.00">
+      <note default-x="594.02" default-y="-30.00">
         <pitch>
         <pitch>
           <step>G</step>
           <step>G</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -1472,7 +1467,7 @@
           <line>4</line>
           <line>4</line>
           </clef>
           </clef>
         </attributes>
         </attributes>
-      <note default-x="834.58" default-y="10.00">
+      <note default-x="834.96" default-y="10.00">
         <pitch>
         <pitch>
           <step>C</step>
           <step>C</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -1487,10 +1482,10 @@
       <print new-system="yes">
       <print new-system="yes">
         <system-layout>
         <system-layout>
           <system-margins>
           <system-margins>
-            <left-margin>0.00</left-margin>
-            <right-margin>-0.00</right-margin>
+            <left-margin>-0.00</left-margin>
+            <right-margin>0.00</right-margin>
             </system-margins>
             </system-margins>
-          <system-distance>94.25</system-distance>
+          <system-distance>97.03</system-distance>
           </system-layout>
           </system-layout>
         </print>
         </print>
       <attributes>
       <attributes>
@@ -1508,7 +1503,7 @@
     <measure number="23" width="236.55">
     <measure number="23" width="236.55">
       <direction placement="above">
       <direction placement="above">
         <direction-type>
         <direction-type>
-          <words default-y="40.00" relative-x="-36.99" relative-y="15.04" font-weight="bold" font-size="12">Slurs</words>
+          <words default-y="40.00" font-weight="bold" font-size="12">Slurs</words>
           </direction-type>
           </direction-type>
         </direction>
         </direction>
       <note default-x="27.30" default-y="-40.00">
       <note default-x="27.30" default-y="-40.00">
@@ -1704,13 +1699,13 @@
       <print new-system="yes">
       <print new-system="yes">
         <system-layout>
         <system-layout>
           <system-margins>
           <system-margins>
-            <left-margin>0.00</left-margin>
+            <left-margin>-0.00</left-margin>
             <right-margin>0.00</right-margin>
             <right-margin>0.00</right-margin>
             </system-margins>
             </system-margins>
-          <system-distance>94.25</system-distance>
+          <system-distance>97.03</system-distance>
           </system-layout>
           </system-layout>
         </print>
         </print>
-      <note default-x="49.07" default-y="-50.00">
+      <note default-x="49.08" default-y="-50.00">
         <pitch>
         <pitch>
           <step>C</step>
           <step>C</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -1926,16 +1921,16 @@
         </note>
         </note>
       </measure>
       </measure>
     <measure number="31" width="290.88">
     <measure number="31" width="290.88">
-      <print new-system="yes">
+      <print new-page="yes">
         <system-layout>
         <system-layout>
           <system-margins>
           <system-margins>
-            <left-margin>0.00</left-margin>
+            <left-margin>-0.00</left-margin>
             <right-margin>0.00</right-margin>
             <right-margin>0.00</right-margin>
             </system-margins>
             </system-margins>
-          <system-distance>94.25</system-distance>
+          <top-system-distance>70.00</top-system-distance>
           </system-layout>
           </system-layout>
         </print>
         </print>
-      <note default-x="49.07" default-y="-20.00">
+      <note default-x="49.08" default-y="-20.00">
         <pitch>
         <pitch>
           <step>B</step>
           <step>B</step>
           <octave>4</octave>
           <octave>4</octave>
@@ -2258,7 +2253,7 @@
       <print new-page="yes">
       <print new-page="yes">
         <system-layout>
         <system-layout>
           <system-margins>
           <system-margins>
-            <left-margin>0.00</left-margin>
+            <left-margin>-0.00</left-margin>
             <right-margin>626.14</right-margin>
             <right-margin>626.14</right-margin>
             </system-margins>
             </system-margins>
           <top-system-distance>70.00</top-system-distance>
           <top-system-distance>70.00</top-system-distance>