lilypond-user
[Top][All Lists]
Advanced

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

Re: Defining Drumsets


From: Tim Sawyer
Subject: Re: Defining Drumsets
Date: Sat, 18 Mar 2006 11:53:24 +0000
User-agent: KMail/1.8.3

Here's what I do:

\begin[staffsize=20]{lilypond}
\version "2.6.0"
#(define mydrums '((bassdrum default #f -3)(sidestick xcircle #f 1)(snare 
default #f 1)(closedhihat cross "stopped" 3)(hihat cross #f 3)(openhihat 
cross "open" 3)(pedalhihat cross #f -5)(ridecymbal cross #f 5)      
(crashcymbal xcircle #f 5)(highfloortom default #f -1)(lowmidtom default #f 
2)(himidtom default #f 3)))
up = \drummode { sn4 sn4 sn4 sn4 \bar "|." }
down = \drummode { s1  }
\score
{
\new DrumStaff
<<
  \time 4/4
  \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
  \clef percussion
  \new DrumVoice { \oneVoice \stemUp \up }
  \new DrumVoice { \voiceTwo \down }
>>
}
\end{lilypond}

Tim.

On Saturday 18 Mar 2006 11:23, Jannik Jeppesen wrote:
> Hi... can you tell me where I shall put this code, to get a standard
> drumset notation???
>
> \Jannik
>
> #(define PAS '(
>         (bassdrum       default #f              -3)
>         (lowtom         default #f              -1)
>         (snare          default #f              1)
>         (sidestick      cross   #f              1)
>         (himidtom       default #f              2)
>         (hightom        default #f              3)
>         (hihat          cross   #f              5)
>         (openhihat      cross   "open"          5)
>         (closedhihat    cross   "stopped"       5)
>         (pedalhihat     cross   #f              -5)
>         (crashcymbal    cross   #f              6)
>         (ridecymbal     cross   #f              4)
>         )
> )




reply via email to

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