lilypond-user
[Top][All Lists]
Advanced

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

TextSpanner bug


From: Atte Andre Jensen
Subject: TextSpanner bug
Date: Tue, 3 Sep 2002 14:26:33 +0200 (CEST)

Not sure it this belongs to users or devel, so bear with me...

The following .ly shows the problem; The "va8" in bar 1 is terminated
correctly, but the one in bar 3 is not, it grabs one extra note. This is
with 1.6.0. Sorry for the lengthy example, but if I take anything out the
problem is gone, and we don't want that :-)

A small thing; quite a few of the 6'es of the tuplets in the right hand
are clashing with the beams...


-- begin .ly --
vaStart = \spanrequest \start "text"
vaStop = \spanrequest \stop "text"

RHa = \notes  \relative c'' \context Voice = RHa {
    \property Voice.TextSpanner \set #'extra-offset = #'(0 . 2)
    \property Voice.TextSpanner \set #'type = #'dashed-line
    \property Voice.TextSpanner \set #'edge-height = #'(0 . 1.5)
    \property Voice.TextSpanner \set #'edge-text = #'("8 " . "")
    \voiceOne
    | \times 4/6 {a16\vaStart dis a' a, dis a'}
    \times 4/6 {b, fis' b b, fis' b}
    \times 4/6 {c, fis c' c, fis c'}
    \times 4/6 {e, a e' e, a e'\vaStop}
    | \times 4/6 {b, e b' b, e b'}
    \times 4/6 {c, e 'c c, e c'}
    \times 4/6 {c, fis c' c, fis c'}
    \times 4/6 {b, f' b b, f' b}
    | \times 4/6 {e\vaStart b e, b' e, b}
    \times 4/6 {b' e, b e b e,\vaStop}
    \times 4/6 {e'' b e, b' e, b}
    \times 4/6 {b' e, b e b e,}
    | \times 4/6 {a, e' a a e' a}
    \times 4/6 {a, es' a a, es' a}
    \times 4/6 {g,, d' g g d' g}
    \times 4/6 {a, d a' b, f' b}
}

RHb = \notes  \relative c'' \context Voice = RHb {
    \voiceTwo
    | a4 b c e | b c c b | s1 | a,4 a' g, a'8 b
}

LHa = \notes  \relative c \context Voice = LHa {
    \voiceThree
    | \times 2/3 {dis8 c' fis}
    \times 2/3 {c, a' dis}
    \times 2/3 {a, fis' c'}
    \times 2/3 {fis,, e' a}
    | \times 2/3 {b, g' e'}
    \times 2/3 {b, g' e'}
    \times 2/3 {b, a' e'}
    \times 2/3 {b, a' dis}
    | \times 2/3 {e,, b' g'}
    \times 2/3 {g, e' b'}
    \times 2/3 {b, g' e'}
    \times 2/3 {e, b' g'}
    | \times 2/3 {f,, c' a'}
    \times 2/3 {f c' f}
    \times 2/3 {f,, d' b'}
    \times 2/3 {g d' g}
}

LHb = \notes  \relative c \context Voice = LHb {
    \voiceFour
    | dis4 c a fis | b b b b | e,1 | f2 f
}

\score {
    \context PianoStaff
    \notes <
        \context Staff = up <
            \time 4/4
            \key a \minor
            \clef treble
            \RHa
            \RHb
        >
        \context Staff = down <
            \time 4/4
            \key a \minor
            \clef bass
            \LHa
            \LHb
        >
    >
    \paper {
    }
}
-- end .ly --

-- 
peace, love & harmony
Atte





reply via email to

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