[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: accidentals after mid-measure break
From: |
David Kastrup |
Subject: |
Re: accidentals after mid-measure break |
Date: |
Sat, 04 Jan 2020 02:05:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Malte Meyn <address@hidden> writes:
> Hi list,
>
> I think that accidentals should be repeated after a break in every
> case. LilyPond does this with tied notes over a bar line but not with
> tied or even separate notes within a measure:
>
> \version "2.21.0"
> \relative {
> \partial 2 c'2 d e fis \bar "" \break
> fis g1 fis2~ \bar "" \break
> fis g1 fis~ \break
> fis2 g g, \bar "|."
> }
>
> Do you agree that this is a bug?
We can agree all day long but LilyPond's accidental algorithm is way out
of its depth to deal correctly with line breaks. Even at tied notes
over a barline, the next accidental may appear properly but without
impacting the following accidental as appropriate: there would be a
ripple effect that is way beyond the current implementation even right
at a barline, and doing that kind of ripple effect for mid-bar breaks
would be much harder still.
Try
\fixed c'
{
\key a \major
c1~ \break
c2 c2
}
--
David Kastrup