[Top][All Lists]

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

Re: How to overlap \leftHand and \rightHand in the same staff

From: Nick Payne
Subject: Re: How to overlap \leftHand and \rightHand in the same staff
Date: Sun, 13 Jun 2010 09:02:38 +1000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100423 Thunderbird/3.0.4

On 13/06/10 08:50, Disc Magnet wrote:
I've written a Lilypond input file like this:

leftHand = \relative c' {
     c e g e
     d f a f
     e g b g
     f a c a

rightHand = \relative c'' {
     c2 c
     d d
     e e
     f f

\score {
     \new Staff {
         \time 4/4
         \tempo 4 = 120
     \midi { }
     \layout{ }

Now this generates a score with 8 bars. However, what I want is a
score of 4 bars. I want the left hand and right hand to overlap in the
same staff. Thus the first bar should show c4 e4 g4 e4 relative to c'
as well as c2 c2 relative to c''. Similarly for the 2nd, 3rd and 4th

How can this be done?

\new Staff<<
  \new Voice = "1" { \voiceOne \leftHand }
  \new Voice = "2" { \voiceTwo \rightHand }

Look up single staff polyphony in the documentation:


reply via email to

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