Graham Percival <[EMAIL PROTECTED]> writes: > It depends on why you're listening to the piece. I *do* want to > hear it clunking along, since I only ever listen to midi as a > quick "proofread" [...]
Yes, though I'd say Ian has a point, too. I use the midi initially to 'proofread', but finally I generate the complete piece with repeats unfold. Should I make some corrections, I'd like to hear it without repeats, and so on. This snippet allows a command line option unfold-repeats to control this behaviour: maybeUnfoldRepeats = #(define-music-function (parser location music) (ly:music?) (if (ly:get-option 'unfold-repeats) #{ \unfoldRepeats $music #} #{ $music #})) \score { \maybeUnfoldRepeats \allMusic \midi { } } Using "lilypond -d unfold-repeats ..." will now generate midi with unfolded repeats. Now, if we could only get rid of the warning "no such internal option: unfold-repeats"... -- Johan _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user