On Thu, Apr 11, 2024 at 6:44 AM Hans Åberg <haber...@telia.com> wrote:
> > > On 10 Apr 2024, at 16:54, Carl Sorensen <carl.d.soren...@gmail.com> > wrote: > > > > On Tue, Apr 9, 2024 at 10:23 AM Hans Åberg <haber...@telia.com> wrote: > > > >> In the past, it was possible to give 9/16 the beat structure [[2 2] [2 > 3]], as a 2/4 with an extra 1/16 at the end, like in the Bulgarian > Daichovo, but currently it is only possible with [4 2 3] as in: > >> \time 9/16 > >> \set beatStructure = #'(4 2 3) > >> Or [2 2 2 3]. But [[2 2] [2 3]] is easier to read. > >> > > Can you tell me a version where you could do this, and provide some > sample code that uses it? > > I have an old comment in a .ly file that I once wrote, but it does not > tell the LilyPond version it was usable in, as the file has been updated: > > \tempo 4 = 120 > \time 11/16 > \set beatStructure = #'(4 3 4) > > % Old beam settings: > % \overrideBeamSettings #'Score #'(11 . 16) #'end #'((* . (4 3 4))) > % \set beatGrouping = #'(2 2 3 2 2) > % \set subdivideBeams = ##t > % #(override-auto-beam-setting '(end * * 11 16) 4 16) > % #(override-auto-beam-setting '(end * * 11 16) 7 16) > % #(set-time-signature 11 16 '(4 3 4)) > > Thank you for this file. This syntax makes sense to me (but I haven't verified that it still works). I have never known the nested square brackets for nested beams as an input syntax to work. I'll do some more investigation. Thanks, Carl