lilypond-user
[Top][All Lists]
Advanced

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

Re: Extraneous accidental after barline in cadenza


From: Thomas Morley
Subject: Re: Extraneous accidental after barline in cadenza
Date: Fri, 29 Mar 2013 12:48:05 +0100

2013/3/29 James Harkins <address@hidden>
I would like the E-natural to print here without the accidental.

\version "2.16.1"
\include "english.ly"

\relative c' {
  \key g \major

  ef1
  g
  e1  % no explicit natural sign here

  \cadenzaOn

  ef1
  \bar "|"
  g
  \bar "|"
  e1  % but there is one here - I want to get rid of it
}

In this minimal example, it could be argued that the visible
cancellation makes sense. In my actual score, it doesn't: the E-flat
is early in the system, and the E-nat. is quite a bit later, with many
notes and three barlines intervening (see attached screenshot). The
cancellation is superfluous there, but I can't get rid of it (not even
with "\set Staff.extraNatural = ##f").

Thanks,
hjh

Hi James,

as far as I can see you are still _in_ cadenza with the last note, i.e. in _unmetered_ music.
Inserting manual \bar "|" doesn't change this and opens _no_ new section of unmetered music.
Therefore LilyPond's use of the natural is logical.

To get rid of the natural you may want to use:
\once \override Accidental #'stencil = ##f
or
\once \override Accidental #'transparent = ##t

HTH,
  Harm

reply via email to

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