Is there any tool to "unroll" the code. For instance, suppose you have
something like this...

\version "2.19.40"

fragment.1 =
{
  a b c d
}

fragment.2 =
{
  e f g a
}

music =
{
  \repeat  unfold 3 {\fragment.1}
  \repeat  unfold 2 {\fragment.1 \fragment.2}
}

\score
{
    \music
    \layout{}
}

.... is there any way to transform it in this:

\score
{
    {
    a b c d
    a b c d
    a b c d
    a b c d
    e f g a
    a b c d
    e f g a
   }
    \layout{}
}

?

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to