bug-lilypond
[Top][All Lists]
Advanced

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

Re: Possible bug, or I am doing something wrong?


From: Sami Amiris
Subject: Re: Possible bug, or I am doing something wrong?
Date: Tue, 5 Jun 2012 20:19:08 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

David Kastrup <dak <at> gnu.org> writes:

> 
> Sami Amiris <sami.amiris <at> gmail.com> writes:
> 
> > Please run this, it is self-explanatory. It is an issue with autochange and 
> > beaming. Is it me, or a bug?
> 
> You are doing something wrong.  You don't start a voice before writing
> \autochange, and so \autochange _first_ changes the Staff, and then
> there is no longer a need to start a new implicit voice since the upper
> staff already _has_ an implicit voice.
> 
> So for the lower staff, try writing
> \new Voice \autochange ...
> and the autochange voice will get started in the lower staff and remain
> rooted there.
> 

I have trimmed it like this:

\version "2.14.2"
\score
        {
        \new PianoStaff
        <<
                \new Staff = "up"{
                \clef treble
                \new Voice = "upper"
                \autochange {
                \relative c'' %If this becomes c' or lower, everything ok.
                              %as it is, it puts everything in the voice of 
"down".
                        {
                        \stemUp{        
                        \bar "|:" bes4 c bes' c \bar ":|" d1 \bar "|."
                        }}}}
                                
                \new Staff = "down"{
                \clef bass
                \new Voice = "lower"
                \autochange {
                \relative c' %this is of no consequence, really
                        {
                        \stemDown{      
                         bes4 c bes' c | d1 
                        }}}}
        >>
        }       

I have put new voices, but it still doesn't work. How would this work? I am a 
relative newbie, so please excuse the clumsiness...     




reply via email to

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