I'm re-framing my query regarding accidental behavior following
\cadenzaOff. After some discussion about this on bug- it is quite clear
that '\cadenzaOff' *only* affects counting/timing and '\bar' *only* paints
a graphic of a bar line. Currently, if an accidental appears in the
cadenza it will be visibly canceled if the key signature value of the note
is used in the next "measure" even if '\cadenzaOff \bar "|."' is present.
Musically this should not happen. Since a bar line has gone by the key
signature is back in force.
This post in on -user to see if anyone has a solution; how do I suppress
the accidental cancellation in the following example?
I've posted this to bug- to suggest that LilyPond should probably
understand this.
Example:
%%%
\version "2.14.2"
\relative c'
{
\key c \major
\time 2/4
c2 ~
\cadenzaOn
c4 \teeny d8-[ es f g-] \normalsize a4-\fermata
\cadenzaOff
\bar "|"
e2 % how to suppress accidental cancellation here?
}
%%%
-David