]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/piano-template-simple.ly
Merge branch 'stable/2.16' into staging
[lilypond.git] / Documentation / snippets / piano-template-simple.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.16.0"
8
9 \header {
10   lsrtags = "keyboards, really-simple, template"
11
12   texidoc = "
13 Here is a simple piano staff with some notes.
14
15 "
16   doctitle = "Piano template (simple)"
17 } % begin verbatim
18
19
20 upper = \relative c'' {
21   \clef treble
22   \key c \major
23   \time 4/4
24
25   a4 b c d
26 }
27
28 lower = \relative c {
29   \clef bass
30   \key c \major
31   \time 4/4
32
33   a2 c
34 }
35
36 \score {
37   \new PianoStaff <<
38     \set PianoStaff.instrumentName = #"Piano  "
39     \new Staff = "upper" \upper
40     \new Staff = "lower" \lower
41   >>
42   \layout { }
43   \midi { }
44 }