[Top][All Lists]

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

Re: Problems adding voice with rests

From: Peter Toye
Subject: Re: Problems adding voice with rests
Date: Tue, 16 Feb 2021 11:22:02 +0000

Thanks again. And don't worry about the double post :)

I'd not really looked at partCombine as the description in the manuals refers to genuinely polyphonic music, which this sort of piano writing definitely isn't. But it seems to work. Now to work out how to continue this for the next few bars (which are repeats of the 2nd bar). I can probably do this by myself but may come back for more help!

Best regards,


Monday, February 15, 2021, 6:00:15 PM, Christian Masser wrote:

If you excuse the second double post in one thread - I really should think before writing - this solution seems even better. It's a little fizzle work to get the \voice commands right, but it works and is far easier to read than my previous solution. Plus, it allows good continuation of the two voices. Be aware that the voices change position - so "up" becomes the second voice and vice versa.

up = \relative c {
b4.( ~ b8 c e b4. ~ b4 b,8 |
<e) e,>2. ~ <e e,>4. c4\rest b8 |

down = \relative c, {
e2. ~ \voiceOne e4._~ 4 s8 |
f'4.\rest f8\rest
c( e b4. ~ 4 b,8) |
\score {
\new Staff {
\time 12/8
\clef "bass"
\partCombine \up \down

All the best

Am Mo., 15. Feb. 2021 um 18:18 Uhr schrieb Peter Toye <>:

Kieran, Christian,

There's something we all missed: the tie on the final bass note. Here's the full bar/measure attached. This give as a bit of t problem as the two-voice writing goes on for some time with lots of slurs & ties. So putting the E octave in the top voice means that I can't then use that voice for the higher voice until the slurs stop. Is there an elegant way ff doing this?

Please don't ask me why the final note of the 2nd bar is double-stemmed - I didn't write this :)

Best regards,


Monday, February 15, 2021, 4:59:00 PM, you wrote:

> Hi Peter,

>> Thanks very much - I don't quite see how this solves the rest problem, or does LilyPond always align dots vertically regardless of the horizontal position of the note?

> That’s a preference — the default is to align dots.

>> I find Christian's solution a bit more elegant as it uses only 2 voices.

> Agreed! I prefer it, too.  =)

>> I'd forgotten about \undo - I've not used LP for several months. I still find it a bit odd that there's \unHideNotes but not \UnHide :)

> \undo is a generally-applicable function.
> \unHideNotes is syntactic sugar for use in a single situation.

> Best,
> Kieren.
> ________________________________

> Kieren MacMillan, composer (he/him/his)
> ‣ website:
> ‣ email:

reply via email to

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