d8aa3d75917db8777a45a8e04d1679c9ec6ac25a
[music/pretentious.git] / 03-circus.ly
1 \version "2.19.27"
2
3 \header {
4 title = "Circus"
5 composer = "The very pretentious elephlies"
6 arranger = "Ricardo Wurmus"
7 copyright = "2002--2015 Ricardo Wurmus"
8 }
9
10 \include "03-circus-parts/bass.ly"
11 \include "03-circus-parts/keyboard.ly"
12 \include "03-circus-parts/stick.ly"
13
14 AllMusic = <<
15 \new Staff = "keyboard" { \keyboard }
16 \new Staff = "bass" { \bass }
17 \new Staff = "grand stick" { \stick }
18 >>
19
20 %% Two scores are needed: one with unfolded repeats for MIDI and the
21 %% other with regular repeats for notation.
22 \score {
23 \unfoldRepeats { \AllMusic }
24 \midi { \tempo 4 = 120 }
25 }
26
27 \score {
28 \AllMusic
29 \layout {
30 \tempo 4 = 120
31 \context {
32 %% add the RemoveEmptyStaffContext that erases rest-only staves
33 \Staff \RemoveEmptyStaves
34 }
35 \context {
36 \Score
37 %% Remove all-rest staves also in the first system
38 \override VerticalAxisGroup.remove-first = ##t
39 %% If only one non-empty staff in a system exists, still print the starting bar
40 \override SystemStartBar.collapse-height = #1
41 }
42 }
43 }