]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/drums.ly
(conv): add 2.2.0 rule.
[lilypond.git] / input / regression / drums.ly
1
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."
7 }
8
9
10 \version "2.1.36"
11
12 drh = \drums { cymc4.^"crash" hhc16^"h.h." hh \repeat "unfold" 5 {hhc8 hho hhc8 hh16 hh} hhc4 r4 r2 }
13 drl = \drums {\repeat "unfold" 3 {bd4 sn8 bd bd4 << bd ss >> } bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
14 timb = \drums \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb}
15
16 \score {
17     \repeat "volta" 2
18     <<
19         \new DrumStaff \with {
20             drumStyleTable = #timbales-style
21             \override StaffSymbol #'line-count = #2
22             \override BarLine #'bar-size = #2
23         } <<
24             \set Staff.instrument = "timbales"
25             \timb
26         >>
27         \new DrumStaff <<
28             \set Staff.instrument = "drums"
29             \new DrumVoice {\stemUp \drh }
30             \new DrumVoice {\stemDown \drl }
31         >>
32     >>
33     \paper {}
34
35     %% broken:
36     \midi{ \tempo 4=120 }
37 }
38
39