On 2010-05-30 23:13, Xavier Scheuer wrote:

Yes that's why it is said to use 2 different \score blocks:
one for the PDF output (with only \layout ) and another one for the
MIDI (with \unfoldRepeats and \midi only).
It is easier if you used variables for your music expression.

For example:

myMusic = {
   \relative c' {
     \repeat volta 2 {
       c4 d e f
     }
   }
}

\score {  % PDF only
   \myMusic
   \layout {}
}

\score {  % MIDI
   \unfoldRepeats
   \myMusic
   \midi {}
}

So easy and natural!

Thanks Marc Hohl and Xavier Scheuer for answer.

--
Best regards!


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to