| [ << Templates ] | [Top][Contents][Index][ ? ] | [ GNU Free Documentation License >> ] | ||
| [ < Notes and lyrics ] | [ Up : Single staff templates ] | [ Notes lyrics and chords > ] | ||
A.2.3 Notes and chords
Want to prepare a lead sheet with a melody and chords? Look no further!
melody = \relative c' {
  \clef treble
  \key c \major
  \time 4/4
  f4 e8[ c] d4 g
  a2 ~ a
}
harmonies = \chordmode {
  c4:m f:min7 g:maj c:aug
  d2:dim b4:5 e:sus
}
\score {
  <<
    \new ChordNames {
      \set chordChanges = ##t
      \harmonies
    }
    \new Staff \melody
  >>
  \layout{ }
  \midi { }
}
| [ << Templates ] | [Top][Contents][Index][ ? ] | [ GNU Free Documentation License >> ] | ||
| [ < Notes and lyrics ] | [ Up : Single staff templates ] | [ Notes lyrics and chords > ] | ||
 Jiné jazyky: català, deutsch, español, français, italiano, 日本語, nederlands.
 
 About automatic language selection.