On 4/8/24 9:46 AM, Simon Albrecht wrote:
On 08.04.24 18:22, Paul Scott wrote:
Many years ago I could nest square brackets in Lilypond. How can I write this now incorrect code:

a16[[ 16 16] 16[ 16 16]]  i.e. two groups of 3 beamed 16th notes joined by a single beam.

The question is: what is the context and why do you want this?

The case at the moment is with long groups of triplets of which the following is now a part:

{
  \time 2/4
  \tuplet 3/2 8 {
    a'16 16 \set stemRightBeamCount = 1 16 \set stemLeftBeamCount = 1 16 16 16
  }
}



Normally, this is called subdividing beams and there is a context property to turn it on. This is explained in the NR at Rhythms -> Beams -> Setting automatic beam behaviour (or similar).
I did look at NR 1.2.4
There have recently been significant improvements to how LilyPond handles this, but IIRC it’s not fully ‘there’ yet and in some situations manual intervention is needed besides defining baseMoment etc.

What Jean gave you is the fully manual version of this and may be necessary for ‘non-standard’ notation.

My triplet example is definitely not non-standard unless for some reason Gould doesn't like it.

I presume the old ability to nest brackets break something else somewhere.

Thank you,

Paul


Best, Simon


Reply via email to