lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NEWBIE: repeating whole tunes


From: Mats Bengtsson
Subject: Re: NEWBIE: repeating whole tunes
Date: Thu, 26 Jan 2006 23:04:28 +0100
User-agent: Internet Messaging Program (IMP) H3 (4.0.4)

Repeating is simple:

\score{
 \repeat unfold 20 {...}
 \midi{...}
}

or

\score{
 \repeat unfold 20 <<...>>
 \midi{...}
}

The problem is how to pass the parameter from the command line. However, if you use Perl, it's trivial to just let the script
insert the correct number for the \repeat command.

 /Mats


Quoting debian <address@hidden>:

Please,

what is the best way to ask lilypond to create a midi file in such a
way that the _whole_ tune is played n times.  n will be passed from
the command line.

I have written perl code to extract the essential parts of the tune
and create a new ly file with the essential parts repeated n times.
But the repeats are played an octave up each time.

I know this must be simple.

Thanks.

Joe


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user








reply via email to

[Prev in Thread] Current Thread [Next in Thread]