I'm having a problem shaping ties of chords after more than one measure. I have an internal voice that comes in on the third measure and the ties go right through it. \shape doesn't seem powerful enough to handle this (at least I don't know the syntax). Here's what the measures should look like:
\version "2.19.21"
\language "english"
% --- Music ---
highVoice = \relative {
c'''8 ( [ a g a ] |
c [ a g a ] ~ |
a2 ~ |
a2 ) |
}
upperMiddle = \relative {
<c'' f a>2 ~ |
q2 ~ |
q2 ~ |
q2 |
}
lowerMiddle = \relative {
s2 * 2 |
d'8 ( [ e c e ] |
d [ e c e ] ) |
}
lowVoice = \relative {
<g c f>2 ~ |
q2 ~ |
q2 ~ |
q2 |
}
% --- Layout ---
global = {
\key c \major
\time 2/4
}
upper = {
\global
\clef treble
<<
\new Voice { \voiceOne \highVoice }
\new Voice { \voiceTwo \upperMiddle }
>>
}
lower = {
\global
\clef bass
<<
\new Voice { \voiceThree \lowerMiddle }
\new Voice { \voiceFour \lowVoice }
>>
}
\score {
\new PianoStaff <<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
\layout {
\context {
\Score
\hide BarLine
\hide SpanBar
\remove "Bar_number_engraver"
}
\context {
\Staff
\remove "Time_signature_engraver"
}
}
}