]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/guitar-strum-rhythms.ly
Merge remote-tracking branch 'origin/master' into translation
[lilypond.git] / Documentation / snippets / guitar-strum-rhythms.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.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.18.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 \include "predefined-guitar-fretboards.ly"
21 <<
22   \new ChordNames {
23     \chordmode {
24       c1 | f | g | c
25     }
26   }
27   \new FretBoards {
28     \chordmode {
29       c1 | f | g | c
30     }
31   }
32   \new Voice \with {
33     \consists "Pitch_squash_engraver"
34   } {
35     \relative c'' {
36       \improvisationOn
37       c4 c8 c c4 c8 c
38       f4 f8 f f4 f8 f
39       g4 g8 g g4 g8 g
40       c4 c8 c c4 c8 c
41     }
42   }
43   \new Voice = "melody" {
44     \relative c'' {
45       c2 e4 e4
46       f2. r4
47       g2. a4
48       e4 c2.
49     }
50   }
51   \new Lyrics {
52     \lyricsto "melody" {
53       This is my song.
54       I like to sing.
55     }
56   }
57 >>