[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Avoid accidentals in cadenza
From: |
Noeck |
Subject: |
Re: Avoid accidentals in cadenza |
Date: |
Sun, 7 Oct 2018 19:16:09 +0200 |
Hi,
Am 07.10.2018 um 19:01 schrieb Mason Hock:
> \override Voice.Accidental.stencil = ##f
> % music that doesn't need accidentals
> \override Voice.Accidental.stencil = ##t
While you can omit accidentals with the first line, you cannot set the
stencil to true. This prints a warning:
> warning: type check for `stencil' failed; value `#t' must be of type `stencil'
The right thing to do is to revert the override:
\version "2.18.2"
{
fis
\override Accidental.stencil = ##f
gis
\revert Accidental.stencil
cis'
}
Or equivalently in more recent versions:
\version "2.19.80"
{
fis
\omit Accidental
gis
\undo \omit Accidental
cis'
}
Cheers,
Joram