lilypond-user
[Top][All Lists]
Advanced

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

How to control ordering of staves?


From: aliteralmind
Subject: How to control ordering of staves?
Date: Sat, 21 Feb 2009 18:15:19 -0800 (PST)

Here's an image of what I keep getting:

http://jeffyepstein.com/tmp/staves_bad.gif

I'm trying to get the "clap" staff above the "voice" staff. Can someone
please help me understand how to control the ordering of staves? (I only
want the clap staff to appear for the first measure.)

This is what I'm trying to get:

http://jeffyepstein.com/tmp/staves_good.gif


Below is my LY code. Thank you for helping.

-----------------------------------------

\version "2.12.2"

clap = \new Staff \with {
  \override StaffSymbol #'line-count = #1
  } \relative c'' {
   \time 24/8
   \set Staff.instrumentName = #"Clap"
        \teeny
        \override NoteHead #'style = #'cross
        r4. b8 r4 r4. b8 r4 r4. b8^"Repeat throughout" r4 r4. b8 r4 |  }

bla = \relative c'' {
   \set Staff.instrumentName = #"Voice"
   \time 24/8
   \tempo 4.=80
   \override NoteHead #'style = #'cross
   \repeat volta 2 {  b4. r b4. r b4. r4 b8^\markup {
           \italic \left-column \small  {
                  \line{  Quiet first time  }
        \line{  Loud second time  } } }~ b4. r4. |  }
   \repeat volta 2 {  b4 b8 b4 b8 b4. b b b4 b8~ b4. r4. |  }
}


verseOne = \lyricmode {
  Bla bloo bla bloo bla dee bla dee bla dee bla dee bla.
}

\score {
        \new Staff <<
      \new Voice { \clap }
      \new Voice = "bla" { \bla }
      \new Lyrics \lyricsto "bla" { \verseOne }
   >>
   \layout { }
   \midi { }
}

-----------------------------------------
-- 
View this message in context: 
http://www.nabble.com/How-to-control-ordering-of-staves--tp22142941p22142941.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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