song2: bass: Part file for only bass.
[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 Staff = "grand stick" { \stick }
33 >>
34
35 %% Two scores are needed: one with unfolded repeats for MIDI and the
36 %% other with regular repeats for notation.
37 \score {
38 \unfoldRepeats {
39 <<
40 \AllMusic
41 \new DrumStaff { \click }
42 >>
43 }
44 \midi { \tempo 4 = 90 }
45 }
46
47 \score {
48 \AllMusic
49 \layout {
50 \tempo 4 = 90
51 \context {
52 %% add the RemoveEmptyStaffContext that erases rest-only staves
53 \Staff \RemoveEmptyStaves
54 }
55 \context {
56 \Score
57 \numericTimeSignature
58 %% Remove all-rest staves also in the first system
59 \override VerticalAxisGroup.remove-first = ##t
60 %% If only one non-empty staff in a system exists, still print the starting bar
61 \override SystemStartBar.collapse-height = #1
62 }
63 }
64 }