lilypond-user
[Top][All Lists]
Advanced

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

Re: \repeat volta not worked in midi output.


From: Oleksandr Gavenko
Subject: Re: \repeat volta not worked in midi output.
Date: Sun, 30 May 2010 23:51:44 +0300
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

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!




reply via email to

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