]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/single-staff-template-with-notes,-lyrics,-chords-and-frets.ly
Merge branch 'lilypond/translation' of ssh://trettig@git.sv.gnu.org/srv/git/lilypond...
[lilypond.git] / input / lsr / single-staff-template-with-notes,-lyrics,-chords-and-frets.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.49"
4
5 \header {
6   lsrtags = "vocal-music, chords, template"
7
8   texidoc = "
9 Here is a simple lead sheet template with melody, lyrics, chords and
10 fret diagrams.
11
12 "
13   doctitle = "Single staff template with notes, lyrics, chords and frets"
14 } % begin verbatim
15 % Define the fret diagrams to be used
16 cFretDiagram = \markup {
17   \fret-diagram #"5-3-3;4-2-2;3-o;2-1-1;1-o"
18 }
19
20 gFretDiagram = \markup {
21   \fret-diagram #"6-3-2;5-2-1;4-o;3-o;2-o;1-3-3"
22 }
23
24 verseI = \lyricmode {
25   \set stanza = #"1."
26   This is the first verse
27 }
28
29 verseII = \lyricmode {
30   \set stanza = #"2."
31   This is the second verse.
32 }
33
34 theChords = \new ChordNames {
35   \chordmode {
36     % insert the chords for chordnames here
37     c2 g4 c
38   }
39 }
40
41 staffMelody = \new Staff  {
42  \context Voice = "voiceMelody" {
43    \key c \major
44    \clef treble
45    \relative c' {
46      % Type notes and fret diagram markups here
47      c4^\cFretDiagram d8 e f4^\gFretDiagram g^\cFretDiagram
48      \bar "|."
49    }
50  }
51 }
52
53 \score {
54   <<
55     \theChords
56     \staffMelody
57     \new Lyrics = "lyricsI" \lyricmode {
58       \lyricsto "voiceMelody" \verseI
59     }
60     \new Lyrics = "lyricsII" \lyricmode {
61       \lyricsto "voiceMelody" \verseII
62     }
63   >>
64   \layout { }
65   \midi { }
66 }