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