bug-lilypond
[Top][All Lists]
Advanced

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

\change Staff does not work in the very beginning


From: -Eluze
Subject: \change Staff does not work in the very beginning
Date: Tue, 31 May 2011 23:21:14 -0700 (PDT)

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
-- 
View this message in context: 
http://old.nabble.com/%5Cchange-Staff-does-not-work-in-the-very-beginning-tp31746913p31746913.html
Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com.




reply via email to

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