bug-lilypond
[Top][All Lists]
Advanced

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

Re: \change Staff does not work in the very beginning


From: Colin Campbell
Subject: Re: \change Staff does not work in the very beginning
Date: Sun, 05 Jun 2011 20:19:20 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10

On 11-06-01 12:21 AM, -Eluze wrote:
with this code the first note remains in the upper staff and 2 warnings are
output:

\version "2.13.62"
\context PianoStaff<<
   \context Staff = "up" {
     \relative c {
       \change Staff = "down" \repeat tremolo 4 {f16 { \change Staff = "up"
f' } }
   } }
   \context Staff = "down" {
     \relative c {
       \clef bass
       \stemDown
       d,1 |
   } }
http://old.nabble.com/file/p31746913/test.png

warning: Change_iterator::process (): Staff = `up':
test.ly:5:6: warning: cannot change `Staff' to `down': not changing to same
context type: Staff


this is healed by:

- explicitly declaring the voices
- inserting s1*0
- adding \key ... (but not \clef or \time)
- using an \override of a grob attribute (e.g. \override NoteHead #'color =
#black)

cheers
Eluze

Thanks for a good report, Eluze. I've added this, with apologies for the delay, as issue 1681 <http://code.google.com/p/lilypond/issues/list?thanks=1681>


Colin Campbell
Bug Squad

--
A chief event of life is the day in which we have encountered a mind
that startled us.
 -Ralph Waldo Emerson, writer and philosopher (1803-1882)



reply via email to

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