[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatic beam behavior for 16th note triplets in 6/8 time
From: |
David Kastrup |
Subject: |
Re: Automatic beam behavior for 16th note triplets in 6/8 time |
Date: |
Sat, 26 Aug 2023 21:15:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Joseph Srednicki <jos.srednicki@verizon.net> writes:
> Hello:
>
> The tiny example below contains a bar of sixteenth-note triplets in
> 6/8 time. In this example, I used the "[" and "]" characters to
> achieve the desired beaming manually.
>
> Instead of using the "[" and "]" characters, what is the correct code
> to set the automatic beam behavior for these sixteenth-note triplets?
>
> I tried to set the automatic beam behavior by using \set
> Timing.beamExceptions and \set Timing.beatStructure as described in
> section 3.5 of the Lilypond Notation Reference (LilyPond Notation
> Reference: 1.2.4 Beams), but I am not achieving the desired
> result. Most likely, I have misunderstood or missed something in the
> documentation or snippets.
>
> Thanks to anyone who is willing to provide an answer that will avoid the
> manual
> beaming of these triplets.
I have no idea what you tried, but the below works as expected for me.
\version "2.24.1"
\language "english"
global = {
\key e \minor
\time 6/8
}
melody = \relative c' {
\global
\tuplet 3/2 8 { e16 [ g e ] g [ e g ] a [ e a ] b [ d b ] c [ g c ] b g b} |
\tuplet 3/2 8 { e16 g e g e g a e a b d b c g c b g b} |
}
\score {
<<
\new Staff \melody
\new Staff \with {
beamExceptions = \beamExceptions { \tuplet 3/2 {
16 [ 16 16 ] 16 [ 16 16 ] 16 [ 16 16 ] 16 [ 16 16 ] 16 [ 16 16 ] 16 [
16 16 ] } } }
\melody
>>
}
--
David Kastrup