]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/single-staff-template-with-notes,-lyrics,-chords-and-frets.ly
83e4e681949038dbc43132634becf57b82b0e1a9
[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.16"
5
6 \header {
7   lsrtags = "vocal-music, chords, template"
8
9 %% Translation of GIT committish: 2b0dc29608d6c3f5a03ead4877ae514c647adb74
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