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 /02-song2 | |
parent | 42da410946a5f6338922e07ba85001fa51660d56 (diff) |
Make all songs share the same score layouts.
Diffstat (limited to '02-song2')
-rw-r--r-- | 02-song2/02-song2.ly | 31 | ||||
-rw-r--r-- | 02-song2/music/click.ly | 1 |
2 files changed, 2 insertions, 30 deletions
diff --git a/02-song2/02-song2.ly b/02-song2/02-song2.ly index e8c2327..b563088 100644 --- a/02-song2/02-song2.ly +++ b/02-song2/02-song2.ly @@ -55,33 +55,4 @@ AllMusic = << } { \tabChordRepeats \guitar } >> -%% 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 = 90 } -} - -\score { - \AllMusic - \layout { - \tempo 4 = 90 - \context { - %% add the RemoveEmptyStaffContext that erases rest-only staves - \Staff \RemoveEmptyStaves - } - \context { - \Score - \numericTimeSignature - %% 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/02-song2/music/click.ly b/02-song2/music/click.ly index eaccc18..ee30e48 100644 --- a/02-song2/music/click.ly +++ b/02-song2/music/click.ly @@ -1,5 +1,6 @@ click = \drummode { \time 4/4 + \tempo 4 = 90 %% intro \repeat unfold 8 { hh4 hh hh hh |} |