]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/adding-drum-parts.ly
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / Documentation / snippets / adding-drum-parts.ly
index 4e3d49266d00652c8d9f0fdd30368ecdee418a53..18a3696de456f7c828e37aa3e1c0912373e55ab5 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.15.43"
+% 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 = "percussion, preparing-parts, really-simple, rhythms, specific-notation"
@@ -21,29 +22,37 @@ lines is possible.
   doctitle = "Adding drum parts"
 } % begin verbatim
 
+drh = \drummode {
+        cymc4.^"crash" hhc16^"h.h." hh hhc8 hho hhc8 hh16 hh
+        hhc4 r4 r2
+      } % begin verbatim
 
-drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh hhc8 hho hhc8 hh16 hh hhc4 r4 r2 }
-drl = \drummode { bd4 sn8 bd bd4 << bd ss >>  bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
-timb = \drummode { timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb }
+drl = \drummode {
+        bd4 sn8 bd bd4 << bd ss >>
+        bd8 tommh tommh bd toml toml bd tomfh16 tomfh
+      }
+timb = \drummode {
+         timh4 ssh timl8 ssh r timh r4
+         ssh8 timl r4 cb8 cb
+       }
 
 \score {
   <<
     \new DrumStaff \with {
+      instrumentName = #"timbales"
       drumStyleTable = #timbales-style
-      \override StaffSymbol #'line-count = #2
-      \override BarLine #'bar-extent = #'(-1 . 1)
-    } <<
-      \set Staff.instrumentName = #"timbales"
+      \override StaffSymbol.line-count = #2
+      \override BarLine.bar-extent = #'(-1 . 1)
+    }
+    <<
       \timb
     >>
-    \new DrumStaff <<
-      \set Staff.instrumentName = #"drums"
+    \new DrumStaff \with { instrumentName = #"drums" }
+    <<
       \new DrumVoice { \stemUp \drh }
       \new DrumVoice { \stemDown \drl }
     >>
   >>
   \layout { }
-  \midi {
-    \tempo 4 = 120
-  }
+  \midi { \tempo 4 = 120 }
 }