I have a musical expression made of several musical expression like the following:
{ {a b} {c' d'} {e' f'} } I would like to loop on it and generate a different score with each sub-expression. Something like this: { foreach x in X \myScore \x } How can I do it? Thank you. P.S. The following example show how I defined \myScore and how I use it: \version "2.19.81" myScore = #(define-void-function (music) (ly:music?) (add-score #{ \score { $music \layout{} }#}) (add-score #{ \score { \unfoldRepeats $music \midi{}}#}) ) seqa = {a a} seqb = {b b} seqc = {a b} \book { \myScore \seqa \myScore \seqb \myScore \seqc }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user