lilypond-user
[Top][All Lists]
Advanced

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

Re: \partcombine


From: Jan Nieuwenhuizen
Subject: Re: \partcombine
Date: 20 Sep 2001 10:05:15 +0200

Johan Walter <address@hidden> writes:

> In the following program I would like to combine the soporanos with
> altos one and two.

Do you really want these three parts on one staff?  I'm not sure if
the part combiner is up to that, it espects to have the staff (and
it's two voices) for itself...

> How should I correct my code?

The part combiner will combine parts (voices in this case) named 'oneXXX'
and 'twoXXX', so naming the soprano-voice 'one' makes a mess of it.  Try:


    staffSoprano = \notes\relative c'' {
      g4 f a' b,
    }
    
    staffAltoI = \notes\relative c' {
      e e f g
    }
    
    staffAltoII = \notes\relative c' {
      e d f e
    }
    
    \score {
      <
        \context Staff = choir <
          \property Staff.soloADue = ##f
          \context Voice=somename { \voiceOne \staffSoprano }
          \context Voice=one { \voiceTwo \partcombine Voice
            \context Thread=one \staffAltoI
        \context Thread=two \staffAltoII }
        >
      >
    }

  
-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

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