Oleksandr Gavenko schrieb:
On 2010-05-30 21:43, Xavier Scheuer wrote:
2010/5/30 Oleksandr Gavenko<[email protected]>:
This example:
\score {
\drums {
\repeat volta 2 { bd sn bd sn }
}
\layout { }
\midi { }
}
in Cygwin Lilypond \version "2.12.4"
produce correct .pdf but midi file don't
contain repeat of rhythm pattern second time.
I temporary use '\repeat unfold' which work fine.
Hi!
Normal, you have to use \unfoldRepeats .
See NR 3.5.4 Repeats in MIDI
http://lilypond.org/doc/v2.13/Documentation/notation/repeats-in-midi.html
Thanks for answer!
Unfortunately \unfoldRepeats expand all repeat pattern in .pdf!
So I get correct .midi output but my .pdf
become unreadable because of big repeated patterns.
At the end of the link above you can find the solution: you have to
write two \score
blocks:
The first one is the one for the pdf:
\score {
..your music goes here..
\layout { .. }
}
while the second does *NOT* contain a \layout-block but only a \midi-block and
therefore
is only responsible for the midi output:
\score {
\unfoldRepeats ../your music goes here/..
\midi {}
}
Then one lilypond run should do the job.
Note thet \unfoldRepeats must not be coded within your music variables, but
only in the \score-block.
HTH
Marc
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user