bug-lilypond
[Top][All Lists]
Advanced

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

Re: Change Staff problem with rests


From: Mats Bengtsson
Subject: Re: Change Staff problem with rests
Date: Fri, 12 May 2006 16:12:29 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3

Try to use \voiceOne instead of \stemUp and  \voiceTwo
instead of \stemDown. It specifies the direction not only
on stems but also on a number of other things like slurs,
ties, rests, ...


  /Mats

Brett Duncan wrote:

Hi

When I used the \change Staff command in a piano arrangement I'm working on, I found it necessary to force the stem directions to avoid column clashes. No problem. However, I've found that if both parts have a rest at the same moment, I get error messages like this...

warning: can't resolve rest collision: rest direction not set

...and a single rest appears rather than two rests (one above the other).

The following snippet shows the problem:

---------------------------------------
staffPiano = \new PianoStaff {
        \time 4/4
                <<
        \context Staff = "RH" {
            \clef treble
            \relative c' {
                c'1
                \stemUp
                b4 g r4 b
            }
        }
\context Staff = "LH" { \clef bass
            \relative c {
                c'1
                \change Staff = "RH"
                \stemDown
                b4 g r4 b
            }
        }
    >>
}
---------------------------------------

Brett


_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond



--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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