Hi Matthew,

Am 12.01.24 um 00:29 schrieb [email protected]:
You need to remember lilypond thinks in terms of pitch, not note names. Unlike
some (most?) other music software. So "\transpose g e" says "transpose EVERY
note up A TONE".
I'm not sure it's quite right to say that Lilypond thinks in terms of
pitch, not note names, because it selects the spelling of transposed notes
based on the note names.  For instance, \transpose c cis fis gives fisis ,
not g , whereas \transpose b, c fis gives g.  The one-semitone
transposition of the same note is different depending on the note names
used to specify it.

It depends on what one takes the term "pitch" to mean.

Your remark sounds as if you take "pitch" to be physical frequency, which obviously is a valid stance. But, LilyPond's "pitch" data type carries much more information, namely octave, "note name" and alteration.

Wol's remarks (I think) alluded to the difference between LilyPond and, e.g., MuseScore, in that in LilyPond the meaning of naked note names does not change when selecting a new key signature: In MuseScore, if I switch to e-flat major and hit "e", I get the pitch e-flat; in LilyPond, "e" still creates e-natural.

Lukas

Reply via email to