Manual d'aprenentatge del GNU LilyPond: A.2.4 Notes, lletra i acords

### A.2.4 Notes, lletra i acords

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 { }
>     }

#### LilyPond — Manual d’aprenentatge v2.22.2 (branca estable).