Re: Splitting divisi passages in staves

2024-03-26 Thread Adam M. Griggs
Hello, that's all possible.

The Staff.keepAliveInterfaces part is a bit more tricky but I grappled with
it on this mailing list a few months ago:

https://mail.gnu.org/archive/html/lilypond-user/2023-11/msg00063.html

https://mail.gnu.org/archive/html/lilypond-user/2023-11/msg00072.html

Your score and multi-stave parts are separate from one another and so the
layout of each can be handled with entirely different parameters.

\partCombine has a bit of a quirk you need to be aware of: it doesn't work
when invoked mid-expression. This applies to BOTH parts. So, if one part
has a stretch of multimeasure rests, say R1*14, and you want to change the
\partCombine behaviour part-way in, you'll have to split that into, for
example,

R1*6
[\partCombineApart]
R1*8

IMPORTANT:
You are still required to split that multimeasure rest even if you put the
\partCombineApart command in the other contributing part.

Take a look at those links, test things out, and good luck.


On Tue, 26 Mar 2024, 21:31 YTG 1234,  wrote:

> Hello everyone,
>
> I want to set divisi passages (for strings) in the part as separate
> staves, but in the score combined.
>
> I am aware of the \partCombine
> 
> functionality, but I'm not sure that it suits this use case. Precisely:
>
>1. Is there a way to set a minimum length of time for identical notes
>to be merged in unison? That is, only if I have more than one continuous
>bar of unison do I want to actually set the parts as one voice.
>2. Likewise, I don't want the automatic part-combiner to immediately
>say *"SOLO!"* when the other division has a short rest, but rather
>print the rest.
>3. In the parts, how can I set unison passages using only one stave? I
>could make the other empty, but I don't know how that affects the combined
>part.
>4. Not necessary, but could I set (even manually) simpler passages as
>single-staff polyphony in the part, but more complex ones in separate
>staves?
>
> I've taken a look at
> https://lilypond.org/doc/v2.25/Documentation/notation/hiding-staves, and
> it seems useful, but I don't know if it can merge unison properly. Perhaps
> I can use this method in the parts together with \partCombine in the
> shared stave, and in the score only use a shared stave. Would that work?
> Would the Staff.keepAliveInterfaces changes mess with the score in any
> way?
>
> But that still doesn't consider points 1-2 above.
>
> Thanks for any help!
>


Splitting divisi passages in staves

2024-03-26 Thread YTG 1234

Hello everyone,

I want to set divisi passages (for strings) in the part as separate 
staves, but in the score combined.


I am aware of the \partCombine 
 
functionality, but I'm not sure that it suits this use case. Precisely:


1. Is there a way to set a minimum length of time for identical notes
   to be merged in unison? That is, only if I have more than one
   continuous bar of unison do I want to actually set the parts as one
   voice.
2. Likewise, I don't want the automatic part-combiner to immediately
   say /"SOLO!"/ when the other division has a short rest, but rather
   print the rest.
3. In the parts, how can I set unison passages using only one stave? I
   could make the other empty, but I don't know how that affects the
   combined part.
4. Not necessary, but could I set (even manually) simpler passages as
   single-staff polyphony in the part, but more complex ones in
   separate staves?

I've taken a look at 
https://lilypond.org/doc/v2.25/Documentation/notation/hiding-staves, and 
it seems useful, but I don't know if it can merge unison properly. 
Perhaps I can use this method in the parts together with \partCombine in 
the shared stave, and in the score only use a shared stave. Would that 
work? Would the Staff.keepAliveInterfaces changes mess with the score in 
any way?


But that still doesn't consider points 1-2 above.

Thanks for any help!