]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/hara-kiri-drumstaff.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / hara-kiri-drumstaff.ly
1 \version "2.16.0"
2 \header {
3   texidoc =
4
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.)
11
12 Any staff brackets and braces are removed, both in the single staff
13 and no staff case.
14 "
15
16 }
17
18 \layout {
19   ragged-right = ##t
20   \context {
21     \DrumStaff
22     \RemoveEmptyStaves
23   }
24 }
25
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
34   }
35   \new DrumStaff
36   \drummode {
37     hh4 hh hh hh
38     s1
39     s1
40     s1
41   }
42   \new DrumStaff
43   \drummode {
44     bd4 bd bd bd
45     s1
46     bd4 bd bd bd
47     s1
48   }
49 >>