### A.1.4 Notes, lyrics, and chords

This template allows the preparation of a song with melody, words, and chords.

>     melody = \relative c' {
>       \clef treble
>       \key c \major
>       \time 4/4

>       a4 b c d
>     }

>     text = \lyricmode {
>       Aaa Bee Cee Dee
>     }

>     harmonies = \chordmode {
>       a2 c
>     }

>     \score {
>       <<
>         \new ChordNames {
>           \set chordChanges = ##t
>           \harmonies
>         }
>         \new Voice = "one" { \autoBeamOff \melody }
>         \new Lyrics \lyricsto "one" \text
>       >>
>       \layout { }
>       \midi { }
>     }

其他语言：español, italiano, 日本語, nederlands。
About automatic language selection.

#### LilyPond — Learning Manual v2.18.2 (稳定分支).