song2: keys: Use pad instead of choir.
[music/pretentious.git] / 02-song2 / 02-song2.ly
1 \version "2.19.27"
2
3 \header {
4 title = "Song 2"
5 composer = "The very pretentious elephlies"
6 copyright = \markup { \char ##x00A9 "2002—2016 Ricardo Wurmus" }
7 }
8
9 \include "parts/bass.ly"
10 \include "parts/keys.ly"
11 \include "parts/stick.ly"
12 \include "parts/click.ly"
13
14 \layout {
15 ragged-last = ##t
16 indent = 2\cm
17 short-indent = 1.5\cm
18 }
19
20 AllMusic = <<
21 \new Staff = "keyboard"
22 \with {
23 instrumentName = #"Synthesizer"
24 shortInstrumentName = #"Synth"
25 pedalSustainStyle = #'bracket
26 } { \keyboard }
27 \new StaffGroup = "bass"
28 \with {
29 instrumentName = #"Bass"
30 shortInstrumentName = #"Bass"
31 } { \bass }
32 \new PianoStaff = "grand stick" \with {
33 instrumentName = #"Grand Stick"
34 shortInstrumentName = #"Stick"
35 midiInstrument = #"clav"
36 pedalSustainStyle = #'bracket
37 } { \stick }
38 >>
39
40 %% Two scores are needed: one with unfolded repeats for MIDI and the
41 %% other with regular repeats for notation.
42 \score {
43 \unfoldRepeats {
44 <<
45 \AllMusic
46 \new DrumStaff { \click }
47 >>
48 }
49 \midi { \tempo 4 = 90 }
50 }
51
52 \score {
53 \AllMusic
54 \layout {
55 \tempo 4 = 90
56 \context {
57 %% add the RemoveEmptyStaffContext that erases rest-only staves
58 \Staff \RemoveEmptyStaves
59 }
60 \context {
61 \Score
62 \numericTimeSignature
63 %% Remove all-rest staves also in the first system
64 \override VerticalAxisGroup.remove-first = ##t
65 %% If only one non-empty staff in a system exists, still print the starting bar
66 \override SystemStartBar.collapse-height = #1
67 }
68 }
69 }