]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/piano-template-simple.ly
b2728932e448485ebd93e1b3f6c6b01530a16359
[lilypond.git] / Documentation / snippets / piano-template-simple.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 = "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 upper = \relative c'' {
20   \clef treble
21   \key c \major
22   \time 4/4
23
24   a4 b c d
25 }
26
27 lower = \relative c {
28   \clef bass
29   \key c \major
30   \time 4/4
31
32   a2 c
33 }
34
35 \score {
36   \new PianoStaff <<
37     \set PianoStaff.instrumentName = #"Piano  "
38     \new Staff = "upper" \upper
39     \new Staff = "lower" \lower
40   >>
41   \layout { }
42   \midi { }
43 }