\version "2.12.2"
\include "english.ly"

% set the paper size (try a5, a4, letter, legal etc.)
\paper { #(set-paper-size "a4" 'portrait) }

\header { title = "1. Sonate"
subtitle= "fur zwei Queflotenober zwei Violinen, G-dur"
composer ="Georg Philipp Telemann"
}

voice = { r4 d' g~ g fs8[ e d c ]
b[ c b a b g] a4 d, r r d' g~ g fs8[ g a b]
}

end = { c4 b8[( a) b( c )] \appoggiatura b a4.\trill g8[ fs g] }

voiceOne =
{ \relative c'
{ \clef treble \key g \major \time 6/4 \mark \markup { "Vivace"}

\voice \end
}

}

voiceOneSt= \context Staff = "Violine 1" {
\set Staff.instrumentName ="Violine I"
\voiceOne
}

voiceTwo =
{ \relative c'
{ \clef treble \key g \major \time 6/4
r2*3 \voice
}

}

voiceTwoSt= \context Staff = "Violine 2" {
\set Staff.instrumentName ="Violine II"
\voiceTwo
}

\score {


\new GrandStaff
<<

\voiceOneSt
\voiceTwoSt



>>


\midi{}
\layout{\context {
\Score
\override SpacingSpanner
#'common-shortest-duration = #(ly:make-moment 1 2)
}
}
}