|
From: | Andrew Bernard |
Subject: | Re: Parallel music, adding a voice, stem not appearing |
Date: | Mon, 11 Apr 2016 10:46:10 +1000 |
User-agent: | Microsoft-MacOutlook/0.0.0.160212 |
HI Joseph, Sorry. That’s what comes from me writing in a hurry. Why does this work? Because if you use \\ in voices new voices are created and discarded after. If you use \new Voice you can tie into and out of the first voice as it is a continuation of the existing voice. Also observe that due to the different voice shifting now you can control the dot on the A flat, and you can have one or not depending on what you wrote or whatever ot may be that the composer was intending – just set af2 or af2 as per your desire. Here followeth the corrected code. Andrew — snip \version "2.19.39" \language "english" global = { \key c \minor \time 3/4 } rh = \relative c'' { << { % soprano \voiceOne c2. ~ | << { c } \new Voice { \stemDown \shiftOn af2. } >> } \new Voice { % alto \voiceTwo bf!4 af g~ | g4 f ef | } >> } lh = \relative c { \clef bass << { \voiceOne % tenor \change Staff= "right" \stemDown g''4 \skip 2 | \change Staff = "left" \stemUp c,2. | } \new Voice { \voiceTwo % bass \change Staff="right" ef4 \change Staff = "left" c4 bf! | r4 af g | } >> } pedal = \relative c { \clef bass c2.~ | c2. | } \score { \new PianoStaff << \new Staff = "right" { \global \rh } \new Staff = "left" { \global \lh } \new Staff = "pedal" { \global \pedal } >> } — snip |
[Prev in Thread] | Current Thread | [Next in Thread] |