df07f935f75957c1fee8a7c00b064a422dabf4ce
[music/pretentious.git] / 01-song1 / 01-song1.ly
1 \version "2.19.27"
2
3 \header {
4 title = "Song 1"
5 composer = "The very pretentious elephlies"
6 copyright = \markup { \char ##x00A9 "2002—2016 Ricardo Wurmus" }
7 }
8
9 nastyPause = {
10 \time 6/8
11 \repeat unfold 8 { r4. r4.|}
12 }
13
14 \include "parts/bass.ly"
15 \include "parts/keys.ly"
16 \include "parts/stick.ly"
17 \include "parts/click.ly"
18
19 AllMusic = <<
20 \new Staff = "keyboard" { \keyboard }
21 \new Staff = "bass" { \bass }
22 \new Staff = "grand stick" { \stick }
23 >>
24
25 %% Two scores are needed: one with unfolded repeats for MIDI and the
26 %% other with regular repeats for notation.
27 \score {
28 \unfoldRepeats {
29 <<
30 \AllMusic
31 \new DrumStaff { \click }
32 >>
33 }
34 \midi { \tempo 4 = 180 }
35 }
36
37 \score {
38 \AllMusic
39 \layout {
40 \tempo 4 = 180
41 \context {
42 %% add the RemoveEmptyStaffContext that erases rest-only staves
43 \Staff \RemoveEmptyStaves
44 }
45 \context {
46 \Score
47 \numericTimeSignature
48 %% Remove all-rest staves also in the first system
49 \override VerticalAxisGroup.remove-first = ##t
50 %% If only one non-empty staff in a system exists, still print the starting bar
51 \override SystemStartBar.collapse-height = #1
52 }
53 }
54 }