lilypond-user
[Top][All Lists]
Advanced

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

Re: Temporary div. multiple staffs


From: Aaron Hill
Subject: Re: Temporary div. multiple staffs
Date: Tue, 05 Apr 2022 22:37:09 -0700

On 2022-04-05 10:20 pm, Evan Driscoll wrote:
Another question, one I've struggled with before.

The part splits out temporarily into divisi parts on multiple staffs. I
always have trouble getting the correct incantations to get the correct
result.

A naive attempt results in http://lilybin.com/1l8whf/5. This is enough to keep working, but it looks bad -- barlines don't cross between staffs, and
there's no grouping a la
https://lilypond.org/doc/v2.22/Documentation/69/lily-9c91c2b7.png from the
manual.

I can get a pair of staffs that are correct on their own by creating a
StaffGroup with two new staffs -- http://lilybin.com/1l8whf/9 -- but the
original staff continues through. Omitting the explicit \new Staff
invocations doesn't help -- http://lilybin.com/1l8whf/11.

What's the right way to do this?

Unsure there is a definitively "right" way... but here's an option:

http://lilybin.com/1l8whf/12

Move the StaffGroup declaration outside the music. Also, you can name contexts so you can reference an existing one to avoid creating new ones (explicitly or implicitly).


-- Aaron Hill



reply via email to

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