lilypond-user
[Top][All Lists]
Advanced

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

Drum parts and horizontal beams


From: canduc
Subject: Drum parts and horizontal beams
Date: Mon, 20 Oct 2008 10:26:19 -0700 (PDT)

Hi everybody.
I'm trying to write a drum part, but I'm not able to obtain perfectly
orizontal beams.

For example when I write two eight notes, one of snare drum (corresponding
to a c') and the other of bass drum (e), their connection beam is oblique. I
would like to obtain the snare drum stem longer, in a way to connect it with
the bass drum note with an horizontal beam.

I have read this option at page 201 of the lilypond manual: \override Stem
#length = #12, but it doesen't work, I don't know why.

Here you are my code:
#(set-global-staff-size 20)
#(set-default-paper-size "a4")

% - - - - - - - - - - - - - - - - - - - - - - - - - - My Set
#(define canetadrums '(
  (bassdrum       default   #f   -4)
  (snare          default   #f    1)
  (hihat          cross     #f    5)
  (openhihat      cross     #f    5)
  (halfopenhihat  xcircle   #f    5)
  (closedhihat    cross     #f    5)
  (crashcymbal    cross     #f    7)
  (pedalhihat     cross     #f   -6)
  (lowtom         default   #f   -1)))
% - - - - - - - - - - - - - - - - - - - - - - - - - - End of My Set

\new DrumStaff {
  \set DrumStaff.drumStyleTable = #(alist->hash-table canetadrums)
  \tempo 4. = 57
  \time 12/8
  \drummode {
    
    r1 r8 \acciaccatura sn8 sn16 [ \acciaccatura sn8 sn16 r8
    \set stemLeftBeamCount = #1 
    \acciaccatura sn8 sn16 \acciaccatura sn8 sn16 ] 
    << 
       \new DrumVoice {
         \stemUp cymc8 \repeat unfold 10 hhho cymc
       }
       \new DrumVoice {
         \stemDown bd8. bd8 bd16 sn8 [r bd] bd [bd16 bd r bd] sn8 bd sn
       }
    >>
  }
}

Can anyone help me?

-- 
View this message in context: 
http://www.nabble.com/Drum-parts-and-horizontal-beams-tp20074666p20074666.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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