lilypond-devel
[Top][All Lists]

## Re: cadenza followed by a MMR is buggy

 From: Dan Eble Subject: Re: cadenza followed by a MMR is buggy Date: Thu, 14 Jan 2021 20:36:30 -0500

On Jan 14, 2021, at 19:13, Dan Eble <dan@faithful.be> wrote:
>
> On Jan 14, 2021, at 18:33, Dan Eble <dan@faithful.be> wrote:
>>
>> Alas, all is not well with earlier versions.  Consider the confusing bar
>> numbers in the following elaboration of your example.  How would you resolve
>> it?
>
> My thoughts:
>
> Measure 1 is complete, so the first "2" is not incorrect, though it might not
> be what a user expects.
>
> No measure can start twice.
>
> The second "2" should either be "(2)", or it should be "3" and the "3" should
> be "4".

Add issue #3640 to this discussion.  Accidentals, bar numbers, and (now)
multi-measure rests are all impacted by the fact that \bar "|" does not create
a new measure.

\new Score \with {
barNumberVisibility = #(every-nth-bar-number-visible 1)
\override BarNumber.break-visibility = #all-visible
} {
f'1
bes2
%\partial 1024 s1024 %<<< try this
\bar "|"
<< R1 bes1 >>
}

I don't think that merely restoring the previous behavior of
Multi_measure_rest_engraver would be the right thing to do, because acting as
if a measure begins at \bar "|" is inconsistent with other engravers.
—
Dan