song1: keys: Print note names.
authorrekado <rekado@elephly.net>
Thu, 17 Nov 2016 10:58:52 +0000 (11:58 +0100)
committerrekado <rekado@elephly.net>
Thu, 17 Nov 2016 10:58:52 +0000 (11:58 +0100)
01-song1/01-song1.ly
01-song1/music/keys.ly
01-song1/parts/keys.ly

index 0dba940..c6d6a42 100644 (file)
@@ -26,7 +26,14 @@ AllMusic = <<
     instrumentName = #"Synthesizer"
     shortInstrumentName = #"Synth"
     pedalSustainStyle = #'bracket
-  } { \keyboard }
+  } {
+    <<
+      \new Staff {
+        \clef treble
+        \keyboard
+      }
+    >>
+  }
   \new StaffGroup = "bass"
   \with {
     instrumentName = #"Bass"
index c991085..8a3c90a 100644 (file)
@@ -151,8 +151,7 @@ keysEnd = \relative c {
 }
 
 
-keyboard = <<
-  \new Staff \relative c' {
+keyboard = \relative c' {
     \tempo 4 = 90
     \clef "treble_8"
     %% Intro
@@ -179,5 +178,4 @@ keyboard = <<
     \keysATransitionPreOutro
     \repeat volta 2 \keysOutro
     \keysEnd
-  }
->>
+}
index 77c2425..67b248d 100644 (file)
 \include "../music/keys.ly"
 
 \score {
-  \compressMMRests { \keyboard }
+  \new PianoStaff = "keyboard" \with {
+    pedalSustainStyle = #'bracket
+  } {
+    <<
+      \new Staff {
+        <<
+          \clef treble
+          \compressMMRests \keyboard
+          \context NoteNames = "upper" {
+            \set printOctaveNames = ##f
+            \compressMMRests \keyboard
+          }
+        >>
+      }
+    >>
+  }
   \layout {
     indent = #0
     short-indent = #0