This works great. But I often have the same problem in chordmode
music, "the same problem" meaning that I need to use tagged
alternative bits of enharmonic music where the tagged
alternatives are simultaneous so that they don't artificially
lengthen the number of beats/bars of music. Unfortunately,
simultaneous music << >> doesn't work in \chordmode:
foo = \new Staff \relative c' {
<<
\tag #'concert { b1 }
\tag #'trumpet { ces1 }
>>
}
fooChords = \new ChordNames \chordmode {
<<
\tag #'concert { b1 }
\tag #'trumpet { ces1 }
>>
}
\score {
\transpose c d
\keepWithTag #'trumpet
<<
\fooChords
\foo
>>
}
Lily complains with:
x.ly:9:3: error: syntax error, unexpected $undefined