]> git.donarmstrong.com Git - lilypond.git/blob - input/new/guitar-strum-rhythms.ly
Make the length of beamlets configurable.
[lilypond.git] / input / new / guitar-strum-rhythms.ly
1 \version "2.11.61"
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
20   \new FretBoards {
21     \chordmode {
22       c1 f g c
23     }
24   }
25
26
27   \new Voice \with {
28     \consists Pitch_squash_engraver
29   } \relative c'' {
30     \improvisationOn
31     c4 c8 c c4 c8 c
32     f4 f8 f f4 f8 f
33     g4 g8 g g4 g8 g
34     c4 c8 c c4 c8 c
35   }
36
37
38   \new Voice = "melody" {
39     \relative c'' {
40       \improvisationOff
41       c2 e4 e4
42       f2. r4
43       g2. a4
44       e4 c2.
45     }
46   }
47
48   \new Lyrics {
49     \lyricsto "melody" {
50       This is my song.
51       I like to sing.
52     }
53   }
54 >>