]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/single-staff-template-with-notes,-lyrics,-chords-and-frets.ly
Doc: run makelsr locally
[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.2"
8
9 \header {
10   lsrtags = "template, vocal-music, chords"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
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
30 verseI = \lyricmode {
31   \set stanza = #"1."
32   This is the first verse
33 }
34
35 verseII = \lyricmode {
36   \set stanza = #"2."
37   This is the second verse.
38 }
39
40 theChords = \chordmode {
41   % insert chords for chordnames and fretboards here
42   c2 g4 c
43 }
44
45 staffMelody = \relative c' {
46    \key c \major
47    \clef treble
48    % Type notes for melody here
49    c4 d8 e f4 g
50    \bar "|."
51 }
52
53 \score {
54   <<
55     \context ChordNames { \theChords }
56     \context FretBoards { \theChords }
57     \new Staff {
58       \context Voice = "voiceMelody" { \staffMelody }
59     }
60     \new Lyrics = "lyricsI" {
61       \lyricsto "voiceMelody" \verseI
62     }
63     \new Lyrics = "lyricsII" {
64       \lyricsto "voiceMelody" \verseII
65     }
66   >>
67   \layout { }
68   \midi { }
69 }
70