Bertalan Fodor (LilyPondTool) wrote:
It is important for the same voices to remain in the same Voice context.

So if you have this:

\new Voice = "soprano" { c8 d e } and you want to go to S1 and S2, you should use this construct:

\score { \new Staff { \new Voice = "soprano" \relative c' { \voiceOne c8 d e( << { f) } \new Voice = "s2" { \voiceTwo d } >> } } }
That is so cool!  I had to reindent it to figure out what happened.  Who knew you could start a new voice inside another voice midstream!  I added a couple more simultaneous notes and then a couple of soprano notes after the join just to make sure I understood it.  This is really exciting!

\version "2.12.2"

\score {
  \new Staff {
    \new Voice = "soprano" \relative c' {
      \voiceOne c8 d e(
        <<
          { f) g e
          }
          \new Voice = "s2" {
            \voiceTwo d c b
          }
        >>
        c8 c2
    }
  }
}


Patrick
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to