lilypond-user
[Top][All Lists]
Advanced

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

Re: turning off partcombine


From: Janek Warchoł
Subject: Re: turning off partcombine
Date: Tue, 19 Jun 2012 13:09:49 +0200

Mike,

On Tue, Jun 19, 2012 at 11:24 AM, address@hidden
<address@hidden> wrote:
> Is there a way to turn off partcombine so that I can change staves and then 
> turn it back on when the voice comes back to its original staff?

What about this?

instrumentOne = \relative c' {
  e4 e e e
  e4 e e e
  e4 e e e
}
instrumentTwo = \relative c' {
  c4 c c c
  \partcombineApart
  \change Staff = "down"
  \oneVoice
  c c c c
  \change Staff = "up"
  \partcombineAutomatic
  c c c c
}

<<
  \new Staff = "up" \new Voice { \partcombine \instrumentOne \instrumentTwo }
  \new Staff = "down" { s1*3 }
>>

% you can wrap the commands in something convenient.
% hth,
% Janek



reply via email to

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