3.3.4 Displaying LilyPond notation

Displaying a music expression in LilyPond notation can be done using the music function \displayLilyMusic. For example,

{
  \displayLilyMusic \transpose c a, { c e g a bes }
}

will display

{ a, cis e fis g }

By default, LilyPond will print these messages to the console along with all the other messages. To split up these messages and save the results of \display{STUFF}, redirect the output to a file.

lilypond file.ly >display.txt

Other languages: espaƱol, deutsch.

Notation Reference