lilypond-user
[Top][All Lists]
Advanced

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

Re: change number of lines per staff


From: Michael Watts
Subject: Re: change number of lines per staff
Date: Tue, 01 Apr 2008 20:36:25 +1000
User-agent: Thunderbird 2.0.0.0 (X11/20070326)


--- Begin Message --- Subject: Re: change number of lines per staff Date: Tue, 1 Apr 2008 19:01:36 +1100
CHeers for that...

I need to be able to specify "pitches" in my score to denote which
hand is play which note. The current single line drum staff doesn't
allow that.

The way that I've done that is to specify a normal staff, but with
only one line. Now I can get pitches for my notes.


Matthew


On 01/04/2008, Michael Watts <address@hidden> wrote:
>  >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.
>
>


-- 
Matthew Rowles

- Be Alert. Austalia needs lerts.


--- End Message ---

reply via email to

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