summaryrefslogtreecommitdiff
path: root/04-white-noise
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2016-09-02 08:10:56 +0200
committerrekado <rekado@elephly.net>2016-09-02 08:10:56 +0200
commitfc28a3c6d91791807436fb2dd88b49bb9c3969cf (patch)
tree3dbbcf0736d4b5c1c1695d5257f6410deffdf1d0 /04-white-noise
parent751eb9e4d90e5e938557af463d658a5b0405878a (diff)
white noise: Create wrappers for each part.
Diffstat (limited to '04-white-noise')
-rw-r--r--04-white-noise/04-white-noise.ly27
-rw-r--r--04-white-noise/music/stick.ly2
-rw-r--r--04-white-noise/parts/bass.ly26
-rw-r--r--04-white-noise/parts/keys.ly29
-rw-r--r--04-white-noise/parts/stick.ly29
5 files changed, 109 insertions, 4 deletions
diff --git a/04-white-noise/04-white-noise.ly b/04-white-noise/04-white-noise.ly
index 2a800c3..3462fa7 100644
--- a/04-white-noise/04-white-noise.ly
+++ b/04-white-noise/04-white-noise.ly
@@ -14,10 +14,31 @@
\include "music/stick.ly"
\include "music/click.ly"
+\layout {
+ ragged-last = ##t
+ indent = 2\cm
+ short-indent = 1.5\cm
+}
+
AllMusic = <<
- \new Staff = "keyboard" { \keyboard }
- \new Staff = "bass" { \bass }
- \new Staff = "grand stick" { \stick }
+ \new Staff = "keyboard"
+ \with {
+ instrumentName = #"Synthesizer"
+ shortInstrumentName = #"Synth"
+ pedalSustainStyle = #'bracket
+ } { \keyboard }
+ \new StaffGroup = "bass"
+ \with {
+ instrumentName = #"Bass"
+ shortInstrumentName = #"Bass"
+ } { \bass }
+ \new PianoStaff = "grand stick"
+ \with {
+ instrumentName = #"Grand Stick"
+ shortInstrumentName = #"Stick"
+ midiInstrument = #"clav"
+ pedalSustainStyle = #'bracket
+ } { \stick }
>>
%% Two scores are needed: one with unfolded repeats for MIDI and the
diff --git a/04-white-noise/music/stick.ly b/04-white-noise/music/stick.ly
index 579d733..f7e8630 100644
--- a/04-white-noise/music/stick.ly
+++ b/04-white-noise/music/stick.ly
@@ -197,7 +197,7 @@ stickRight = {
\repeat unfold 2 \stickShifterRight
}
-stick = \new PianoStaff <<
+stick = <<
\set PianoStaff.midiInstrument = #"electric guitar (jazz)"
\set PianoStaff.pedalSustainStyle = #'bracket
diff --git a/04-white-noise/parts/bass.ly b/04-white-noise/parts/bass.ly
new file mode 100644
index 0000000..a56d445
--- /dev/null
+++ b/04-white-noise/parts/bass.ly
@@ -0,0 +1,26 @@
+\version "2.19.27"
+
+\header {
+ title = "White Noise"
+ subtitle = "Bass"
+ composer = "The very pretentious elephlies"
+ copyright = \markup { \char ##x00A9 "2002—2016 Ricardo Wurmus" }
+}
+
+\include "../../settings.ly"
+\include "../music/common.ly"
+\include "../music/bass.ly"
+
+\score {
+ \compressMMRests { \bass }
+
+ \layout {
+ \tempo 4 = 120
+ indent = #0
+ short-indent = #0
+ \context {
+ \Score
+ \numericTimeSignature
+ }
+ }
+}
diff --git a/04-white-noise/parts/keys.ly b/04-white-noise/parts/keys.ly
new file mode 100644
index 0000000..797e17c
--- /dev/null
+++ b/04-white-noise/parts/keys.ly
@@ -0,0 +1,29 @@
+\version "2.19.27"
+
+\header {
+ title = "White Noise"
+ subtitle = "Keyboard"
+ composer = "The very pretentious elephlies"
+ copyright = \markup { \char ##x00A9 "2002—2016 Ricardo Wurmus" }
+}
+
+\include "../../settings.ly"
+\include "../music/common.ly"
+\include "../music/keys.ly"
+
+\score {
+ \new PianoStaff = "keyboard" \with {
+ pedalSustainStyle = #'bracket
+ } {
+ \compressMMRests \keyboard
+ }
+ \layout {
+ \tempo 4 = 120
+ indent = #0
+ short-indent = #0
+ \context {
+ \Score
+ \numericTimeSignature
+ }
+ }
+}
diff --git a/04-white-noise/parts/stick.ly b/04-white-noise/parts/stick.ly
new file mode 100644
index 0000000..f74dfd8
--- /dev/null
+++ b/04-white-noise/parts/stick.ly
@@ -0,0 +1,29 @@
+\version "2.19.27"
+
+\header {
+ title = "White Noise"
+ subtitle = "Grand Stick"
+ composer = "The very pretentious elephlies"
+ copyright = \markup { \char ##x00A9 "2002—2016 Ricardo Wurmus" }
+}
+
+\include "../../settings.ly"
+\include "../music/common.ly"
+\include "../music/stick.ly"
+
+\score {
+ \new PianoStaff = "grand stick" \with {
+ pedalSustainStyle = #'bracket
+ } {
+ \compressMMRests \stick
+ }
+ \layout {
+ \tempo 4 = 120
+ indent = #0
+ short-indent = #0
+ \context {
+ \Score
+ \numericTimeSignature
+ }
+ }
+}