LilyPond Notation Reference: 3.3.4 Displaying LilyPond notation

### 3.3.4 Displaying LilyPond notation

Displaying a music expression in LilyPond notation can be done with the music function `\displayLilyMusic` but only when using the command line. For example,

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

will display

>     { a,4 cis e fis g }

By default, LilyPond will print these messages to the console along with all the other LilyPond compilation 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: deutsch, español, français, 日本語.

#### LilyPond — Notation Reference