lilypond-user
[Top][All Lists]
Advanced

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

Re: Chords and slurs


From: Patrick Lamb
Subject: Re: Chords and slurs
Date: Thu, 20 Jun 2002 10:39:21 -0500

At 04:33 PM 6/20/2002 +0200, Rune Zedeler wrote:
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.

It's a fairly common usage, particularly in an accompaniment's bass line. Could we add this to the feature request list?

Pat
For every ten people who are clipping at the branches of evil, you're
lucky to find one who's hacking at the roots. -Henry David Thoreau

address@hidden
(256) 837-5282 x1253 voice, (256) 830-0287 FAX
PGP key fingerprints:
RSA      9EFE 9490 CFFD 845C  5D79 BF0C 960A 4BAB
DH (new) 6EB8 1806 5D0C 4D53 3E00  D562 9853 28F8 8F04 A6D9




reply via email to

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