Daniel Johnson wrote:
r4 c4 ~ << c2 \\ {r8 <g e>8 r8 <g e>8} >>
hmm. On second thought, the tie between the C's probably won't work
here. << \\ >> by default generates new voices, and you can't do
cross-voice ties. BUT, you can specify voice-names. So the following
would (theoretically) work:
\context Voice = rightHand r4 c4 ~ << \context Voice = rightHand c2 \\
{r8 <g e>8 r8 <g e>8} >>
<< \\ >> generates a \context Voice = "1" and \context Voice = "2" by
default. But if you specify one of the voices to be the same as the
voice *outside* the double-angle-brackets, then you can perform the tie,
since both tied notes are in the same voice.
Make sense?
--Daniel
P.S. This same trick is useful in vocal scores, when you are binding
lyrics to a voice. Since by default << \\ >> generates new voices, your
lyrics will not bind to the notes inside the double-angle-brackets. But
if you specify one of the voices inside the << \\ >> to be the same as
the voice outside it, the lyrics flow just fine. Here's an example:
text = \lyricmode { La Ti Do }
\score {
<<
\context Staff = sopStaff {
\context Voice = sopVoice {
a2 << \context Voice = sopVoice b2 \\ {g4( f)} >> | <c a>1
}
}
\context Lyrics = sopLyrics \lyricsto sopVoice \text
>>
}
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user