]> git.donarmstrong.com Git - lilypond.git/blob - input/new/guitar-strum-rhythms.ly
Merge branch 'master' of carldsorensen@git.sv.gnu.org:/srv/git/lilypond into ralph
[lilypond.git] / input / new / guitar-strum-rhythms.ly
1 \version "2.12.0"
2
3 \header {
4   lsrtags = "rhythms,fretted-strings"
5   texidoc = "
6 For guitar music, it is possible to show strum rhythms, along
7 with melody notes, chord names, and fret diagrams.
8 "
9   doctitle = "Guitar strum rhythms"
10 }
11
12 \include "predefined-guitar-fretboards.ly"
13 <<
14   \new ChordNames {
15     \chordmode {
16       c1 f g c
17     }
18   }
19   \new FretBoards {
20     \chordmode {
21       c1 f g c
22     }
23   }
24   \new Voice \with {
25     \consists "Pitch_squash_engraver"
26   } {
27     \relative c'' {
28       \improvisationOn
29       c4 c8 c c4 c8 c
30       f4 f8 f f4 f8 f
31       g4 g8 g g4 g8 g
32       c4 c8 c c4 c8 c
33     }
34   }
35   \new Voice = "melody" {
36     \relative c'' {
37       c2 e4 e4
38       f2. r4
39       g2. a4
40       e4 c2.
41     }
42   }
43   \new Lyrics {
44     \lyricsto "melody" {
45       This is my song.
46       I like to sing.
47     }
48   }
49 >>