song 2: keys: Use volta repeat with segno.
[music/pretentious.git] / 02-song2 / music / keys.ly
1 keysA = { R1*8 }
2 keysB = { R1*4 }
3
4 keysTransitionA = \relative c' {
5 \repeat volta 2 {
6 <cis fis a>1 | <b e gis>1 |
7 <a d fis>1 | <a cis fis>1 |
8 }
9 }
10
11 keysTransitionB = \relative c' {
12 %% TODO: change this. Also play fast arpeggios in the breaks?
13 \repeat volta 2 {
14 r16 fis8 e16 fis8 e16 fis8 fis8 r16 r4 |
15 r16 fis8 e16 fis8 e16 fis16 r16 fis16 e4 r8 |
16 }
17 \repeat volta 2 {
18 r16 fis8 e16 fis8 e16 fis8 fis8 r16 r4 |
19 r16 fis8 e16 fis8 e16 fis16 r16 fis16 e4 r8 |
20 }
21 }
22
23 keysCrescendo = \relative c' {
24 \time 6/8
25 <fis a cis fis>2.\p ~ |
26 <e a cis fis>2. ~ |
27 <fis a d>2. ~ |
28 <fis a cis>2. ~ |
29
30 <cis fis a cis>2.\fff ~ |
31 <fis gis cis>2. ~ |
32 <fis b cis>2. ~ |
33 <fis a cis>2. |
34 }
35
36 keysThree = {
37 \time 6/8
38 \repeat volta 2 { R2.*2 }
39 R2.*4
40 }
41
42 keysMartaRekado = \relative c' {
43 \repeat unfold 2 {
44 \time 5/8
45 cis''16 a fis cis r cis8 fis a16 |
46 \time 7/8
47 gis8 e b e16 e8 fis16 r16 b,8 e16 |
48 } \alternative {
49 { \time 2/4 cis8. a16 b a gis a |}
50 { \time 2/4 cis8. a16 b a gis a |}
51 }
52
53 \time 3/4
54 d,, fis a d fis a
55 gis e b e gis b |
56 a fis d fis a cis
57 b gis e b gis e |
58
59 %% TODO
60 fis2.\glissando | fis,2. |
61
62 d'16 fis a d fis a
63 gis e b e gis b |
64 a fis d fis a cis
65 b gis e b e' fis ~ |
66
67 fis2.\glissando |
68 \time 4/4 fis,16 ~ fis8 ~ fis r d' d r r8. |
69 }
70
71 keysReprise = \relative c' {
72 \time 4/4
73 \repeat unfold 3 {
74 <cis fis a cis>2 ~ <es fis a cis>2 |
75 <c f a d>4. ~ <cis fis a cis>8 ~ <cis fis a cis>2 |
76 <fis a cis fis>2 ~ <es a cis fis>2 |
77 <c f a d>4. ~ <cis fis a cis>8 ~ <cis fis a cis>2 |
78 }
79 }
80
81 keysFinal = \relative c' {
82 \ottava #-1
83 \repeat volta 4 {
84 \tuplet 6/2 { a'8\sustainOn fis dis cis a fis ~ } fis2 cis16\sustainOff dis gis8 |
85 a16 d fis d fis gis a8 ~ a2 |
86
87 \tuplet 6/2 { cis8\sustainOn a fis dis cis fis, }
88 b8.\sustainOff dis,16\sustainOn a' cis fis\sustainOff gis a-. b-. cis-. d-.
89 <cis a>16 r8 <b gis>16 r8 a16 gis fis\sustainOn cis a gis fis4\sustainOff
90 }
91
92 <b dis fis>16 r8 <b dis fis>16 r8 <b dis fis>4. r8 r |
93 <a d fis>8 r <a d fis> r16 <a cis e>8. a8 <a cis e> r |
94 <b dis fis>16 r8 <b dis fis>16 r8 <b dis fis>4. r8 r |
95 f8 b r8 d16 f gis1.\trill
96 }
97
98 keyboard = \relative c' {
99 %% Intro
100 \time 4/4
101 \key b \minor
102 R1*8
103
104 \repeat volta 2 {
105 \inStaffSegno % start repeat
106 \key b \minor
107 \keysA
108 \key e \major
109 \keysB
110 }
111
112 \set Staff.midiInstrument = #"pad 2 (warm)"
113 \key fis \minor
114 \keysTransitionA
115
116 \set Staff.midiInstrument = #"electric piano 1"
117 \keysTransitionB
118
119 \set Staff.midiInstrument = #"pad 2 (warm)"
120 \keysCrescendo
121 \keysThree
122
123 \set Staff.midiInstrument = #"lead 8 (bass+lead)"
124 \keysMartaRekado
125
126 \set Staff.midiInstrument = #"string ensemble 1"
127 \keysReprise
128 \set Staff.midiInstrument = #"electric piano 1"
129 \keysFinal
130 }