Hi Gianmaria,
if you use Frescobaldi, there's a "Import Midi" function in the File
Menu. In principle, if you produce a midi file from your original ly
file, you should be able to reimport the music fully unfolded.
The problem is, I've never used this function, and a quick trial just
now didn't really work on my Mac. So, if you use Frescobaldi and *do*
get it to work, that should help you.
Otoh, if you happen to have Musescore available (thats a open source
wysiwyg note engraver), this program does support midi import and ly
export. So that would be another possibility.
Best,
Robert
Am 13/05/16 um 23:01 schrieb Gianmaria Lari:
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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user