MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / drums.ly
blob1c8ddd690c841c493a86f58cf43124a6e6c00f14
2 \header {
3 texidoc = "In drum notation, there is a special clef symbol, drums are
4 placed to their own staff positions and have note heads according to the
5 drum, an extra symbol may be attached to the drum, and the number of lines
6 may be restricted."
10 \version "2.13.48"
12 drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh \repeat "unfold" 5 {hhc8 hho hhc8 hh16 hh} hhc4 r4 r2 }
13 drl = \drummode {\repeat "unfold" 3 {bd4 sn8 bd bd4 << bd ss >> } bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
14 timb = \drummode { \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb} }
16 \score {
17 \repeat "volta" 2 {
19 \new DrumStaff \with {
20 drumStyleTable = #timbales-style
21 \override StaffSymbol #'line-count = #2
22 \override BarLine #'bar-extent = #'(-1 . 1)
23 } <<
24 \set Staff.instrumentName = "timbales"
25 \timb
27 \new DrumStaff <<
28 \set Staff.instrumentName = "drums"
29 \new DrumVoice {\stemUp \drh }
30 \new DrumVoice {\stemDown \drl }
34 \layout {}
36 %% broken:
38 \midi {
39 \context {
40 \Score
41 tempoWholesPerMinute = #(ly:make-moment 120 4)