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