lilypond-user
[Top][All Lists]
Advanced

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

Re: show key signature but also alterations


From: Timothy Lanfear
Subject: Re: show key signature but also alterations
Date: Thu, 21 May 2020 23:29:02 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

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

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