Hello:

 

The attached file is for a Prelude and Fugue. The header for the Prelude
does not appear and is replaced by the header for the Fugue. I have compared
mine to the examples in the manual and cannot find my error.

 

Would someone please point it out to me?

 

Thank you for your kind attention.

 

Mark

\version "2.16.0"

\header {
  title = "Prelude"
}

global = {
  \key cis \major
  \numericTimeSignature
  \time 3/8
}

right = \relative c'' {
  \global
 
 % Here starts the Prelude
 r4.
}

left = \relative c' {
  \global
r4.  
}

\score {
  \new PianoStaff <<
    \new Staff = "right" \right
    \new Staff = "left" { \clef bass \left }
  >>
  \layout { }
}

\header {
  title = "Fuge"
  subtitle = "a 3 Voices"

}

global = {
  \key cis \major
  \time 4/4
}

rightOne = \relative c'' {
  \global
  
% Here starts the Fuge
r1 |

}

rightTwo = \relative c'' {
  \global
r1 |
}

left = \relative c' {
  \global
 r1 | 
}

\score {
  \new PianoStaff  <<
    \new Staff = "right" \with {
      midiInstrument = "acoustic grand"
    } << \rightOne \\ \rightTwo >>
    \new Staff = "left" \with {
      midiInstrument = "acoustic grand"
    } { \clef bass \left }
  >>
  \layout { }
  \midi {
    \context {
      \Score
      tempoWholesPerMinute = #(ly:make-moment 100 4)
    }
  }
}

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to