]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/guitar-strum-rhythms.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / guitar-strum-rhythms.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.16.0"
8
9 \header {
10   lsrtags = "fretted-strings, rhythms"
11
12   texidoc = "
13 For guitar music, it is possible to show strum rhythms, along with
14 melody notes, chord names and fret diagrams.
15
16 "
17   doctitle = "Guitar strum rhythms"
18 } % begin verbatim
19
20
21 \include "predefined-guitar-fretboards.ly"
22 <<
23   \new ChordNames {
24     \chordmode {
25       c1 | f | g | c
26     }
27   }
28   \new FretBoards {
29     \chordmode {
30       c1 | f | g | c
31     }
32   }
33   \new Voice \with {
34     \consists "Pitch_squash_engraver"
35   } {
36     \relative c'' {
37       \improvisationOn
38       c4 c8 c c4 c8 c
39       f4 f8 f f4 f8 f
40       g4 g8 g g4 g8 g
41       c4 c8 c c4 c8 c
42     }
43   }
44   \new Voice = "melody" {
45     \relative c'' {
46       c2 e4 e4
47       f2. r4
48       g2. a4
49       e4 c2.
50     }
51   }
52   \new Lyrics {
53     \lyricsto "melody" {
54       This is my song.
55       I like to sing.
56     }
57   }
58 >>