diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-02-23 11:59:26 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-02-23 11:59:26 +0100 |
commit | 15e26d5cf1cc3ffc0b28db94744bfc33b4932409 (patch) | |
tree | 1a3e4e62f664c744d392bac5e676dc5d92dd096f /04-white-noise | |
parent | 42da410946a5f6338922e07ba85001fa51660d56 (diff) |
Make all songs share the same score layouts.
Diffstat (limited to '04-white-noise')
-rw-r--r-- | 04-white-noise/04-white-noise.ly | 30 | ||||
-rw-r--r-- | 04-white-noise/music/click.ly | 1 |
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 | |