]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/drums.ly
* lily/book.cc:
[lilypond.git] / input / regression / drums.ly
index 0acda3bcfe96559dcedbdc18625fa2e71f73d692..2b8353df6795d107ed3e00542ad8ee7afaa159ab 100644 (file)
@@ -7,15 +7,15 @@
 }
 
 
-\version "2.1.26"
+\version "2.4.0"
 
-drh = \drums { cymc4.^"crash" hhc16^"h.h." hh \repeat "unfold" 5 {hhc8 hho hhc8 hh16 hh} hhc4 r4 r2 }
-drl = \drums {\repeat "unfold" 3 {bd4 sn8 bd bd4 << bd ss >> } bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
-timb = \drums \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb}
+drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh \repeat "unfold" 5 {hhc8 hho hhc8 hh16 hh} hhc4 r4 r2 }
+drl = \drummode {\repeat "unfold" 3 {bd4 sn8 bd bd4 << bd ss >> } bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
+timb = \drummode { \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb} }
 
 \score {
-    \repeat "volta" 2
-    <<
+    \repeat "volta" 2 {
+       <<
        \new DrumStaff \with {
            drumStyleTable = #timbales-style
            \override StaffSymbol #'line-count = #2
@@ -30,7 +30,8 @@ timb = \drums \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8
            \new DrumVoice {\stemDown \drl }
        >>
     >>
-    \paper {}
+       }
+    \layout {}
 
     %% broken:
     \midi{ \tempo 4=120 }