]> git.donarmstrong.com Git - lilypond.git/blob - input/template/melody-chords.ly
update syntax in .ly files.
[lilypond.git] / input / template / melody-chords.ly
1 \version "1.7.6"
2
3 \header {
4   texidoc = "lead sheet format: chords with melody."
5 }
6
7 harmonies = \chords {
8   c4:m f:min7 g:maj c:aug d2:dim b:sus
9 }
10
11 melody = \notes \relative c' {
12   f4 [e8 c] d4 g | a2 ~ a2
13 }
14
15 \score {
16   \notes <
17     \context ChordNames {
18         \property ChordNames.chordChanges = ##t
19         \harmonies
20     }
21     \context Staff = one \melody
22   >
23
24   \paper{ }
25   \midi{ }
26 }