[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: percussion in lilypond
From: Gilles <gilles () harfang ! homelinux ! org>
Date: 2004-11-28 15:14:07
Message-ID: 20041128151407.GA793 () harfang ! homelinux ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic