Add this code inside each \new DrumVoice block:
\override Beam #'damping = #+inf.0
So a whole block looks like this:
\new DrumVoice {
\override Beam #'damping = #+inf.0
\stemUp cymc8 \repeat unfold 10 hhho cymc
}
Jon
canduc wrote:
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?
--
Jonathan Kulp
http://www.jonathankulp.com
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user