Re: Automatic beam behavior for 16th note triplets in 6/8 time

2023-08-26 Thread David Kastrup
Joseph Srednicki  writes:

>  Hi David:
> Thanks for answering my inquiry about beaming 16th-note triplets.
> However, it looks provided an example in a file called "js.ly" that
> was scrubbed as indicated below.
> If the example is not too long and it's not too much trouble, can you
> reply pasting the content of "js.ly" in the body of the message?

For one, I sent you a direct reply which should contain the example
file.  For two, it is present in the mailing list archive:



The mailing list _digests_ may omit attachments, but why would you be
referring to them when you have a copy of the mail?

-- 
David Kastrup



Re: Automatic beam behavior for 16th note triplets in 6/8 time

2023-08-26 Thread Joseph Srednicki
 Hi David:
Thanks for answering my inquiry about beaming 16th-note triplets.
However, it looks provided an example in a file called "js.ly" that was 
scrubbed as indicated below.
If the example is not too long and it's not too much trouble, can you reply 
pasting the content of "js.ly" in the body of the message?
Thanks again for your help.
Joe Srednicki

--

Message: 1
Date: Sat, 26 Aug 2023 19:02:44 + (UTC)
From: Joseph Srednicki 
To: "lilypond-user@gnu.org" 
Subject: Automatic beam behavior for 16th note triplets in 6/8 time
Message-ID: <1506182729.857736.1693076564...@mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

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.
Joe Srednicki
\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} |}
\score {  \new Staff \melody}
-- next part --
An HTML attachment was scrubbed...
URL: 
<https://lists.gnu.org/archive/html/lilypond-user/attachments/20230826/5e4d6a25/attachment.htm>

--

Message: 2
Date: Sat, 26 Aug 2023 21:15:58 +0200
From: David Kastrup 
To: Joseph Srednicki 
Cc: "lilypond-user@gnu.org" 
Subject: Re: Automatic beam behavior for 16th note triplets in 6/8
    time
Message-ID: <87zg2dpqc1@fencepost.gnu.org>
Content-Type: text/plain; charset="utf-8"

Joseph Srednicki  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.

-- next part --
A non-text attachment was scrubbed...
Name: js.ly
Type: text/x-lilypond
Size: 475 bytes
Desc: not available
URL: 
<https://lists.gnu.org/archive/html/lilypond-user/attachments/20230826/15bd56c2/attachment.ly>
-- next part --


-- 
David Kastrup

--


  

Re: Automatic beam behavior for 16th note triplets in 6/8 time

2023-08-26 Thread David Kastrup
Joseph Srednicki  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