Music: Practice & Theory Stack Exchange is a question and answer site for musicians, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

That's the general question. More concretely, here c' is linked to C4 (middle C). Now, what is the Lilypond absolute representation for G5 in G major key?

share|improve this question
up vote 7 down vote accepted

LilyPond's input is key-independent. While in equal-tempered tuning the absolute pitch of C sharp and D flat are the same, the musical/scale function is different. Scientific pitch notations usually retain that difference even though basically all keyboards (and the Midi standard) drop it.

LilyPond also retains that difference and preserves it even when transposing: transposing does not change the relative scale positions.

In short, LilyPond's absolute c' is C4, always. Absolute g'' is G5, always. Absolute cis''' is C#6, always. Absolute des, is Db2, always. How those pitches print (namely which accidentals are printed along with them) depends on preceding accidentals in the measure, on the key signature, and on the accident style setting (baroque style repeats a lot more accidentals than modern style does).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.