|
From: | Christian Masser |
Subject: | Re: Problems adding voice with rests |
Date: | Mon, 15 Feb 2021 16:56:15 +0100 |
I'm trying to set this piece of slightly strange voice writing (see attachment).
It obviously needs three voices: one for the lower line (voice 2), one for the upper line (voice 1) and a third for the rest at the end.
The closest I've got is below, but this has two problems with the final beat:
1 - The bass octave is shifted right.
2 - The rest and its dot are separated.
Playing about with \shiftOff and changing or omitting \VoiceOne have no effect. Obviously I'm doing something stupid but can't work out what it is.
Incidentally, neither the Learning nor Notation manuals say how to cancel a \hide instruction. I'm a bit surprised to find that there isn't an \unhide command!
\version "2.19.83"
\language "english"
{
\time 12/8
\clef "bass"
<<
\relative {
b,4.~( 8 c e <b~ e,>4. 4 b,8 |
<<
\hideNotes e4.)
\new Voice {
\voiceOne
\absolute f4.\rest
}
>>
}
\\
\relative
{
e,2.~ \hide Stem 4.~ 4 \revert Voice.Stem.transparent s8 |
<e e,>2. s2.
}
>>
}
Regards,
Peter
mailto:lilypond@ptoye.com
www.ptoye.com
[Prev in Thread] | Current Thread | [Next in Thread] |