OLD | NEW |
1 \version "2.13.10" | 1 \version "2.13.17" |
2 \header { | 2 \header { |
3 texidoc = | 3 texidoc = |
4 | 4 |
5 " Hara-kiri staves are suppressed if they are empty. This | 5 " Hara-kiri staves are suppressed if they are empty. This |
6 example really contains three drum staves, but as it progresses, empty ones | 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 | 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 | 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 | 9 bar number is printed might be considered a bug, however, the scenario |
10 of all staves disappearing does not happen in practice.) | 10 of all staves disappearing does not happen in practice.) |
11 | 11 |
12 Any staff brackets and braces are removed, both in the single staff | 12 Any staff brackets and braces are removed, both in the single staff |
13 and no staff case. | 13 and no staff case. |
14 " | 14 " |
15 | 15 |
16 } | 16 } |
17 | 17 |
18 \layout { | 18 \layout { |
19 ragged-right = ##t | 19 ragged-right = ##t |
20 \context { | 20 \context { |
21 \RemoveEmptyDrumStaffContext | 21 \DrumStaff |
| 22 \RemoveEmptyStaves |
22 } | 23 } |
23 } | 24 } |
24 | 25 |
25 \transpose c c'' | 26 \transpose c c'' |
26 \context StaffGroup << | 27 \context StaffGroup << |
27 \new DrumStaff | 28 \new DrumStaff |
28 \drummode { | 29 \drummode { |
29 sn4 sn sn sn \break | 30 sn4 sn sn sn \break |
30 s1 \break | 31 s1 \break |
31 sn4 sn sn sn \break | 32 sn4 sn sn sn \break |
32 sn sn sn sn | 33 sn sn sn sn |
33 } | 34 } |
34 \new DrumStaff | 35 \new DrumStaff |
35 \drummode { | 36 \drummode { |
36 hh4 hh hh hh | 37 hh4 hh hh hh |
37 s1 | 38 s1 |
38 s1 | 39 s1 |
39 s1 | 40 s1 |
40 } | 41 } |
41 \new DrumStaff | 42 \new DrumStaff |
42 \drummode { | 43 \drummode { |
43 bd4 bd bd bd | 44 bd4 bd bd bd |
44 s1 | 45 s1 |
45 bd4 bd bd bd | 46 bd4 bd bd bd |
46 s1 | 47 s1 |
47 } | 48 } |
48 >> | 49 >> |
OLD | NEW |