]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/single-staff-template-with-notes,-lyrics,-chords-and-frets.ly
b57604957cf4f89ff9674d8cf8c5d4d8826422fa
[lilypond.git] / Documentation / snippets / single-staff-template-with-notes,-lyrics,-chords-and-frets.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.39"
5
6 \header {
7   lsrtags = "vocal-music, chords, template"
8
9 %% Translation of GIT committish: 5160eccb26cee0bfd802d844233e4a8d795a1e94
10   texidoces = "
11 Presentamos a continuación un ejemplo de plantilla para una hoja
12 guía de acordes con melodía, letra, acordes y diagramas de
13 trastes.
14 "
15
16   doctitlees = "Plantilla para un pentagrama único con música letra acordes y trastes"
17
18   texidoc = "
19 Here is a simple lead sheet template with melody, lyrics, chords and
20 fret diagrams.
21
22 "
23   doctitle = "Single staff template with notes lyrics chords and frets"
24 } % begin verbatim
25
26 verseI = \lyricmode {
27   \set stanza = #"1."
28   This is the first verse
29 }
30
31 verseII = \lyricmode {
32   \set stanza = #"2."
33   This is the second verse.
34 }
35
36 theChords = \chordmode {
37   % insert chords for chordnames and fretboards here
38   c2 g4 c
39 }
40
41 staffMelody = \relative c' {
42    \key c \major
43    \clef treble
44    % Type notes for melody here
45    c4 d8 e f4 g
46    \bar "|."
47 }
48
49 \score {
50   <<
51     \context ChordNames { \theChords }
52     \context FretBoards { \theChords }
53     \new Staff {
54       \context Voice = "voiceMelody" { \staffMelody }
55     }
56     \new Lyrics = "lyricsI" {
57       \lyricsto "voiceMelody" \verseI
58     }
59     \new Lyrics = "lyricsII" {
60       \lyricsto "voiceMelody" \verseII
61     }
62   >>
63   \layout { }
64   \midi { }
65 }
66