bug-lilypond
[Top][All Lists]
Advanced

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

Re: Wrong stem direction when combining cross-staff and multiple voice n


From: Torbjörn Björkman
Subject: Re: Wrong stem direction when combining cross-staff and multiple voice notation
Date: Thu, 31 May 2012 15:11:08 +0300

Hello,

Just as you said, this solves it, also in my real world case.
I had tried to explicitly create the voices in the upper staff, since it
was in those voices that the problem arose and then I didn't even think of
trying with the voices in the lower staff. Silly me.

Thank you!
Torbjörn

2012/5/31 Marek Klein <address@hidden>

> Hello,
>
> 2012/5/31 Torbjörn Björkman <address@hidden>
>
>> When I let a voice cross over to the another staff I suddenly can't
>> specify
>> the
>> stem direction iff there are multiple voices in the staff I cross over to.
>> Trying to set \voiceOne has the same lack of effect.
>> I don't know if this is a bug or if there is some subtlety with the rules
>> for
>> multiple voices that I am unaware of, but it is unexpected and I can't
>> make
>> it
>> be the way I need.
>>
>> It works, if you explicitly create voices as advised in Notation
> reference:
> http://lilypond.org/doc/v2.14/Documentation/notation/multiple-voices
>
> In all but the simplest works it is advisable to create explicit 
> Voicecontexts as explained in Contexts
>> and 
>> engravers<http://lilypond.org/doc/v2.14/Documentation/learning/contexts-and-engravers>and
>>  Explicitly
>> instantiating 
>> voices<http://lilypond.org/doc/v2.14/Documentation/learning/explicitly-instantiating-voices>.
>>
>
>
> \version "2.14.2"
>
>
> \new PianoStaff <<
> \new Staff = "RH" \relative c'' {
>  <<
> {c b a g f}\\
> {\change Staff = "LH" \stemUp f, g a b c}
> % crossing the lower voice to staff with multiple empty voices below
>  >>
> }
> \new Staff = "LH" \relative c {
> \clef bass
>  <<
> \voiceOne {s1 s4}
> \new Voice \voiceTwo {s1 s4}
>  >>
> }
>  >>
>
> HTH
> Marek,
> bug squad member
>
>


-- 
======================================
Torbjörn Björkman


reply via email to

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