]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/single-staff-template-with-notes,-lyrics,-and-chords.ly
Merge remote-tracking branch 'origin/master' into translation
[lilypond.git] / Documentation / snippets / single-staff-template-with-notes,-lyrics,-and-chords.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.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.18.0"
8
9 \header {
10   lsrtags = "chords, really-simple, template, vocal-music"
11
12   texidoc = "
13 This template allows the preparation of a song with melody, words, and
14 chords.
15
16 "
17   doctitle = "Single staff template with notes lyrics and chords"
18 } % begin verbatim
19
20 melody = \relative c' {
21   \clef treble
22   \key c \major
23   \time 4/4
24
25   a4 b c d
26 }
27
28 text = \lyricmode {
29   Aaa Bee Cee Dee
30 }
31
32 harmonies = \chordmode {
33   a2 c
34 }
35
36 \score {
37   <<
38     \new ChordNames {
39       \set chordChanges = ##t
40       \harmonies
41     }
42     \new Voice = "one" { \autoBeamOff \melody }
43     \new Lyrics \lyricsto "one" \text
44   >>
45   \layout { }
46   \midi { }
47 }