On 21/05/2020 19:38, Frédéric wrote:
\key d\major
\set Staff.keyAlterations = #'()
\accidentalStyle dodecaphonic
Obviously not \accidentalStyle dodecaphonic though.
\accidentalStyle forget I think?
apparently, this doesn't work:
\version "2.19.0"
\language "english"
{
   \key d \major
   \set Staff.keyAlterations = #'()
   \accidentalStyle forget
   d' e' fs' g' a' b' cs'' d''
}

The effect of \set Staff.keyAlterations = #'() seems to be the same as
\key c \major, it removes the key signature.
I would like to write my own accidental style in scheme but I'm a bit
lost about where to start.

F

\accidentalStyle teaching is close but parenthesises the accidental, so switch off the parentheses.

\version "2.20.0"

{
  \override AccidentalCautionary.parenthesized=##f
  \accidentalStyle teaching
  \key d\major
  d'4 e' fis' g' a' b' cis'' d''
}



--
Timothy Lanfear, Bristol, UK.


Reply via email to