lilypond-user
[Top][All Lists]
Advanced

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

Re: Automatic accidental rule


From: Rune Zedeler
Subject: Re: Automatic accidental rule
Date: Thu, 13 Mar 2008 16:02:41 +0100
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

Stephen Lavelle skrev:
So { c cs cs c } would, when rendered, have a sharps on the two middle notes, and a natural on the fourth.

Something like this:

\version "2.10.20"
myAccidentals = {
  \set Staff.autoAccidentals = #'(
        Staff
        (same-octave . -1)
        (same-octave . 0) )
}
\relative c'' {
  \myAccidentals
  c4 cis cis8 cis c c
}

?
Unfortunately the internals documentation of the property autoAccidentals is currently wrong. I'll look into it.

-Rune




reply via email to

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