lilypond-user
[Top][All Lists]
Advanced

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

Re: Different beaming for triplets


From: David Kastrup
Subject: Re: Different beaming for triplets
Date: Wed, 04 Dec 2013 18:00:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Richard Shann <address@hidden> writes:

> I've been asked a beaming rule question:
>
> Is it possible to specify a different beaming rule if a beat is divided
> into a triplet? In this example
>
>
>  \version "2.16.0"
>  \score {
>   {\time 3/8           
>   d''4 \times 2/3 { bes''16 a'' bes'' }        
>   fis''8 g''8 r
>   ees'' \times 2/3 { d''16 c'' bes' } \times 2/3 { a' g' fis' }
>   g'16. a'32 bes'8 a'
>   }
> }
>
> The triplet is beamed together with the 1/8 notes, this override
>
> \overrideTimeSignatureSettings 3/8 1/8 #'(1 1 1) #'()
>
> breaks up the beaming at each beat so that the 1/8th notes in the second
> bar are not beamed. Is there a way to frame an override that applies to
> notes shorter than a certain amount, or some such?

Yes, that's what the last argument is for (the second to last can just
be #'() as this will default to beaming on the beat).

You'd write
\overrideTimeSignatureSettings 3/8 1/8 #'()
\beamExceptions { 8[ 8 8] | \repeat unfold 3 \tuplet 3/2 { 16[ 16 16] } }

Except that you are not using 2.19.0.  In 2.16.0, the beam exceptions
(calculated above with \beamExceptions) would look like

#'((end . (((1 . 8) . (3)) ((1 . 24) . (3 3 3)))))

This will beam the tuplets or shorter on the beat.

-- 
David Kastrup



reply via email to

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