\version "2.12.2" % and 2.18.2 #(set-default-paper-size "letter") \paper { bottom-margin = 14\mm } \header { title = "Halloween" composer = "chri d. d." } common = { \key f \minor \time 3/4 } melodya = \repeat "volta" 2 { c'4 es' g' | des'2. | f'4 es' des' | c'2. | } harmonya = \repeat "volta" 2 { 2. | | | | } melodyb = { e'4 g' b' | f'2. | c'4 es' g' | des'2. | c'4 as b | c'2. | } harmonyb = { 2. | | 2. | | c4 f des | c2. | } melodyc = { c'4 es' g' | des'2. | f'4 es' des' | c'2. | } harmonyc = { g4 es c | f2. | c4 des es | f2. | } melodyd = { des'2. es' f' gis' \textLengthOn ^\markup {\italic "Fine"} \textLengthOff \bar "|." | } harmonyd = { g2. a b c' ~ c' R R } melodye = { c'4 es' g' | des'2. | f'4 es' des' | \textLengthOn c'2.^\markup {\italic "D.C. al Fine"} \textLengthOff \bar "||" | } harmonye = { R2.*2 c4 des es | f2. | } rh = { \common \melodya \melodyb \melodyc \melodyd } lh = { \common \clef bass \harmonya \harmonyb \harmonyc \harmonyd } \score { \new PianoStaff << \new Staff { \rh \melodye } \new Staff { \lh \harmonye } >> \layout { \context { \Score \override SpacingSpanner #'base-shortest-duration = #(ly:make-moment 1 32) } } } \score { \new PianoStaff \unfoldRepeats << \new Staff { \tempo 4=100 \rh \melodye \rh } \new Staff { \lh \harmonye \lh } >> \midi {} }