]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/drums.ly
* configure.in (reloc_b): bump fontforge requirement to 20050624.
[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.6.0"
11
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} }
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         }
34     \layout {}
35
36     %% broken:
37     \midi{ \tempo 4=120 }
38 }
39
40