bug-lilypond
[Top][All Lists]
Advanced

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

followVoice cannot span two systems


From: Colin Wilding
Subject: followVoice cannot span two systems
Date: Mon, 22 May 2006 06:02:33 -0700 (PDT)

I hit an obscure bug with an entertaining error message the other day.  It
was in a fairly long and complex piece. but I have managed to narrow it down
to the fact that followVoice cannot connect a note on one system with a note
two systems down.  This piece demonstrates the problem:

\version "2.8.1"
\score {  <<
           \new PianoStaff <<
                \set PianoStaff.followVoice = ##t
                \new Staff = "upper" {
                        r1 \break s1 \break
                        \change Staff = "lower" a'1 
                        \change Staff = "upper" r
                }
                \new Staff = "lower" { s1*4 }
        >>
  >>
}

When I process this I get the following message:


Parsing...
Interpreting music... [5]
Preprocessing graphical objects... 
Calculating line breaks... [3][5]
programming error: no note heads for the line spanner on next line?
Confused.
continuing, cross fingers
programming error: line-spanner with two broken ends. Farewell sweet world.
continuing, cross fingers
Calculating page breaks...

Despite the suidice note the piece actually compiles ok.  I enjoyed the
message!

In the process of working out what was wrong I learnt two useful lessons:

1.  If you put a staff change straight after a polyphonic section then
Lilypond tries to connect the last note before the polyphony with the first
note after the polyphony.

2.  followVoice will (try to) connect to rests as well as notes, but not to
skips.

Both of these behaviours are correct, I imagine.

Colin


--
View this message in context: 
http://www.nabble.com/followVoice+cannot+span+two+systems-t1662713.html#a4504912
Sent from the Gnu - Lilypond - Bugs forum at Nabble.com.





reply via email to

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