On Mon, Sep 30, 2024 at 10:52 AM <carsonm...@ca.rr.com> wrote:

> Richard,
>
> Add a line (see the first one)
> Change beat structure
>
> {
>   \set Timing.beamExceptions = #'()
>   \set subdivideBeams = ##t
>   \set baseMoment = #(ly:make-moment 1/8)
>   \set beatStructure = 1,1,1,1,1,1,1,1
>
>   \tuplet 3/2 { c'16 16 16 }
>   \repeat unfold 4 c'32
>
>   \repeat unfold 8 c'32
>
>   \repeat unfold 4 c'32
>   \tuplet 3/2 { c'16 16 16 }
>
>   c'8 \repeat unfold 4 c'32
> }
>
> Mark
>
> -----Original Message-----
> From: lilypond-user-bounces+carsonmark=ca.rr....@gnu.org
> <lilypond-user-bounces+carsonmark=ca.rr....@gnu.org> On Behalf Of Richard
> Davis
> Sent: Monday, September 30, 2024 10:32 AM
> To: Lilypond User <lilypond-user@gnu.org>
> Subject: Beaming error
>
> Hello all!
>
> I came across something quite strange today that I couldn't quite wrap my
> head around. Why does this code:
>
> \version "2.25.17"
> \language "english"
>
> {
>   \set subdivideBeams = ##t
>   \set baseMoment = #(ly:make-moment 1/8)
>   \set beatStructure = 2,2,2,2
>
>   \tuplet 3/2 { c'16 16 16 }
>   \repeat unfold 4 c'32
>
>   \repeat unfold 8 c'32
>
>   \repeat unfold 4 c'32
>   \tuplet 3/2 { c'16 16 16 }
>
>   c'8 \repeat unfold 4 c'32
> }
>
> Beam things so strangely? As far as I can tell, according to this:
>
>
> https://lilypond.org/doc/v2.23/Documentation/notation/beams#setting-automati
> c-beam-behavior
> <https://lilypond.org/doc/v2.23/Documentation/notation/beams#setting-automatic-beam-behavior>
>
> The beams should be subdivided in groups of four thirty-second notes.
> Instead, I get beams subdivided into groups of four and further into groups
> of two. What am I doing wrong?
>
> Best,
> Richard
>
>
>
Since you're using 2.25, the syntax is easier:

https://lilypond.org/doc/v2.25/Documentation/notation/setting-automatic-beam-behavior

\version "2.25.17"
\language "english"

{
  \set subdivideBeams = ##t
  \set minimumBeamSubdivisionInterval = \musicLength 8

  \tuplet 3/2 { c'16 16 16 }
  \repeat unfold 4 c'32

  \repeat unfold 8 c'32

  \repeat unfold 4 c'32
  \tuplet 3/2 { c'16 16 16 }

  c'8 \repeat unfold 4 c'32
}


--
Knute Snortum

Reply via email to