]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/single-staff-template-with-notes-and-chords.ly
Merge remote-tracking branch 'origin/translation' into staging
[lilypond.git] / Documentation / snippets / single-staff-template-with-notes-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.19.2"
8
9 \header {
10   lsrtags = "chords, really-simple, template"
11
12   texidoc = "
13 Want to prepare a lead sheet with a melody and chords? Look no further!
14
15
16 "
17   doctitle = "Single staff template with notes and chords"
18 } % begin verbatim
19
20
21 melody = \relative c' {
22   \clef treble
23   \key c \major
24   \time 4/4
25
26   f4 e8[ c] d4 g
27   a2 ~ 2
28 }
29
30 harmonies = \chordmode {
31   c4:m f:min7 g:maj c:aug
32   d2:dim b:sus
33 }
34
35 \score {
36   <<
37     \new ChordNames {
38       \set chordChanges = ##t
39       \harmonies
40     }
41     \new Staff \melody
42   >>
43   \layout{ }
44   \midi { }
45 }