[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New \partcombine in 2.19 Was: Re: Combining voices in American Hymns
From: |
David F. |
Subject: |
New \partcombine in 2.19 Was: Re: Combining voices in American Hymns |
Date: |
Thu, 8 Sep 2016 18:49:07 -0600 |
On Sep 8, 2016, at 2:09 AM, Phil Holmes <address@hidden> wrote:
> Partcombine has been improved in 2.19. See
> http://lilypond.org/doc/v2.19/Documentation/notation/multiple-voices#automatic-part-combining
Ah, yes. That looks very close to what I want. In fact \partcombine #'(1 . 0)
appears to do the trick.
But I do not understand what the two new arguments do. The documentation
linked above has a paragraph that tries to explain the new arguments, but I
simply do not understand. Also, some quick experimentation didn’t shed any
more light.
\version "2.19"
instrumentOne = \relative {
c'1 |
b2 c |
a4 b c d |
}
instrumentTwo = \relative {
c'1 |
c2 c |
c4 c c c |
}
<<
% These all generate the same output
\new Staff \partcombine \instrumentOne \instrumentTwo
\new Staff \partcombine #'(0 . 0) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(0 . 1) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(0 . 2) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(0 . 3) \instrumentOne \instrumentTwo
% These all generate the same output
\new Staff \partcombine #'(1 . 0) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(1 . 1) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(1 . 2) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(1 . 3) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(2 . 0) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(2 . 1) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(2 . 2) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(2 . 3) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(3 . 0) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(3 . 1) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(3 . 2) \instrumentOne \instrumentTwo
\new Staff \partcombine #'(3 . 3) \instrumentOne \instrumentTwo
>>
Also, Lilypond 2.19 is 5x to 10x slower on my Mac.
David
- Combining voices in American Hymns, David F ., 2016/09/08
- Re: Combining voices in American Hymns, Noeck, 2016/09/08
- Re: Combining voices in American Hymns, Urs Liska, 2016/09/08
- Re: Combining voices in American Hymns, Phil Holmes, 2016/09/08
- Re: Combining voices in American Hymns, Urs Liska, 2016/09/08
- Re: Combining voices in American Hymns, David Wright, 2016/09/08
- Re: Combining voices in American Hymns, David F., 2016/09/13
- Re: Combining voices in American Hymns, David Wright, 2016/09/14
- New \partcombine in 2.19 Was: Re: Combining voices in American Hymns,
David F. <=
- Re: New \partcombine in 2.19 Was: Re: Combining voices in American Hymns, Phil Holmes, 2016/09/09
Re: Combining voices in American Hymns, Karlin High, 2016/09/12
Solved Re: Combining voices in American Hymns, David F., 2016/09/13