Next: , Up: Single staff notation


2.2.1 Relative note names

As we saw in Simple notation, LilyPond calculates the pitch of each note relative to the previous one1. If no extra octave marks (' and ,) are added, it assumes that each pitch is within a fourth of the previous note.

LilyPond examines pitches based on the note names – in other words, an augmented fourth is not the same as a diminished fifth. If we begin at a C, then an F-sharp will be placed a higher than the C, while a G-flat will be placed lower than the C.

     
     c2 fis
     c2 ges

[image of music]

More information

Relative octaves
see Relative octaves.
Octave check
see Octave check.

Footnotes

[1] There is another mode of entering pitches, Absolute note names, but in practice relative mode is much easier and safer to use.


Next: , Up: Single staff notation

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.