Dan Eble <d...@faithful.be> writes:

> Can anyone offer general architectural advice for adding the option
> for parts on the same staff to share rests when possible?  I mean
> without using \partcombine.  I’d like to focus on multi-measure rests
> first.  Roughly, I guess there should be something that watches for
> notes and rests in all voices, and if there are only multi-measure
> rests in the current measure, eliminate all but one MultiMeasureRest
> grob (or eliminate them all and create a new one?).  Would that be a
> new kind of engraver placed at staff level that works independent of
> the multi-measure rest engraver, which remains at voice level?  Are
> there engravers that work similarly that I should study?

Well, in the context of finding a good vertical position for multi-voice
rests, I considered the Melody_engraver quite relevant.

Probably less so for simultaneous rests but maybe still worth looking
at.

-- 
David Kastrup

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to