lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: constructing a jazz piece


From: bernie arai
Subject: Re: constructing a jazz piece
Date: Sun, 8 Jun 2008 12:30:12 -0700



On Wed, Apr 9, 2008 at 9:38 PM, Mats Bengtsson <address@hidden> wrote:

This can certainly be a good practice to separate out annotations or
dynamics and such. This is one aspect of separating musical content from typesetting layout.

i'm happy to find a way to "globalize" rehearsal marks, double bar lines, etc.  can anyone help me figure out why my /global block is creating a new staff below my instrument staves each time?  i get the rehearsal marks above everything, but there's an unwanted blank staff below each staff group with the text markup on it....

these are (hopefully) the pertinent snippets:

      global = {
       \time 5/4
       \set Score.markFormatter = #format-mark-box-letters
       \tempo 4=108
      
       s1^"Intro - open" s4 | s1 s4 |

       s4 \mark \default s1 |
       \repeat unfold 7 { s1 s4 } \bar "||"

       s4 \mark \default s1 |
       \repeat unfold 7 { s1 s4 } \bar "||"

       s4 \mark \default s1 |
       \repeat unfold 6 { s1 s4 } \bar "|."
     }

%% and then later on in the score block

     \score {
       <<
         \new StaffGroup = "horns" <<
     \global
       \new ChordNames = "trpchords" \transpose c d {\harmony}
           \new Staff = "trumpet" \trumpet
       \new ChordNames = "tenorchords" \transpose c d {\harmony}
           \new Staff = "tenorsaxone" \tenorsaxone
           \new ChordNames = "chords" \harmony
       \new Staff = "trbn" \trbn
         >>
    
         \new StaffGroup = "rhythm" <<
     \global
           \new ChordNames = "chords" \harmony
           \new PianoStaff = "piano" \piano
         >>
       >>
}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]