<?xml version="1.0" encoding="UTF-8"?>
<score xmlns="http://denemo.org/xmlns/Denemo" version="8">
  <scoreheader-directives>
    <directive>
      <tag>ScoreTagline</tag>
      <postfix>tagline =  \markup { \with-url #'"scheme:(d-ScoreTagline)"  ""}

</postfix>
    </directive>
    <directive>
      <tag>BookComposer</tag>
      <postfix>composer = \markup { \with-url #'"scheme:(d-BookComposer)" "Composer"}
</postfix>
      <display>Composer</display>
      <override>36</override>
    </directive>
    <directive>
      <tag>BookArranger</tag>
      <postfix>arranger = \markup { \with-url #'"scheme:(d-BookArranger)" "Edited by Richard Shann"}
</postfix>
      <display>Edited by Richard Shann</display>
      <override>36</override>
    </directive>
    <directive>
      <tag>TaglineLink</tag>
      <postfix>tagline = \markup { \with-url #"http://www.denemo.org" "Created with Denemo the free music notation editor: http://denemo.org"}
</postfix>
      <display>Created with Denemo the free music notation editor: http://denemo.org</display>
      <override>36</override>
    </directive>
    <directive>
      <tag>BookTitle</tag>
      <postfix>title = \markup { \with-url #'"scheme:(d-BookTitle)" "Sonata"}
</postfix>
      <display>Sonata</display>
      <data>Sonata</data>
      <override>36</override>
    </directive>
  </scoreheader-directives>
  <paper-directives>
    <directive>
      <tag>PrintAllHeaders</tag>
      <postfix>
print-all-headers = ##t
</postfix>
      <override>32</override>
    </directive>
    <directive>
      <tag>LimitInterSystemSpace</tag>
      <postfix>
page-limit-inter-system-space = ##t
page-limit-inter-system-space-factor = 1.2</postfix>
      <data>1.2</data>
    </directive>
  </paper-directives>
  <thumbnail>
    <first-staff>1</first-staff>
    <last-staff>3</last-staff>
    <first-measure>1</first-measure>
    <last-measure>3</last-measure>
    <first-obj>0</first-obj>
    <last-obj>2147483647</last-obj>
  </thumbnail>
  <sourcefile>
    <x>1912</x>
    <y>26</y>
    <width>1280</width>
    <height>1005</height>
    <scale>1227</scale>
  </sourcefile>
  <lilycontrol>
    <papersize>a4</papersize>
    <fontsize>22</fontsize>
    <orientation>1</orientation>
    <total-edit-time>48</total-edit-time>
    <score-directives>
      <directive>
        <tag>GlobalTranspose</tag>
        <prefix>#(define DenemoTransposeStep 2)
#(define DenemoTransposeAccidental -1/2)

DenemoGlobalTranspose = #(define-music-function (parser location arg)(ly:music?) #{\transpose c ees#arg #})
</prefix>
        <override>16</override>
      </directive>
      <directive>
        <tag>ScoreIndent</tag>
        <prefix>\layout {indent = 30.0}
</prefix>
        <display>indent=30.0</display>
        <override>4</override>
      </directive>
      <directive>
        <tag>TransposeOnPrint</tag>
        <postfix>\DenemoGlobalTranspose </postfix>
        <display>Print transposed:  c ees </display>
        <override>4</override>
      </directive>
      <directive>
        <tag>TopMargin</tag>
        <prefix>#(define denemo-top-margin 0)
</prefix>
        <data>0</data>
        <override>16</override>
      </directive>
      <directive>
        <tag>LilyPondInclude</tag>
        <prefix>\include "simplified-book-titling.ily"
</prefix>
        <display>Included LilyPond Files</display>
        <data>'("simplified-book-titling.ily")</data>
        <override>268435472</override>
      </directive>
      <directive>
        <tag>Allow
tupletBracketToSlur</tag>
        <prefix>tupletBracketToSlur = {
  % Use slur-stencil
  \override TupletBracket.stencil = #ly:slur::print
  %% Use 'thickness from Slur
  \override TupletBracket.thickness = #1.2
  %% 'control-points need to be set
  \override TupletBracket.control-points =
    #(lambda (grob)
      (let* ((x-pos (ly:grob-property grob 'X-positions))
             (pos (ly:grob-property grob 'positions))
             (x-ln (interval-length x-pos))
             (dir (ly:grob-property grob 'direction))
             ;; read out the height of the TupletBracket, maybe negative!
             (height (- (cdr pos) (car pos)))
             ;; height-corr is introduced because sometimes the shape of the
             ;; slur needs to be adjusted.
             ;; It is used in the 2nd/3rd control-point.
             ;; The value of 0.3 is found by trial and error
             (height-corr (* 0.3 dir height))
             (edge-height (ly:grob-property grob 'edge-height '(0.7 . 0.7)))
             (pad 1.0))
        (list
          ;; first cp
          (cons
            (+ (car x-pos) 0.5)
            (- (+ (* dir pad) (+ (car pos) (* -1 dir (car edge-height))))
              (if (= dir -1)
                  (if (&gt; height 3)
                    (/ dir 2.0)
                    0.0)
                  (if (&lt; height -3)
                    (/ dir 2.0)
                    0.0))))
          ;; second cp
          (cons
            (+ (car x-pos) (* x-ln 1/4))
            (+ (* dir pad) (+ (car pos) (* dir (+ 0.5 height-corr)))))
          ;; third cp
          (cons
            (+ (car x-pos) (* x-ln 3/4))
            (+ (* dir pad) (+ (cdr pos) (* dir (- 0.5 height-corr)))))
          ;; fourth cp
          (cons
            (- (cdr x-pos) 0.5)
            (+ (* dir pad) (+ (cdr pos) (* -1 dir (cdr edge-height)))))
        )))
  \override TupletBracket.staff-padding = #'()
  #(define (invert-direction x) (if (eq? UP (ly:tuplet-bracket::calc-direction x)) DOWN UP))
\override TupletBracket.direction = #invert-direction
}
</prefix>
        <display>tupletBracketToSlur</display>
        <override>16</override>
      </directive>
    </score-directives>
  </lilycontrol>
  <movement-number>1</movement-number>
  <movement>
    <edit-info>
      <staffno>2</staffno>
      <measureno>2</measureno>
      <cursorposition>2</cursorposition>
      <tonalcenter>0</tonalcenter>
      <zoom>100</zoom>
      <system-height>100</system-height>
      <page-zoom>50</page-zoom>
      <page-system-height>25</page-system-height>
      <page-width>1869</page-width>
      <page-height>286</page-height>
      <measure-width>320</measure-width>
    </edit-info>
    <header-directives>
      <directive>
        <tag>SuppressTitleRepeats</tag>
        <postfix>title = ##f
instrument = ##f
</postfix>
      </directive>
    </header-directives>
    <layout-directives>
      <directive>
        <tag>CurvedTupletBrackets</tag>
        <postfix>\tupletBracketToSlur</postfix>
      </directive>
      <directive>
        <tag>PolymetricStaffs</tag>
        <postfix>\context {
              \Score
              \remove "Timing_translator"
              \remove "Default_bar_line_engraver"
              \remove "Repeat_acknowledge_engraver"
              \remove "Volta_engraver"
            }

            \context{
              \Staff
              \consists "Timing_translator"
              \consists "Default_bar_line_engraver"
              \consists "Repeat_acknowledge_engraver"
              \consists "Volta_engraver"
            }</postfix>
      </directive>
    </layout-directives>
    <movementcontrol-directives>
      <directive>
        <tag>TitledPiece</tag>
        <prefix>\titledPiece \markup { \with-url #'"scheme:(d-TitledPiece)" "I - Adagio"}
</prefix>
        <display>I - Adagio</display>
        <override>36</override>
      </directive>
    </movementcontrol-directives>
    <score-info>
      <tempo>
        <duration>
          <numerator>1</numerator>
          <denominator>4</denominator>
        </duration>
        <bpm>120</bpm>
      </tempo>
    </score-info>
    <staves>
      <staff id="id0"></staff>
      <staff id="id1"></staff>
    </staves>
    <voices>
      <voice id="id2">
        <voice-info>
          <voice-name>Treble Recorder</voice-name>
          <first-measure-number>1</first-measure-number>
        </voice-info>
        <initial-voice-params>
          <staff-ref staff="id0"></staff-ref>
          <clef name="treble"></clef>
          <key-signature>
            <modal-key-signature note-name="C" mode="major"></modal-key-signature>
          </key-signature>
          <time-signature>
            <simple-time-signature>
              <numerator>4</numerator>
              <denominator>4</denominator>
            </simple-time-signature>
          </time-signature>
        </initial-voice-params>
        <voice-props>
          <number-of-lines>5</number-of-lines>
          <voice-control>1</voice-control>
          <transpose>0</transpose>
          <instrument></instrument>
          <device-port>NONE</device-port>
          <volume>127</volume>
          <override_volume>0</override_volume>
          <mute>0</mute>
          <midi_prognum>0</midi_prognum>
          <midi_channel>0</midi_channel>
          <hasfigures>0</hasfigures>
          <hasfakechords>0</hasfakechords>
          <staff-directives>
            <directive>
              <tag>InstrumentName</tag>
              <postfix>\set Staff.instrumentName = \markup {  \with-url #'"scheme:(d-GoToPosition 1 1 1 1)(let ((choice (d-PopupMenu (list (cons (_ \"Change Name\") d-InstrumentName)   (cons (_ \"Change Indent\") d-ScoreIndent)))))
				(if choice (choice)))    " "Treble Recorder" }</postfix>
              <display>Treble Recorder</display>
              <override>4</override>
            </directive>
            <directive>
              <tag>ChoirStaffStart</tag>
              <prefix> \new ChoirStaff &lt;&lt;
</prefix>
              <display>Choir Staff Start</display>
              <override>52</override>
            </directive>
          </staff-directives>
        </voice-props>
        <measures>
          <measure>
            <chord show="true" id="id3">
              <duration base="quarter"></duration>
              <notes>
                <note id="id4">
                  <middle-c-offset>5</middle-c-offset>
                </note>
              </notes>
            </chord>
            <chord show="true" id="id5">
              <duration base="quarter"></duration>
              <notes>
                <note id="id6">
                  <middle-c-offset>8</middle-c-offset>
                </note>
              </notes>
            </chord>
            <chord show="true" id="id7">
              <duration base="quarter"></duration>
              <notes>
                <note id="id8">
                  <middle-c-offset>10</middle-c-offset>
                </note>
              </notes>
            </chord>
            <chord show="true" id="id9">
              <duration base="quarter"></duration>
              <notes>
                <note id="id10">
                  <middle-c-offset>12</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <lily-directive>
              <tag>RepeatEndStart</tag>
              <postfix>\bar ":..:"</postfix>
              <display>\bar ":..:"</display>
              <graphic_name>RepeatEndStart</graphic_name>
              <minpixels>50</minpixels>
              <gx>25</gx>
              <override>4</override>
            </lily-directive>
            <chord show="true" id="id11">
              <duration base="quarter"></duration>
              <notes>
                <note id="id12">
                  <middle-c-offset>11</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
        </measures>
      </voice>
      <voice id="id13">
        <voice-info>
          <voice-name>Basso</voice-name>
          <first-measure-number>1</first-measure-number>
        </voice-info>
        <initial-voice-params>
          <staff-ref staff="id1"></staff-ref>
          <clef name="bass"></clef>
          <key-signature>
            <modal-key-signature note-name="C" mode="major"></modal-key-signature>
          </key-signature>
          <time-signature>
            <simple-time-signature>
              <numerator>4</numerator>
              <denominator>4</denominator>
            </simple-time-signature>
          </time-signature>
        </initial-voice-params>
        <voice-props>
          <number-of-lines>5</number-of-lines>
          <voice-control>1</voice-control>
          <transpose>0</transpose>
          <instrument></instrument>
          <device-port>NONE</device-port>
          <volume>127</volume>
          <override_volume>0</override_volume>
          <mute>0</mute>
          <midi_prognum>0</midi_prognum>
          <midi_channel>1</midi_channel>
          <hasfigures>1</hasfigures>
          <hasfakechords>0</hasfakechords>
          <staff-directives>
            <directive>
              <tag>InstrumentName</tag>
              <postfix>\set Staff.instrumentName = \markup {  \with-url #'"scheme:(d-GoToPosition 1 2 1 1)(let ((choice (d-PopupMenu (list (cons (_ \"Change Name\") d-InstrumentName)   (cons (_ \"Change Indent\") d-ScoreIndent)))))
				(if choice (choice)))    " "Basso" }</postfix>
              <display>Basso</display>
              <override>4</override>
            </directive>
            <directive>
              <tag>BraceEnd</tag>
              <postfix> &gt;&gt;%Brace End
</postfix>
              <display>Brace End</display>
              <data>1</data>
              <override>52</override>
            </directive>
          </staff-directives>
        </voice-props>
        <measures>
          <measure>
            <chord show="true" id="id14">
              <duration base="quarter"></duration>
              <notes>
                <note id="id15">
                  <middle-c-offset>-9</middle-c-offset>
                </note>
              </notes>
            </chord>
            <chord show="true" id="id16">
              <duration base="quarter"></duration>
              <notes>
                <note id="id17">
                  <middle-c-offset>-11</middle-c-offset>
                </note>
              </notes>
            </chord>
            <chord show="true" id="id18">
              <duration base="quarter"></duration>
              <notes>
                <note id="id19">
                  <middle-c-offset>-9</middle-c-offset>
                </note>
              </notes>
            </chord>
            <chord show="true" id="id20">
              <duration base="quarter"></duration>
              <notes>
                <note id="id21">
                  <middle-c-offset>-11</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <lily-directive>
              <tag>DoubleBarline</tag>
              <postfix>\bar "||"</postfix>
              <display>\bar "||"</display>
              <graphic_name>DoubleBarline</graphic_name>
              <minpixels>30</minpixels>
              <override>4</override>
            </lily-directive>
            <chord show="true" id="id22">
              <duration base="quarter"></duration>
              <notes>
                <note id="id23">
                  <middle-c-offset>-9</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
        </measures>
      </voice>
    </voices>
  </movement>
</score>
