]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/piano-template-simple.ly
Snippets: Replace \set Staff.instrumentName
[lilypond.git] / Documentation / snippets / piano-template-simple.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.19.56
8 \version "2.19.56"
9
10 \header {
11   lsrtags = "keyboards, really-simple, template"
12
13   texidoc = "
14 Here is a simple piano staff with some notes.
15
16 "
17   doctitle = "Piano template (simple)"
18 } % begin verbatim
19
20 upper = \relative c'' {
21   \clef treble
22   \key c \major
23   \time 4/4
24
25   a4 b c d
26 } % begin verbatim
27
28
29 lower = \relative c {
30   \clef bass
31   \key c \major
32   \time 4/4
33
34   a2 c
35 }
36
37 \score {
38   \new PianoStaff \with { instrumentName = #"Piano" }
39   <<
40     \new Staff = "upper" \upper
41     \new Staff = "lower" \lower
42   >>
43   \layout { }
44   \midi { }
45 }