I have some variables, each containing one chord as in the following
example:

ja = <c e>8
jb = <g b>8
jc = <d f>8
....


and some other variables combining them, like this:

ka = <<\ja \jb>>
kb = <<\ja \jc>>
kc = <<\jb \jc>>
....


This is a working example engraving \ka \kb and \kc:

\version "2.23.2"
ja = <c e>8
jb = <g b>8
jc = <d f>8

ka = <<\ja \jb>>
kb = <<\ja \jc>>
kc = <<\jb \jc>>

\new Voice \fixed c' {\ka \kb \kc}


Now I would like to manually beam my pseudo-chords ka,kb,kc like this (it
doesn't work):

\new Voice \fixed c' {\ka[ \kb \kc]}


but I get:

warning: Unattached BeamEvent
\new Voice \fixed c' {\ka[ \kb \kc
                                  ]}


If I'm not wrong this is because \ka, \kb and \kc are not chords, they are
more complex musical expressions and beaming is not defined for that.
My code would work if \ka would be

<c e g b>8


but instead \ka is something like

<< <c e> <g b> >>




How can I solve this?
Thanks, g.

Reply via email to