song 2: stick: Fix octave problems.
[music/pretentious.git] / 02-song2 / music / stick.ly
1 \include "../../stafftab.ly"
2 \include "../music/guitar.ly"
3
4 stickBreak = \unfoldRepeats \guitar
5
6 stickRepriseLeft = \relative c, {
7 \time 4/4
8 \repeat volta 3 {
9 <fis cis'>8 r16 <b fis'>16 r16 <fis cis'> <fis dis' a'>8 ~
10 <fis dis' a'>8 fis <dis' a'> fis, <f d' a'> r16 <f d' a'>8 r16 <fis cis' a'>8 ~
11 <fis cis' a'>2 |
12 } \alternative {
13 { <fis cis'>8 r16 <b fis'>16 r16 a, b4 fis'8 <b fis'> cis,
14 <d d' a'>8 r16 a'8 r16 fis4. ~ fis4 | }
15 { <fis cis'>8 r16 <b fis'>16 r16 a, b4 fis'8 <b fis'> r
16 <f d' a'>8 r16 <f d' a'>8 r16 <fis cis' a'>4. ~ <fis cis' a'>4 | }
17 }
18 }
19
20 stickRepriseRight = \relative c' {
21 \time 4/4
22 \repeat volta 3 {
23 r8 <a cis fis>-. r <a cis fis>8 ~
24 <a cis fis>4 ~ <a cis fis>4
25 <f' a d>8 r16 <f a d>8 r16 <fis a cis>8 ~ <fis a cis>2 |
26 } \alternative {
27 {
28 r8 <a, cis fis>-. r <dis fis b>8 ~
29 <dis fis b>4 ~ <dis fis b>4
30 <a d f>8 r16 <a d f>8 r16 <a cis fis>4. ~ <a cis fis>4 |
31 }
32 %% Same. Need to use alternative here in order to match the notes
33 %% for the left hand.
34 {
35 r8 <a cis fis>-. r <dis fis b>8 ~
36 <dis fis b>4 ~ <dis fis b>4
37 <a d f>8 r16 <a d f>8 r16 <a cis fis>4. ~ <a cis fis>4 |
38 }
39 }
40 }
41
42 stickFinalLeft = \relative c, {
43 \time 4/4
44 \repeat volta 4 { R1*4 }
45 R1
46 %% alternate right and left hand
47 %% keep this bar alive; it's filled later
48 s1
49 }
50
51 stickFinalRight = \relative c' {
52 \time 4/4
53 \repeat volta 4 { R1*4 }
54
55 b'16\1-2 a\1-1 fis\2-3 dis\2-1
56 b'\1-2 fis\2-3 dis\2-1 fis\2-3
57 dis\2-1 b\3-2 fis\4-3 b\3-2
58 fis\4-3 dis\4-1 b\5-2
59
60 \override Beam.auto-knee-gap = #100
61 \set subdivideBeams = ##t
62
63 %% alternate right and left hand
64 \change Staff = "stick left" fis\9-1
65 \tuplet 6/4 {
66 \change Staff = "stick right" d''\2-1 % fret: 7
67 \change Staff = "stick left" a\11-2 % fret: 5
68 \change Staff = "stick right" fis\4-3 % fret: 9
69 \change Staff = "stick left" a\11-2
70 \change Staff = "stick right" fis\4-2
71 \change Staff = "stick left" d\10-1 % fret: 5
72 }
73 \tuplet 6/4 {
74 \change Staff = "stick right" fis\4-1
75 \change Staff = "stick left" d\10-1
76 \change Staff = "stick right" a\6-3
77 \change Staff = "stick left" d\10-1
78 \change Staff = "stick right" a\6-3
79 \change Staff = "stick left" e'\10-3
80 }
81 \tuplet 6/4 {
82 \change Staff = "stick right" fis\4-1
83 \change Staff = "stick left" a\11-1
84 \change Staff = "stick right" cis\3-3
85 \change Staff = "stick left" a\11-1
86 \change Staff = "stick right" cis\3-3
87 \change Staff = "stick left" e\12-2
88 }
89 \override Beam.auto-knee-gap = #5.5
90 \tuplet 3/2 {
91 \change Staff = "stick right" cis\3-3
92 \change Staff = "stick left" e\12-2
93 \change Staff = "stick right" fis\2-3
94 }
95 gis16\1-2[ a\1-2] |
96
97 b16\1-2 a\1-1 fis\2-3 dis\2-1
98 b'\1-2 fis\2-3 dis\2-1 fis\2-3
99 dis\2-1 b\3-2 fis\4-3 b\3-2
100 fis\4-3 dis\4-1 b\5-2 fis'\4-3
101
102 f8\4-2 b\3-3 r8 d16\2-1 f\2-4 gis1.\1-2\trill
103 }
104
105 stick = <<
106 \new StaffTab = "stick right" \relative c' {
107 \clef "treble_8"
108 \set Staff.midiPanPosition = #-0.5
109 \set Staff.stringTunings = #stick-matched-reciprocal-tuning
110 \key b \minor
111 \time 1/4
112 #(mmrest-of-length stickBreak)
113
114 \time 4/4
115 \key fis \minor
116 \stickRepriseRight
117 \stickFinalRight
118 }
119
120 %% staff for left hand side
121 \new StaffTab = "stick left" \relative c {
122 \clef "bass"
123 \set Staff.midiPanPosition = #0.5
124 \set Staff.stringTunings = #stick-matched-reciprocal-tuning
125 \key b \minor
126 \time 1/4
127 #(mmrest-of-length stickBreak)
128 \time 4/4
129 \key fis \minor
130 \stickRepriseLeft
131 \stickFinalLeft
132 }
133 >>