]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/ly-examples/chart.ly
e2b5756110c3b44ca4fe0c4de134e2c2042ca7b8
[lilypond.git] / Documentation / ly-examples / chart.ly
1 \version "2.14.0"
2 \include "example-header.ily"
3
4 \include "predefined-guitar-fretboards.ly"
5
6 #(set-global-staff-size 17)
7
8 global = {
9   \time 4/4
10   \key g \major
11   \partial 4
12   \numericTimeSignature
13 }
14
15 melody = \relative c' {
16   \global
17   d4
18   g4 b8( a) g4 fis
19   e e e e
20   a c8( b) a4 g
21   fis a d
22 }
23
24 harmonies = \chordmode {
25   \global
26   s4 g1 | c | a:m | d   % 1-3
27 }
28
29 text = \lyricmode {
30   My eyes are dim, I can -- not see,
31   I have not brought my specs with me!
32 }
33
34 \score {
35   <<
36     \new ChordNames { \harmonies }
37     \new FretBoards { \harmonies }
38     \new Staff  {
39       \context Voice = "vocal" { \melody }
40     }
41     \new Lyrics \lyricsto "vocal" \text
42   >>
43 }