Next: , Previous: MIDI output, Up: Non-musical notation


10.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


Next: , Previous: MIDI output, Up: Non-musical 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.