lilypond-user
[Top][All Lists]
Advanced

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

Re: Cannot correctly code this rhythm...


From: James E. Bailey
Subject: Re: Cannot correctly code this rhythm...
Date: Tue, 17 Feb 2009 22:29:49 +0100

I used this code to get the output. I've never used drummode, so I don't know anything about it, and like you said, I left off the acciaccature, but I could put them in if it's really necessary.

\version "2.12.2"

\transpose c c' {
   \time 3/4
   c8[ c] \times 2/3 {c16 c c} c16. c32 \times 2/3 {c16 c c} c8
}

PNG image


El 17.02.2009, a las 22:15, RandomLilyPondUser escribió:


http://www.nabble.com/file/p22066496/snip.png

I cannot, for the life of me, code that correctly.

I have been able to get the first section coded:

qBeam = {
  #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
  #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
  #(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
}

\drums {
  \time 3/4
    \qBeam

sn8 sn:32 ~
\override Stem #'direction = #DOWN \times 2/3 {toml16 sn toml} \times 2/3
{sn8. toml16}
sn4
}

That will draw correctly, and add a quarter on the third beat. But if I add
another section like so:

sn8 sn:32 ~
\override Stem #'direction = #DOWN \times 2/3 {toml16 sn toml} \times 2/3
{sn8. toml16}
\override Stem #'direction = #DOWN \times 2/3 {toml16 sn toml} \times 2/3
{sn8. toml16}
sn4

The sn4 should land on the 1st beat of the next measure, but it doesn't, and
all the formatting gets messed up.

Can anyone draw this basic triplet rhythm in lilypond? The extra notation
(flams, rolls, etc) can be disregarded.


--
View this message in context: http://www.nabble.com/Cannot- correctly-code-this-rhythm...-tp22066496p22066496.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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