lilypond-user
[Top][All Lists]
Advanced

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

Re: Chords and slurs


From: Rune Zedeler
Subject: Re: Chords and slurs
Date: Thu, 20 Jun 2002 16:33:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020313

Maurizio Tomasi wrote:

----------------------------------------------------------------------
\score {
        \context Staff \notes \relative c' {
                <e2 g> <c4 e> r
                | [c'8 \grace d16 c16 b] [c8-. d-.] e4 r2
        }
}
----------------------------------------------------------------------

I want to connect the first two chords with two slurs: the first shuld
connect "e2" to "c4", the latter "g" to "e". How can this be done?

The construct doesn't really make sence and hence cannnot be achieved in lilypond. Ofcourse you could hack up something by using two seperate voices, like this:

\score {
        \context Staff \notes \relative c' {
            < { \slurDown e2()c4}
              \context Voice=another { \slurUp g'2()e4}
            >
            \slurBoth r
            | [c'8 \grace d16 c16 b] [c8-. d-.] e4 r2
        }
}

But notice that it is a hack - the two voices get different stems (that in this case just happens to overlap so that they look like one stem) - in other cases you might have to twiddle with stemUp and stemDown to get correct results. With beams/flags you would have problems.


-Rune




reply via email to

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