Discussion:
Part combine problems
Daniel E. Moctezuma
2012-08-14 08:27:16 UTC
Permalink
Hello,

I'm having problems using \partcombine:

1. I have 3 voices, how can I use \partcombine (or equivalent) with 3 or
more voices? (in this case 3)

2. Each of the voices have dynamics (on the same beats), using \partcombine
with 2 voices show them correctly but the dynamics are duplicated. Note
that those voices have different slurring (does that word exist?).

3. Following the case above, using the same slurring on both voices outputs
correctly but with a warning "cannot end slur".

4. How can I add the lyrics line to the \partcombine staff?

5. How can I add the lyrics line if I combine the 3 voices (note that Voice
1 and 2 share the same lyrics, Voice 3 has different lyrics)


Attached to this email is a .ly file for this case (using LilyPond 2.15.39).
Thanks in advance.
--
Daniel E. Moctezuma
David Kastrup
2012-08-14 08:31:34 UTC
Permalink
Post by Daniel E. Moctezuma
Hello,
1. I have 3 voices, how can I use \partcombine (or equivalent) with 3
or more voices? (in this case 3)
Cf. <URL:http://code.google.com/p/lilypond/issues/detail?id=2610>
Post by Daniel E. Moctezuma
2. Each of the voices have dynamics (on the same beats), using
\partcombine with 2 voices show them correctly but the dynamics are
duplicated. Note that those voices have different slurring (does that
word exist?).
3. Following the case above, using the same slurring on both voices
outputs correctly but with a warning "cannot end slur".
4. How can I add the lyrics line to the \partcombine staff?
5. How can I add the lyrics line if I combine the 3 voices (note that
Voice 1 and 2 share the same lyrics, Voice 3 has different lyrics)
Attached to this email is a .ly file for this case (using LilyPond 2.15.39).
Cf <URL:http://code.google.com/p/lilypond/issues/detail?id=2584>: the
last fix concerning spanners has been in 2.15.42.
--
David Kastrup
Daniel E. Moctezuma
2012-08-16 01:29:11 UTC
Permalink
I've found a workaround to points 2 and 4:

\new Staff \with { printPartCombineTexts = ##f } <<

\set Staff.instrumentName = \markup \center-column {

"Soprano"

"II & III"

}

\new Voice = "Dynamics" << \dynamicUp \sopranoIDynamics >>

\partcombine \sopranoII \sopranoIII

\new Voice = "Soprano" {

\override Slur #'transparent = ##t

\override Tie #'transparent = ##t

\override NoteColumn #'ignore-collision = ##t

\hideNotes \sopranoII

}

\new Lyrics \lyricsto "Soprano" \sopranoIIWords
So basically it seems you need to put the dynamics as a voice (not
dynamic), do partcombine and add an additional voice (hidden) to be able to
add lyrics to the result of partcombining (among some overrides for ties,
slurs and collision warnings).

If anyone has a better solution/workaround, would be appreciated.
--
Daniel E. Moctezuma
Continue reading on narkive:
Loading...