summaryrefslogtreecommitdiff
path: root/03-circus/03-circus.ly
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2015-10-16 22:19:03 +0200
committerrekado <rekado@elephly.net>2015-10-17 23:03:34 +0200
commit86ef2a0a16898d390654d51a8a61463968fa3d38 (patch)
tree01a79cbd271b92a91b574e73c1f655eb41f4aa42 /03-circus/03-circus.ly
parent11bbd87437865fd821c267007ef8efd83d2ab1e7 (diff)
circus: move to subdir.
Diffstat (limited to '03-circus/03-circus.ly')
-rw-r--r--03-circus/03-circus.ly43
1 files changed, 43 insertions, 0 deletions
diff --git a/03-circus/03-circus.ly b/03-circus/03-circus.ly
new file mode 100644
index 0000000..7dfda60
--- /dev/null
+++ b/03-circus/03-circus.ly
@@ -0,0 +1,43 @@
+\version "2.19.27"
+
+\header {
+ title = "Circus"
+ composer = "The very pretentious elephlies"
+ arranger = "Ricardo Wurmus"
+ copyright = "2002--2015 Ricardo Wurmus"
+}
+
+\include "parts/bass.ly"
+\include "parts/keyboard.ly"
+\include "parts/stick.ly"
+
+AllMusic = <<
+ \new Staff = "keyboard" { \keyboard }
+ \new Staff = "bass" { \bass }
+ \new Staff = "grand stick" { \stick }
+>>
+
+%% Two scores are needed: one with unfolded repeats for MIDI and the
+%% other with regular repeats for notation.
+\score {
+ \unfoldRepeats { \AllMusic }
+ \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
+ }
+ }
+}