NEWBIE: repeating whole tunes

2006-01-26 Thread debian
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

Re: NEWBIE: repeating whole tunes

2006-01-26 Thread Mats Bengtsson
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

Re: NEWBIE: repeating whole tunes

2006-01-26 Thread debian
On Thu, Jan 26, 2006 at 11:04:28PM +0100, Mats Bengtsson wrote: Repeating is simple: \score{ I had to put \unfoldRepeats here \repeat unfold 20 {...} \midi{...} } but, it is working fine. The perl bit is easy. Thanks a lot. Joe ___