Re: change number of lines per staff

2008-04-01 Thread Michael Watts


--- Begin Message ---
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 <[EMAIL PROTECTED]> 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 ---
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: change number of lines per staff

2008-03-31 Thread Michael Watts

>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


Re: change number of lines per staff

2008-03-31 Thread Mats Bengtsson

See the section on "Staff symbol" in the manual.

  /Mats

Matthew wrote:

Hi all

I would like to start typesetting some pipeband drum music that I have.

To do this, I need to have a single line (cf DrummStaff), but I would also need
to be able to set the pitch of my notes, as the "pitch" denotes which hand the
note is played with.

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

Cheers

Matthew



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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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