Richard Shann <rich...@rshann.plus.com> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user