lilypond-user
[Top][All Lists]
Advanced

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

Re: New \partcombine in 2.19 Was: Re: Combining voices in American Hymns


From: Phil Holmes
Subject: Re: New \partcombine in 2.19 Was: Re: Combining voices in American Hymns
Date: Fri, 9 Sep 2016 09:13:37 +0100

The reason that the difference with your various parameters to partcombine isn't clear is that your music isn't well designed to show the difference. Try it with the notes shown in the Notation Reference:

\version "2.19"
instrumentOne = \relative {
a4 b c d |
e f g a |
b c d e |
}

instrumentTwo = \relative {
c'4 c c c |
c c c c |
c c c c |
}

It appears that 2.19.47 has some issues with font caching (or lack of it). Try with an earlier 2.19 version:

http://download.linuxaudio.org/lilypond/binaries/

--
Phil Holmes


----- Original Message ----- From: "David F." <address@hidden>
To: <address@hidden>
Sent: Friday, September 09, 2016 1:49 AM
Subject: New \partcombine in 2.19 Was: Re: Combining voices in American Hymns



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


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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