Next: , Previous: Normal pitches, Up: Pitches


6.1.2 Accidentals

A sharp is formed by adding -is to the end of a pitch name and a flat is formed by adding -es. Double sharps and double flats are obtained by adding -isis or -eses to a note name.

     
     a2 ais a aes
     a2 aisis a aeses

[image of music]

These are the Dutch note names. In Dutch, aes is contracted to as, but both forms are accepted. Similarly, both es and ees are accepted

     
     a2 as e es

[image of music]

A natural will cancel the effect of an accidental or key signature. However, naturals are not encoded into the note name syntax with a suffix; a natural pitch is shown as a simple note name

     
     a4 aes a2

[image of music]

The input d e f is interpreted as “print a D-natural, E-natural, and an F-natural,” regardless of the key signature. For more information about the distinction between musical content and the presentation of that content, see Accidentals and key signatures.

     
     \key d \major
     d e f g
     d e fis g

[image of music]

Commonly tweaked properties

In accordance with standard typesetting rules, a natural sign is printed before a sharp or flat if a previous accidental needs to be cancelled. To change this behavior, use \set Staff.extraNatural = ##f

     
     ceses4 ces cis c
     \set Staff.extraNatural = ##f
     ceses4 ces cis c

[image of music]

See also

Program reference: LedgerLineSpanner, NoteHead.


Next: , Previous: Normal pitches, Up: Pitches

This page is for LilyPond-2.10.33 (stable-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Other languages: French.