Am 02.03.19 um 13:06 schrieb Paolo Cantamessa:
%this doesn't work << $(map eval-string '("voiceA" "voiceB")) >>
The map returns a list which means that the 'elements of the SequentialMusic (produced by << >>) is a list of lists instead of a list.
Try the following and have a look at the output produced by \displayMusic: %%%%%%%%%%%%%%%%%%%% \version "2.19.82" voiceA = { e' f' g' } voiceB = { c' d' e' } %this works \displayMusic << $(eval-string "voiceA") $(eval-string "voiceB") >> %this works too $(make-music 'SimultaneousMusic 'elements (map eval-string '("voiceA" "voiceB"))) %%%%%%%%%%%%%%%%%%%% _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user