]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/single-staff-template-with-notes,-lyrics,-and-chords.ly
435b6ae5c6370aea4ce778317fa54021e6f8f483
[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.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 = "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
21 melody = \relative c' {
22   \clef treble
23   \key c \major
24   \time 4/4
25
26   a4 b c d
27 }
28
29 text = \lyricmode {
30   Aaa Bee Cee Dee
31 }
32
33 harmonies = \chordmode {
34   a2 c
35 }
36
37 \score {
38   <<
39     \new ChordNames {
40       \set chordChanges = ##t
41       \harmonies
42     }
43     \new Voice = "one" { \autoBeamOff \melody }
44     \new Lyrics \lyricsto "one" \text
45   >>
46   \layout { }
47   \midi { }
48 }