lilypond-user
[Top][All Lists]
Advanced

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

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


From: Carl Sorensen
Subject: Re: How to overlap \leftHand and \rightHand in the same staff
Date: Sat, 12 Jun 2010 16:59:23 -0600



On 6/12/10 4:50 PM, "Disc Magnet" <address@hidden> 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
>         \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?

Please read the documentation, Notation Reference section 1.5, Simultaneous
notes.

<http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Simultaneous-note
s#Simultaneous-notes>

Have you read the Learning Manual from start to finish?  That's the first
thing you should do.  It will answer many of the questions beginners have.

Thanks,

Carl




reply via email to

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