]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/piano-template-simple.ly
Snippets: Replace \set Staff.instrumentName
[lilypond.git] / Documentation / snippets / piano-template-simple.ly
index 17e4553a9f00628e7afcf3a0312a661fee9d8f11..8a921fcc976d7e03c70d2a46091feed6c279472a 100644 (file)
@@ -1,10 +1,11 @@
-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
-\version "2.14.2"
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.56
+\version "2.19.56"
 
 \header {
   lsrtags = "keyboards, really-simple, template"
@@ -16,14 +17,14 @@ Here is a simple piano staff with some notes.
   doctitle = "Piano template (simple)"
 } % begin verbatim
 
-
 upper = \relative c'' {
   \clef treble
   \key c \major
   \time 4/4
 
   a4 b c d
-}
+} % begin verbatim
+
 
 lower = \relative c {
   \clef bass
@@ -34,8 +35,8 @@ lower = \relative c {
 }
 
 \score {
-  \new PianoStaff <<
-    \set PianoStaff.instrumentName = #"Piano  "
+  \new PianoStaff \with { instrumentName = #"Piano" }
+  <<
     \new Staff = "upper" \upper
     \new Staff = "lower" \lower
   >>