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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to