>Am I able to change the number of lines in a [Drum] staff from 5 -> 1?

Lily has built-in support for DrumStaves with one, two or five lines -- see the manual.

In your case, it sounds lie you're after something like drumStyleTable = #percussion-style, like this:

\version "2.10.25"

up = \drummode { cb4 \times 2/3 { sn8 s sn } s4 sn4 | r8 sn8 cb4-. tri8-> r8 r4 \bar "||" }

down = \drummode { s4 \times 2/3 { s8 sn s } sn4 s4 | r4 r4 tri8-> r8 r4 \bar "||" }

\score {
\new DrumStaff \with { drumStyleTable = #percussion-style
     \override StaffSymbol #'line-count = #1
\override BarLine #'bar-size = #4 % need to lengthen bar lines, or they disappear on single line DrumStaff
     }
  <<
     \new DrumVoice { \voiceOne \up }
     \new DrumVoice { \voiceTwo \down }
  >>

  \layout { ragged-right = ##t }

}

HTH.



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

Reply via email to