> Op 25 apr 2025 om 23:26 heeft Peter X <peterandu...@gmail.com> het volgende 
> geschreven:
> 
> 
> Hi everyone,
> 
> I’d like to display the pitch name (letter + octave number) above each note 
> in a given music expression — for example:
> • C₄ above c'
> • G₄ above g'
> 
> I can manually do this using markups, like:
> 
> c'4^\markup { \raise #2 \concat { "C" \sub "4" } }
> 
> But I’m wondering:
> 
> Is there a way to define a music function (or engraver) that can 
> automatically generate this label for each note in a music expression?

I'd say you would typically use a NoteNames for this.
I think
https://www.mail-archive.com/lilypond-user@gnu.org/msg155613.html
 would only need the additional configuration to show octave numbers, for which 
the instructions are found in the docs about NoteNames
https://lilypond.org/doc/v2.24/Documentation/notation/outside-the-staff#index-NoteNames


Reply via email to