bug-lilypond
[Top][All Lists]
Advanced

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

Simultaneous Key Changes


From: Will Oram
Subject: Simultaneous Key Changes
Date: Tue, 19 Sep 2006 16:11:18 -0400

When the snippet below is processed, lilypond complains: 'warning: Two simultaneous key-change events, junking this one' and 'warning: Previous key-change event here' . In the hundreds of instances I've generated using \partcombine, I've set the key (here, c \minor) in both instruments without complaint. This seems no different.

This snippet had dozens of additional flaws in .17, but they seem to have been fixed in .18. (Glad I checked!) The \key complaint is the only remnant.

\include "english.ly"

Top = {
        \clef "bass"
        \key c \minor
        \time 2/2
        
        c1\fermata\f\>
        R1\!
        
        R1*2
        
        aflat2\f r
        r2 \times 2/3 { g8-.\p[ b-. d-.] } \times 2/3 { g-.[ b-. d-.] }
        eflat1\p\<
        eflat2\! d4\fz( c)
        bflat!2 r
}

Bottom = {
        \clef "bass"
        \key c \minor
        \time 2/2
        
        c1\fermata\f\>
        R1\!
        
        R1*2
        
        c2\f r
        R1
        eflat1\p\<
        eflat'2\! d4\fz( c)
        bflat!2 r
}

\score {
         \new Staff <<
                \partcombine
                        \relative c { \Top }
                        \relative c, { \Bottom }
        >>        
        
        \layout { }
}

learn from Crunchy
----------------------------------------------------------
                       _   |  WILL ORAM
ASCII ribbon campaign ( )  |  spamguy (at) foxchange . com
 - against HTML email  X   |  wro1 (at) cwru . edu
             & vCards / \  |
                           |  AIM spamguy21
----------------------------------------------------------
(ABOVE: Magnetic poetry #2, by Brian Lauber)





reply via email to

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