lilypond-user
[Top][All Lists]
Advanced

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

Re: Divided voices


From: Patrick Horgan
Subject: Re: Divided voices
Date: Wed, 20 Jan 2010 11:32:54 -0800
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

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

reply via email to

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