From 15e26d5cf1cc3ffc0b28db94744bfc33b4932409 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 23 Feb 2017 11:59:26 +0100 Subject: Make all songs share the same score layouts. --- 04-white-noise/04-white-noise.ly | 30 +----------------------------- 04-white-noise/music/click.ly | 1 + 2 files changed, 2 insertions(+), 29 deletions(-) (limited to '04-white-noise') 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 | -- cgit v1.2.3