song2: keys: Declare staff in score file.
authorrekado <rekado@elephly.net>
Fri, 3 Jun 2016 20:30:36 +0000 (22:30 +0200)
committerrekado <rekado@elephly.net>
Fri, 3 Jun 2016 20:30:36 +0000 (22:30 +0200)
02-song2/02-song2.ly

index 29c7005..3de92dc 100644 (file)
 }
 
 AllMusic = <<
-  \new Staff = "keyboard"    { \keyboard }
-  \new Staff = "bass"        { \bass }
-  \new Staff = "grand stick" { \stick }
+  \new Staff = "keyboard"
+  \with {
+    instrumentName = #"Synthesizer"
+    shortInstrumentName = #"Synth"
+    pedalSustainStyle = #'bracket
+  } { \keyboard }
+  \new Staff = "bass"            { \bass }
+  \new Staff = "grand stick"     { \stick }
 >>
 
 %% Two scores are needed: one with unfolded repeats for MIDI and the