lilypond-user
[Top][All Lists]
Advanced

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

Re: partcombine problem


From: Trevor Daniels
Subject: Re: partcombine problem
Date: Mon, 24 Mar 2008 16:32:32 -0000

Peter,

\partcombine cannot handle explicit voice contexts within it - it will create its own voice contexts called one and two. So this will work:

\version "2.11.41"
\score{
       \context Staff
           \partcombine
               \relative c' {s4. s8 b8. d16 }
               \relative c'{ s4.   a8 <b g>8. d16 }
}

However, you will then find that the stems of the lower voice are down when the two parts are different, and from memory I think you will have difficulty attaching lyrics to one of the implicitly defined voices (although I may be wrong).

At the moment I cannot see a way of doing what you want easily.

Trevor D

----- Original Message ----- From: "Peter Chubb" <address@hidden>
To: "Trevor Daniels" <address@hidden>
Cc: "Peter Chubb" <address@hidden>; <address@hidden>
Sent: Monday, March 24, 2008 2:59 AM
Subject: Re: partcombine problem


"Trevor" == Trevor Daniels <address@hidden> writes:

Trevor> Hi Peter Forget \partcombine.  Chapter 3.2 in the Learning
Trevor> Manual might help.  You just need to put the two voices in
Trevor> parallel, like this:

\version "2.11.41"
\score{ \context Staff << \context Voice=tune { \voiceOne \relative c' {s4. s8 b8. d16 } }
\context Voice=accomp { \voiceTwo \relative c'{ s4.  a8 <b g>8. d16 } }
>>
}

That doesn't do what I want, as the \voiceTwo means that all the
accompaniment stems go down, and notes in tune and accompaniment have
two stems, one up and one down.

For this particular example, where there are no timing differences, I
want the result to look *exactly* the same as:

\version "2.11.41"
\score{
\context Staff <<
   \context Voice=accomp {  \relative c'{ s4.  a8 <b g>8. d16 } }
>>
}

but with a voice (called `tune') that I can attach lyrics to, with
mostly the same timing, and mostly doubling the top line in the
accompaniment.

--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia






reply via email to

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