bug-lilypond
[Top][All Lists]
Advanced

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

Re: Simultaneous Key Changes


From: Will Oram
Subject: Re: Simultaneous Key Changes
Date: Fri, 20 Oct 2006 20:13:20 -0400

Apologies for the delay -- my primary mail address was causing lilypond-user to repeatedly unsign me.

I don't know what went wrong with the snippet below. This I have run just now on .25 and works fine AND demonstrates a) the simultaneous key change quirk, and b) the odd triplet bracket. I would expect a bracket spanning three notes, but it spans 7+ measures instead.

\version "2.9.24"
\include "english.ly"

Top = {
        \clef "bass"
        \key c \minor
        \time 2/2
        
        c1
        R1
        
        R1*2
        
        aflat2 r
        r2 \times 2/3 { g,8-.[ b-. d-.] } \times 2/3 { g-.[ b-. d-.] }
        eflat1
        eflat2 d4( c)
        bflat!2 r
        R1
        eflat,2. g4
        bflat r r2
\times 2/3 { c,8-.[ eflat-. g-.] } \times 2/3 { c-.[ eflat-. g-.] } a4 r
        b,2( c4 bflat)
        aflat1~
        aflat2 g4 r
        
        R1*3
}

Bottom = {
        \clef "bass"
        \key c \minor
        \time 2/2
        
        c1
        R1
        
        R1*2
        
        c2 r
        R1
        eflat1
        eflat'2 d4( c)
        bflat!2 r
        
        R1*4
        
        b2( c4 bflat)
        aflat1~
        aflat2 g4 r
        
        R1*3
}

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

On Sep 28, 2006, at 6.15 PM, Graham Percival wrote:

Hi,

This example produces many errors in .19. Could you test it and create individual snippets for each problem? There are already a few \partcombine bugs in the tracker.

Alternatively, you could wait for the long-awaited rewrite of the \partcombine code and test this with the new code.

Cheers,
- Graham


Will Oram wrote:
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)
_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond



focus on the wherefore
for in it lies the question
----------------------------------------------------------
                       _   |  WILL ORAM
ASCII ribbon campaign ( )  |  spamguy (at) foxchange . com
 - against HTML email  X   |  wro1 (at) cwru . edu
             & vCards / \  |
                           |  AIM spamguy21
----------------------------------------------------------
(ABOVE: Magnetic poetry #4)





reply via email to

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