bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 4205: Improve part combiner's rest analysis (issue 174610043 b


From: Dan Eble
Subject: Re: Issue 4205: Improve part combiner's rest analysis (issue 174610043 by address@hidden)
Date: Mon, 24 Nov 2014 20:45:05 -0500

On Nov 24, 2014, at 04:11 , Urs Liska <address@hidden> 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




reply via email to

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