Maybe one of the Scheme wizards could come up with such a solution but I doubt it would really be worth the trouble as the two-contexts solution is easy to use ... and flexible too, in case someone needs secondary alternatives and/or font, colour, ... changes in the alternatives.
Have a good day, too! Best, Robert Hello Robert,
Thanks for your answer. I’d been wondering whether something would be possible with a single ChordNames contexts, but yours is clearly a solution.
A nice day!
JM
If you mean alternative chords on top of each other, I just place two ChordNames contexts in the score and have the upper one contain mostly spacers plus the alternative chord names wherever one is needed ...
Best, Robert Hello folks,
MusicXML has the notion of multiple chord names, i.e.:
<part id="P1"> <measure number="1"> <attributes> <divisions>480</divisions> <key> <fifths>0</fifths> <mode>major</mode> </key> <time> <beats>4</beats> <beat-type>4</beat-type> </time> <clef> <sign>G</sign> <line>2</line> </clef> </attributes> <harmony print-frame="no"> <root> <root-step>C</root-step> </root> <kind text="">major</kind> </harmony> <harmony print-frame="no"> <root> <root-step>F</root-step> <root-alter>1</root-alter> </root> <kind text="m6">minor-sixth</kind> </harmony> <note> <pitch> <step>A</step> <octave>4</octave> </pitch> <duration>960</duration> <voice>1</voice> <type>half</type> </note>
Can this be obtained with LilyPond?
Thanks for your help!
JM
|