On Nov 24, 2014, at 04:11 , Urs Liska <u...@openlilylib.org> wrote:
> 
> I don't know how to properly review this, but I checked against a current 
> score I'm working on, and I see it removes one of the most annoying issues I 
> had so far.

I’m glad to hear that.  I still need to check my own scores.

> When the partcombiner deals with a section that starts with different rests 
> (the situation you improve in your patch) it fails to set the Voice number 
> correctly. I even have the impression it actively sets it wrongly. The 
> attached image shows that
> - at the first moment of the measure the voices are set correctly: The quaver 
> rest is \voiceOne, the full measure rest is \voiceTwo.
> But the notes starting with the second quaver are obviously \oneVoice.

This is outside the scope of this patch.

The following might help work around some frustrating issues.  You can put 
whatever you like into the same voice the part combiner uses for solos.  It’s 
not pretty, but it removes uncertainty.

\version "2.19.15"

one = \relative c'' {
 c2 c
 \voiceOne
 r8 c b a g f e d
 c1
}

two = \relative c' {
 c2 c
 R1*2
}

\score {
  \new Staff <<
    \new Voice = "solo" {
      \override Stem.direction = #UP
      s1 s2 \override NoteHead.color = #red s2 \revert NoteHead.color
    }
    \partcombine \one \two
  >>
}
— 
Dan


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to