song1: Add click.
[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 arranger = "Ricardo Wurmus"
7 copyright = "2002--2016 Ricardo Wurmus"
8 }
9
10 \include "parts/stick.ly"
11 \include "parts/click.ly"
12
13 AllMusic = <<
14 \new Staff = "grand stick" { \stick }
15 >>
16
17 %% Two scores are needed: one with unfolded repeats for MIDI and the
18 %% other with regular repeats for notation.
19 \score {
20 \unfoldRepeats {
21 <<
22 \AllMusic
23 \new DrumStaff { \click }
24 >>
25 }
26 \midi { \tempo 4 = 180 }
27 }
28
29 \score {
30 \AllMusic
31 \layout {
32 \tempo 4 = 180
33 \context {
34 %% add the RemoveEmptyStaffContext that erases rest-only staves
35 \Staff \RemoveEmptyStaves
36 }
37 \context {
38 \Score
39 \numericTimeSignature
40 %% Remove all-rest staves also in the first system
41 \override VerticalAxisGroup.remove-first = ##t
42 %% If only one non-empty staff in a system exists, still print the starting bar
43 \override SystemStartBar.collapse-height = #1
44 }
45 }
46 }