MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / hara-kiri-drumstaff.ly
blobada43ebcb28c538202c636414def02557bed6f2c
1 \version "2.13.18"
2 \header {
3 texidoc =
5 " Hara-kiri staves are suppressed if they are empty. This
6 example really contains three drum staves, but as it progresses, empty ones
7 are removed: this example has three staves, but some of them
8 disappear: note how the 2nd line only has the bar number 2. (That the
9 bar number is printed might be considered a bug, however, the scenario
10 of all staves disappearing does not happen in practice.)
12 Any staff brackets and braces are removed, both in the single staff
13 and no staff case.
18 \layout {
19 ragged-right = ##t
20 \context {
21 \DrumStaff
22 \RemoveEmptyStaves
26 \transpose c c''
27 \context StaffGroup <<
28 \new DrumStaff
29 \drummode {
30 sn4 sn sn sn \break
31 s1 \break
32 sn4 sn sn sn \break
33 sn sn sn sn
35 \new DrumStaff
36 \drummode {
37 hh4 hh hh hh
42 \new DrumStaff
43 \drummode {
44 bd4 bd bd bd
46 bd4 bd bd bd