circus: keys: Print note names on keys part.
authorrekado <rekado@elephly.net>
Wed, 16 Nov 2016 22:42:31 +0000 (23:42 +0100)
committerrekado <rekado@elephly.net>
Wed, 16 Nov 2016 22:43:03 +0000 (23:43 +0100)
03-circus/03-circus.ly
03-circus/music/keys.ly
03-circus/parts/keys.ly

index 8092e9e..18132ce 100644 (file)
@@ -24,7 +24,18 @@ AllMusic = <<
     instrumentName = #"Synthesizer"
     shortInstrumentName = #"Synth"
     pedalSustainStyle = #'bracket
-  } { \keyboard }
+  } {
+    <<
+      \new Staff {
+        \clef treble
+        \keyboardUpper
+      }
+      \new Staff {
+        \clef bass
+        \keyboardLower
+      }
+    >>
+  }
   \new StaffGroup = "bass"
   \with {
     instrumentName = #"Bass"
index 5c5ffc3..0a82331 100644 (file)
@@ -266,8 +266,7 @@ keysFinalLower = \relative c {
   d2. | d2. |
 }
 
-keyboard = <<
-  \new Staff \relative c'  {
+keyboardUpper = \relative c'  {
     \set Staff.midiInstrument = #"reed organ"
     \time 2/4
     \key cis \minor
@@ -314,10 +313,9 @@ keyboard = <<
     \transpose c d { \keysArpeggioHigherUpper }
     \keysDramaUpper
     \keysFinalUpper
-  }
+}
 
-  \new Staff \relative c {
-    \clef bass
+keyboardLower = \relative c {
     \set Staff.midiInstrument = #"reed organ"
     \key cis \minor
     r2 | r2 |
@@ -362,5 +360,4 @@ keyboard = <<
     \transpose c d { \keysArpeggioHigherLower }
     \keysDramaLower
     \keysFinalLower
-  }
->>
+}
index c27a121..1af7bf2 100644 (file)
   \new PianoStaff = "keyboard" \with {
     pedalSustainStyle = #'bracket
   } {
-    \compressMMRests \keyboard
+    <<
+      \new Staff {
+        <<
+          \clef treble
+          \compressMMRests \keyboardUpper
+          \context NoteNames = "upper" {
+            \set printOctaveNames = ##f
+            \compressMMRests \keyboardUpper
+          }
+        >>
+      }
+      \new Staff {
+        <<
+          \clef bass
+          \compressMMRests \keyboardLower
+          \context NoteNames = "lower" {
+            \set printOctaveNames = ##f
+            \compressMMRests \keyboardLower
+          }
+        >>
+      }
+    >>
   }
   \layout {
     \tempo 4 = 90