lilypond-user
[Top][All Lists]
Advanced

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

Re: more than 2 voices using partcombine


From: Mark Polesky
Subject: Re: more than 2 voices using partcombine
Date: Thu, 4 Mar 2010 17:29:46 -0800 (PST)

Eby Mani wrote:
> Is it possible to combine morethan 2 voices using
> \partcombine ?. Did anyone re-write this ?
>
> I have need to combine 3 voices to a single staff, I've
> tried

Don't use \partcombine.  Use the "funneling two different
music expressions into one context" trick (see
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Creating-contexts).
Note the "<< ... >>" instead of "{ ... }".  Don't know why
the "Pedals" context didn't work for you.  In the future
post a file that compiles!  I had to populate the contexts
with notes anyway to test the problem.

- Mark

* * * * * * * * * *

\version "2.12.3"

global = { \time 3/4 }

OrganRHOne = { g'2 }
OrganRHTwo = { e'2 }
OrganLHOne = { c'2 }
OrganLHTwo = { g2 }
OrganLHThree = { c2 }

\new PianoStaff <<
  \context Staff = upper <<
    \context Voice = OrganRHi <<
      \global
      \voiceOne
      \OrganRHOne
    >>
    \context Voice = OrganRHii <<
      \global
      \voiceTwo
      \OrganRHTwo
    >>
  >>

  \context Staff = lower <<
    \clef bass
    \context Voice = OrganLHi <<
      \global
      \voiceOne
      \OrganLHOne
      \OrganLHTwo
    >>
    \context Voice = Pedals <<
      \global
      \voiceTwo
      \OrganLHThree
    >>
  >>
>>


      




reply via email to

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