[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: \partcombine
From:       Jan Nieuwenhuizen <janneke () gnu ! org>
Date:       2001-09-20 8:05:15
Message-ID: m3y9naqock.fsf () appel ! lilypond ! org
[Download RAW message or body]

Johan Walter <johanw@foi.se> 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 <janneke@gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic