Update copyright markup.
[music/pretentious.git] / 04-white-noise / 04-white-noise.ly
1 \version "2.19.27"
2
3 \header {
4 title = "White Noise"
5 composer = "The very pretentious elephlies"
6 copyright = \markup { \char ##x00A9 "2002—2016 Ricardo Wurmus" }
7 }
8
9 whiteNoise = \repeat unfold 3 { r2. r2 } % TODO: how long?
10
11 \include "parts/bass.ly"
12 \include "parts/keys.ly"
13 \include "parts/stick.ly"
14 \include "parts/click.ly"
15
16 AllMusic = <<
17 \new Staff = "keyboard" { \keyboard }
18 \new Staff = "bass" { \bass }
19 \new Staff = "grand stick" { \stick }
20 >>
21
22 %% Two scores are needed: one with unfolded repeats for MIDI and the
23 %% other with regular repeats for notation.
24 \score {
25 \unfoldRepeats {
26 <<
27 \AllMusic
28 \new DrumStaff { \click }
29 >>
30 }
31 \midi { \tempo 4 = 120 }
32 }
33
34 \score {
35 \AllMusic
36 \layout {
37 \tempo 4 = 120
38 \context {
39 %% add the RemoveEmptyStaffContext that erases rest-only staves
40 \Staff \RemoveEmptyStaves
41 }
42 \context {
43 \Score
44 %% Remove all-rest staves also in the first system
45 \override VerticalAxisGroup.remove-first = ##t
46 %% If only one non-empty staff in a system exists, still print the starting bar
47 \override SystemStartBar.collapse-height = #1
48 }
49 }
50 }