lilypond-user
[Top][All Lists]
Advanced

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

Re: piano right hand with chorded eigths beneath a half


From: Mats Bengtsson
Subject: Re: piano right hand with chorded eigths beneath a half
Date: Thu, 23 Jun 2005 10:44:22 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

An alternative, which might be at least as easy to use is to
skip the \\ feature and manually specify where you want an
additional voice and where you want stems up or down.
Such an example is provided in Section "6.6.2 Explicitly instantiating
voices" in the manual for version 2.5.xx.

   /Mats

Daniel Johnson wrote:
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

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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