[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: percussion in lilypond
From: |
Gilles |
Subject: |
Re: percussion in lilypond |
Date: |
Sun, 28 Nov 2004 16:14:07 +0100 |
User-agent: |
Mutt/1.5.6+20040523i |
Hello.
> Any examples would be much appreciated.
Here is some of what you can put in a ".ly" file in order
to produce a drum staff.
%--BEGIN-----
\include "drumpitch-init.ly"
#(define mydrums '(
(hihat cross #f 4)
(snare () #f 1)
(bassdrum () #f -5)
(lowtom () #f -1)
(himidtom () #f 2)
(ridecymbal cross #f 5)
(crashcymbal cross #f 6)))
\score {
\new DrumStaff {
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
<<
\new DrumVoice { \voiceOne \drums { hh8 hh hh hh hh hh hh cymc | } }
\new DrumVoice { \voiceTwo \drums { bd8 bd <bd sn> bd bd bd <bd sn>
bd | } }
>>
\bar "||"
}
\midi {}
\paper {}
}
%--END-----
Best regards,
Gilles