lilypond-user
[Top][All Lists]
Advanced

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

\partcombine


From: Johan Walter
Subject: \partcombine
Date: Wed, 19 Sep 2001 11:35:40 +0200

In the following program I would like to combine the soporanos with
altos one and two.
I have managed to get the direction of the soprano stems to point up and
the alto stems to point down.
However, the common notes of the altos are printed beside each other and
not combined.

How should I correct my code?

I'm running version 1.4.0 under Red Hat 7.1

regards
/Johan Walter



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=one { \voiceOne \staffSoprano }
      \context Voice=two { \voiceTwo \partcombine Voice
        \context Thread=one \staffAltoI
        \context Thread=two \staffAltoII }
    >
  >
}



reply via email to

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