bug-lilypond
[Top][All Lists]
Advanced

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

Re: Partcombine


From: Xavier Scheuer
Subject: Re: Partcombine
Date: Tue, 31 May 2011 22:45:54 +0200

On 31 May 2011 22:18, Nels Daily <address@hidden> wrote:
>
> "Partcombine" function will not show the second voice in measure 11.
> Here's the code:

Yeah,  \partcombine  used to fail in the presence of rests.

A workaround can be easily found using the new partcombine features:
\partcombineSoloI  and  \partcombineSoloII
(or  \partcombineApartOnce etc.), see the doc NR 1.5.2 Multiple voices
 > Automatic part combining (latest version).

Note: apparently all these commands should be in the same voice, this
is not explained in the doc AFAIK.


%%%% SNIPPET %%%%

\version "2.13.63-1"  % necessary for upgrading to future LilyPond versions.

hornthree = \relative c' {
  \time 2/4
  R2*2
  \partcombineSoloI
  r8 e16 r r8 e16 r r8 cis16 r r8 e16 r
  R2*2 r8 e16 r r8 e16 r r8 d16 r r8 e16 r
  R2*2
  \partcombineSoloII
  R2*4
}

hornfour = \relative c' {
  \time 2/4
  R2*10
  %% These notes don't appear!!! %%
  r8 b~ b b~ b b~ b b~ b b~ b b~ b b~ b b
}

\score {
  <<
    \new Staff {
      \partcombine \hornthree \hornfour
    }
  >>
}

%%%% END OF SNIPPET %%%%


Cheers,
Xavier

-- 
Xavier Scheuer <address@hidden>



reply via email to

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