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