lilypond-user
[Top][All Lists]
Advanced

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

Re: autobeams for triplets


From: David Bobroff
Subject: Re: autobeams for triplets
Date: Sun, 15 Jun 2008 09:11:34 +0000
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Stefan Thomas wrote:
Dear lilypond-users,
how can I change the automatic beams for the triplets in this example?
I would like to beam the triplets in groups of three and I would like to do
it automatically.
Here the example:
\version "2.11.7"
{ \time 2/2 f'' 4  \times 2/3 { a'' 8 g'' f'' } \times 2/3 { e'' d'' c'' }
\times 2/3 { b' d'' b' } }



Stefan,

You should look at section 1.2.4 Beams and Setting automatic beam behavior. You might also want to check the section in Rhythms under Tuplets. Here is your example again with a couple of changes:


\version "2.11.7"
{
        %% This sets your tuplets to cover only a quarter note
        %% so you don't have to type so many \times 2/3 {...}
        \set tupletSpannerDuration = #(ly:make-moment 1 4)

        %% These set the automatic beams to end on the 3rd
        %% 6th and 9th triplets.
        #(override-auto-beam-setting '(end 1 12 * *) 3 12 )
        #(override-auto-beam-setting '(end 1 12 * *) 6 12 )
        #(override-auto-beam-setting '(end 1 12 * *) 9 12 )
        \time 2/2 f'' 4
        \times 2/3 { a'' 8 g'' f''  e'' d'' c'' b' d'' b' }
}




reply via email to

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