lilypond-user
[Top][All Lists]
Advanced

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

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


From: Disc Magnet
Subject: How to overlap \leftHand and \rightHand in the same staff
Date: Sun, 13 Jun 2010 04:20:18 +0530

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
        \leftHand
        \rightHand
    }
    \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
bars.

How can this be done?



reply via email to

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