Hi,
I do it by using one \score for the layout and another \score for the MIDI.
For example, see below.
Regards,
-Curt
mainRh = { [music...] }
mainLh = { [music...] }
codaRh = { [music...] }
codaLh = { [music...] }
\score {
\new PianoStaff <<
\new Staff = "rh" { \repeat volta 2 \mainRh \codaRh }
\new Staff = "lh" { \repeat volta 2 \mainLh \codaLh }
>>
\layout { }
}
\score {
<<
\new Staff = "rh" { \repeat unfold 2 \mainRh \codaRh }
\new Staff = "lh" { \repeat unfold 2 \mainLh \codaLh }
>>
\midi { }
}
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Repeat-in-Score-and-in-Midi-tp139046p139109.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user