On 4/26/2018 11:15 AM, Kieren MacMillan wrote:
Hi,

I am trying to understand spacer rests and global block.
This is how I would organize your score:

%%%  SNIPPET BEGINS
\version "2.19.81"

global = {
   \key c \major
   \numericTimeSignature
   \time 4/4
   \tempo "Fast!"
   s1*4
   \tempo "Largo"
   s1*3
   \tempo "Allegro"
}

cello = \relative c {
   \clef bass
   c d e f e d c d e f e d c d e f e d
}

right = \relative c'' {
   c1 d e f c d e f
}

left = \relative c' {
   \clef bass
   c1 d e f c d e f
}

\score {
  <<
    \new Staff
      \with {
        instrumentName = "Cello"
      }
      << \global \cello >>
    \new PianoStaff
      \with {
        instrumentName = "Piano"
      }
      <<
        \new Staff = "right" << \global \right >>
        \new Staff = "left" << \global \left >>
      >>
  >>
}
%%%  SNIPPET ENDS

Hope that helps!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: [email protected]


Thank you but I have difficult understanding why Frescobaldi configured the score like that if it's not prone to using the global block easily. For instance, what is different about your code structurely and is there a con to doing it your way? I'll use your template. Can you explain the math of my question though? I don't get the * thank you.
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to