summaryrefslogtreecommitdiff
path: root/04-white-noise
diff options
context:
space:
mode:
Diffstat (limited to '04-white-noise')
-rw-r--r--04-white-noise/04-white-noise.ly30
-rw-r--r--04-white-noise/music/click.ly1
2 files changed, 2 insertions, 29 deletions
diff --git a/04-white-noise/04-white-noise.ly b/04-white-noise/04-white-noise.ly
index 3ec5c3a..8073a56 100644
--- a/04-white-noise/04-white-noise.ly
+++ b/04-white-noise/04-white-noise.ly
@@ -48,32 +48,4 @@ AllMusic = <<
} { \stick }
>>
-%% Two scores are needed: one with unfolded repeats for MIDI and the
-%% other with regular repeats for notation.
-\score {
- \unfoldRepeats {
- <<
- \AllMusic
- \new DrumStaff { \click }
- >>
- }
- \midi { \tempo 4 = 120 }
-}
-
-\score {
- \AllMusic
- \layout {
- \tempo 4 = 120
- \context {
- %% add the RemoveEmptyStaffContext that erases rest-only staves
- \Staff \RemoveEmptyStaves
- }
- \context {
- \Score
- %% Remove all-rest staves also in the first system
- \override VerticalAxisGroup.remove-first = ##t
- %% If only one non-empty staff in a system exists, still print the starting bar
- \override SystemStartBar.collapse-height = #1
- }
- }
-}
+\include "../layouts.ly"
diff --git a/04-white-noise/music/click.ly b/04-white-noise/music/click.ly
index c95d3d8..c66feb2 100644
--- a/04-white-noise/music/click.ly
+++ b/04-white-noise/music/click.ly
@@ -1,6 +1,7 @@
click = \drummode {
%% intro
\time 4/4
+ \tempo 4 = 120
\repeat unfold 2 {
hh4 hh hh hh | hh hh hh hh |
hh hh hh hh | hh hh hh hh |