[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Repeat in Score and in Midi
From: |
EmilLask |
Subject: |
Re: Repeat in Score and in Midi |
Date: |
Wed, 9 Jan 2013 09:52:02 -0800 (PST) |
EC
Ex.
global = {
\key c \major
\time 4/4
}
\parallelMusic #'(voiceA voiceB) {
c'' c'' c'' c'' | %voiceA measure 1
c' c' c' c' | %voiceB measure 1
g' g' g' g' | %voiceA measure 2
g g g g | %voiceB measure 2
}
\parallelMusic #'(voiceC voiceD) {
c' c' c' c' | %voiceC measure 3
c c c c | %voiceD measure 3
g' g' g' g' | %voiceC measure 4
g g g g | %voiceD measure 4
d' d' d' d' | %voiceC measure 5
d d d d | %voiceD measure 5
e' e' e' e' | %voiceC measure 6
e e e e | %voiceD measure 6
}
\parallelMusic #'(voiceE voiceF) {
c'' c'' c'' c'' | %voiceE measure 7
c' c' c' c' | %voiceF measure 7
g' g' g' g' | %voiceE measure 8
g g g g | %voiceF measure 8
}
\score{
\new StaffGroup<<
\new Staff{
\global
%\unfoldRepeats{ % Comment \unfoldRepeats for
Score and Uncomment
for Midi
\repeat volta 2{
<<\voiceA \\ \voiceB>>
}
% \alternative { % In case of
\alternative for \repeat
% { <<\voiceC \\ \voiceD>>}
% {<<\voiceA \\ \voiceB>>}
% }
\repeat volta 2{
<<\voiceC \\ \voiceD>>
}
%} % Comment \unfoldRepeats for
Score and Uncomment for Midi
<<\voiceE \\ \voiceF>>
}
\layout{}
\midi{}
}
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Repeat-in-Score-and-in-Midi-tp139046p139138.html
Sent from the User mailing list archive at Nabble.com.