lilypond-user
[Top][All Lists]
Advanced

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

Re: partCombine and direction of stems


From: Gianmaria Lari
Subject: Re: partCombine and direction of stems
Date: Thu, 4 Apr 2019 10:55:11 +0200

Great explication Malte!

Consider to add it somewhere in the manual in case it is not already there (if it is, I didn't find it).

Thank you, Gianmaria

On Thu, 4 Apr 2019 at 10:43, Malte Meyn <address@hidden> wrote:


Am 04.04.19 um 10:23 schrieb Gianmaria Lari:
> I don't understand how lilypond manages the stem direction in the
> following code. Why the difference in the two scores?

\partCombine is for combining a first and a second (or upper and lower)
part in a score, like flute 1 & flute 2 or soprano & alto. As long as
the first/upper part has the higher notes, LilyPond will print simple
chords. When the parts cross (first/upper part has the lower notes),
this will be shown as two different voices so that the stem directions
show the non-standard order of voices.

If you want two separate voices in both cases, you can use
\partCombineApart or instead of \partCombine just << \\ >>.

If you want chords in both cases, you can use \partCombineChords or
instead of \partCombine just << >> without \\.

%%%%%%%%%%%%%%%%%
\version "2.21.0"

upper = { c' d' e' f' }
lower = { a b c' d' }

\partCombine \upper \lower
\partCombine \lower \upper
\partCombine { \partCombineApart \upper } \lower
\partCombine { \partCombineChords \lower } \upper
<< \upper \\ \lower >>
\new Voice << \upper \lower >>
%%%%%%%%%%%%%%%%%

N.B. If someone wants to try this at home be aware that in 2.19.83 and
earlier versions it has to be \partcombine, \partcombineApart,
\partcombineChords (with lowercase c in “combine”).

_______________________________________________
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]