[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatic beaming of tuplets
From: |
Jay Anderson |
Subject: |
Re: Automatic beaming of tuplets |
Date: |
Sun, 11 Oct 2009 20:18:52 -0700 |
On Sun, Oct 11, 2009 at 7:33 PM, Nick Payne <address@hidden> wrote:
> I'm trying to get tupletted sixteenth notes automatically beamed in groups
> of three in 3/4 time. The following beams the 16th notes in twos outside the
> tuplet, but inside the \times 2/3 {} it doesn't work. Can it be done without
> using manual beaming?
\version "2.13.4"
\relative c' {
\time 3/4
\overrideBeamSettings #'Voice #'(3 . 4) #'end #'((* . (3))
((1 . 16) . (2 2 2 2 2 2))
((1 . 24) . (3 3 3 3 3 3))
((1 . 32) . (8 8 8))
((1 . 64) . (16 16 16))
((1 . 128) . (32 32 32)))
\set tupletSpannerDuration = #(ly:make-moment 1 8)
f16 a f a f a f a f a f a |
\times 2/3 {
e16 d' b' c,, e g e g a g c e a, c f f, c' a' |
}
}
Triplet sixteenths are (1 . 24). Good default values for this and
triplet eights probably ought to be added. For 3/4 it's probably ((1 .
12) . (3 3 3)) for eights and the above for sixteenths.
-----Jay