gitara 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/CHANGELOG.markdown +5 -0
  2. data/examples/eraserheads-huling-el-bimbo/tab.ly +333 -0
  3. data/examples/eraserheads-huling-el-bimbo/tab.midi +0 -0
  4. data/examples/eraserheads-huling-el-bimbo/tab.pdf +0 -0
  5. data/examples/eraserheads-huling-el-bimbo/tab.rb +249 -0
  6. data/examples/tab.ly +11 -3
  7. data/gitara.gemspec +1 -0
  8. data/lib/gitara.rb +8 -5
  9. data/lib/gitara/is_node_version.rb +23 -0
  10. data/lib/gitara/node/bar.rb +12 -0
  11. data/lib/gitara/node/bar/{chorded_node.rb → chorded_version.rb} +1 -1
  12. data/lib/gitara/node/bar/stanza_version.rb +11 -0
  13. data/lib/gitara/node/bar/{voiced_node.rb → voiced_version.rb} +1 -1
  14. data/lib/gitara/node/base.rb +11 -2
  15. data/lib/gitara/node/base/chorded_version.rb +11 -0
  16. data/lib/gitara/node/base/stanza_version.rb +11 -0
  17. data/lib/gitara/node/base/{voiced_node.rb → voiced_version.rb} +5 -7
  18. data/lib/gitara/node/chord_set/{chorded_node.rb → chorded_version.rb} +1 -1
  19. data/lib/gitara/template/bar.erb +1 -0
  20. data/lib/gitara/template/line.erb +2 -1
  21. data/lib/gitara/template/score.erb +2 -1
  22. data/lib/gitara/template/stanza.erb +2 -1
  23. data/lib/gitara/template/tab.erb +1 -5
  24. data/lib/gitara/version.rb +1 -1
  25. data/spec/factories.rb +54 -0
  26. data/spec/lib/gitara/app_spec.rb +1 -1
  27. data/spec/lib/gitara/dsl_spec.rb +24 -24
  28. data/spec/lib/gitara/is_node_version_spec.rb +58 -0
  29. data/spec/lib/gitara/node/bar/chorded_version_spec.rb +20 -0
  30. data/spec/lib/gitara/node/bar/stanza_version_spec.rb +14 -0
  31. data/spec/lib/gitara/node/bar/voiced_version_spec.rb +16 -0
  32. data/spec/lib/gitara/node/bar_spec.rb +39 -7
  33. data/spec/lib/gitara/node/base/chorded_version_spec.rb +5 -0
  34. data/spec/lib/gitara/node/base/voiced_version_spec.rb +28 -0
  35. data/spec/lib/gitara/node/base_spec.rb +87 -79
  36. data/spec/lib/gitara/node/chord_set/chorded_version_spec.rb +11 -0
  37. data/spec/lib/gitara/node/stanza_spec.rb +4 -4
  38. data/spec/lib/gitara/node/tab_spec.rb +21 -32
  39. data/spec/lib/gitara/voice_spec.rb +21 -21
  40. data/spec/spec_helper.rb +2 -0
  41. metadata +141 -171
  42. data/lib/gitara/node/base/chorded_node.rb +0 -21
  43. data/spec/lib/gitara/node/bar/chorded_node_spec.rb +0 -20
  44. data/spec/lib/gitara/node/bar/voiced_node_spec.rb +0 -17
  45. data/spec/lib/gitara/node/base/chorded_node_spec.rb +0 -29
  46. data/spec/lib/gitara/node/base/voiced_node_spec.rb +0 -35
  47. data/spec/lib/gitara/node/chord_set/chorded_node_spec.rb +0 -11
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,8 @@
1
+ 0.4.1 - 2012-03-04
2
+ ------------------
3
+
4
+ * [#17] If I render a part of the score, only the stanza heading for that part should appear.
5
+
1
6
  0.4.0 - 2012-02-26
2
7
  ------------------
3
8
 
@@ -0,0 +1,333 @@
1
+ \version "2.12.3"
2
+ \include "english.ly"
3
+
4
+ \paper {
5
+ indent = #0
6
+ }
7
+
8
+ \header {
9
+ title = "Huling El Bimbo"
10
+ composer = "Eraserheads"
11
+ arranger = "Arranged by George Mendoza"
12
+ instrument = "Guitar (capo on first fret)"
13
+ }
14
+
15
+ %-----------------------------------------------------------------------
16
+ % Chord Sets
17
+
18
+ cChordSetG = { r1-"G" }
19
+ cChordSetC = { r1-"C" }
20
+ cChordSetASeven = { r1-"A7" }
21
+ cChordSetEm = { r1-"Em" }
22
+ cChordSetD = { r1-"D" }
23
+
24
+ %-----------------------------------------------------------------------
25
+ % Bars
26
+
27
+ vOneBarVerseLineOneBarOne = { r2. r8 <g\3>8 }
28
+ vTwoBarVerseLineOneBarOne = { r1 }
29
+ cBarVerseLineOneBarOne = { \cChordSetG }
30
+
31
+ vOneBarVerseLineOneBarTwo = { <a\3>16\glissando <b\3>16 <b\3>4 r16 <a\3>16\glissando <b\3>4. <a\3>16( <g\3>16) }
32
+ vTwoBarVerseLineOneBarTwo = { r1 }
33
+ cBarVerseLineOneBarTwo = { \cChordSetG }
34
+
35
+ vOneBarVerseLineOneBarThree = { <a\3>8( <g\3>4) <cs'\2>4 <g\3>4. }
36
+ vTwoBarVerseLineOneBarThree = { \skip 8 r8 <e\4>4 <a,\5>4 <e\4>8 <b,\5>8 }
37
+ cBarVerseLineOneBarThree = { \cChordSetASeven }
38
+
39
+ vOneBarVerseLineOneBarFour = { r4 <g\3>8 <g\3>8 <g\3>8 <a\3>8 <c'\2>8 <b~\2>8 }
40
+ vTwoBarVerseLineOneBarFour = { <c\5>4 <e\4>4 <c\5>4 <e\4>4 }
41
+ cBarVerseLineOneBarFour = { \cChordSetC }
42
+
43
+ vOneBarVerseLineOneBarFive = { <b\2>8 <g\3>8 <b\2>8 <b\2>16 <g\3>16 \skip 16 <b\2>16 <g\3>16 \skip 16 <b\2>16 <g\3>16 \skip 8 }
44
+ vTwoBarVerseLineOneBarFive = { <g,\6>4 <d\4>4 <d\4>16 \skip 16 \skip 16 <d\4>16 \skip 16 \skip 16 <d\4>8 }
45
+ cBarVerseLineOneBarFive = { \cChordSetG }
46
+
47
+ vOneBarVerseLineTwoBarOne = { r8 <g\3>8 <b\2>8 <b\2>16 <b\2>8 <b\2>16( <d'\2>8) <e'\1>4 }
48
+ vTwoBarVerseLineTwoBarOne = { <g,\6>4 <d\4>4 <g,\6>4 <d\4>4 }
49
+ cBarVerseLineTwoBarOne = { \cChordSetG }
50
+
51
+ vOneBarVerseLineTwoBarTwo = { <a\3>16( <g\3>16)( <a\3>4) <cs'\2>4 <a\3>4 <b\2>8 }
52
+ vTwoBarVerseLineTwoBarTwo = { <a,\5>4 <e\4>4 <a,\5>4 <e\4>4 }
53
+ cBarVerseLineTwoBarTwo = { \cChordSetASeven }
54
+
55
+ vOneBarVerseLineTwoBarThree = { <c'\2>4. <d'\2>4 <c'\2>4 <b~\2>8 }
56
+ vTwoBarVerseLineTwoBarThree = { <c\5>4 <e\4>4 <c\5>4 <e\4>4 }
57
+ cBarVerseLineTwoBarThree = { \cChordSetC }
58
+
59
+ vOneBarVerseLineTwoBarFour = { <b\2>8 <g\3>4 <g\3>4 <b\2>8 <b\2>8 <c'\2>8 }
60
+ vTwoBarVerseLineTwoBarFour = { <g,\6>4 <d\4>4 <g,\6>4 <d\4>4 }
61
+ cBarVerseLineTwoBarFour = { \cChordSetG }
62
+
63
+ vOneBarVerseLineThreeBarOne = { <d'\2>4. <d'\2>4 <d'\2>4 <cs'~\2>8 }
64
+ vTwoBarVerseLineThreeBarOne = { <g,\6>4 <d\4>4 <g,\6>4 <d\4>4 }
65
+ cBarVerseLineThreeBarOne = { \cChordSetG }
66
+
67
+ vOneBarVerseLineThreeBarTwo = { <cs'\2>8 <a\3>4 <a\3>4 <a\3>4 <b\2>8 }
68
+ vTwoBarVerseLineThreeBarTwo = { <a,\5>4 <e\4>4 <a,\5>4 <e\4>4 }
69
+ cBarVerseLineThreeBarTwo = { \cChordSetASeven }
70
+
71
+ vOneBarVerseLineThreeBarThree = { <c'\2>4 <c'\2>8 <d'\2>4 <e'\1>4 <b~\2>8 }
72
+ vTwoBarVerseLineThreeBarThree = { <c\5>4 <e\4>4 <c\5>4 <e\4>4 }
73
+ cBarVerseLineThreeBarThree = { \cChordSetC }
74
+
75
+ vOneBarVerseLineThreeBarFour = { <b\2>8 <d'\2>4 <d'\2>4 <b\2>16 <a\3>8 <g\3>16( <a\3>8) }
76
+ vTwoBarVerseLineThreeBarFour = { <g,\6>4 <d\4>4 <g,\6>4 <d\4>4 }
77
+ cBarVerseLineThreeBarFour = { \cChordSetG }
78
+
79
+ vOneBarVerseLineFourBarOne = { <b\2>4. <b\2>4 <b\2>16 <b\2>16 r16 <a\3>16 <b\2>8 }
80
+ vTwoBarVerseLineFourBarOne = { <g,\6>4 <d\4>4 <g,\6>4 <d\4>4 }
81
+ cBarVerseLineFourBarOne = { \cChordSetG }
82
+
83
+ vOneBarVerseLineFourBarTwo = { <a\3>16( <g\3>16) <e\4>4 <cs'\2>4 <g\3>16 <g\3>16 r16 <g\3>16 <g\3>8 }
84
+ vTwoBarVerseLineFourBarTwo = { <a,\5>4 <e\4>4 <a,\5>4 <e\4>4 }
85
+ cBarVerseLineFourBarTwo = { \cChordSetASeven }
86
+
87
+ vOneBarVerseLineFourBarThree = { <g\3>4. <g\3>4 <a\3>8 <c'\2>8 <b~\2>8 }
88
+ vTwoBarVerseLineFourBarThree = { <c\5>4 <e\4>4 <c\5>4 <e\4>4 }
89
+ cBarVerseLineFourBarThree = { \cChordSetC }
90
+
91
+ vOneBarVerseLineFourBarFour = { <b\2>8 <g\3>4 <g\3>4 <g\3>4. }
92
+ vTwoBarVerseLineFourBarFour = { <g,\6>4 <d\4>4 <g,\6>4 <g,\6>8 <fs,\6>8 }
93
+ cBarVerseLineFourBarFour = { \cChordSetG }
94
+
95
+ vOneBarRefrainLineOneBarOne = { r4 <g\3>8 <g\3>8 <g\3>8 <g\3>8 <e'\1>8 <d'~\2>8 }
96
+ vTwoBarRefrainLineOneBarOne = { <e,\6>4 <e\4>4 <e,\6>4 <e\4>4 }
97
+ cBarRefrainLineOneBarOne = { \cChordSetEm }
98
+
99
+ vOneBarRefrainLineOneBarTwo = { <d'\2>8 <b\2>4 <a\3>4 <a\3>4 <b\2>8 }
100
+ vTwoBarRefrainLineOneBarTwo = { <g,\6>4 <d\4>4 <g,\6>4 <d\4>4 }
101
+ cBarRefrainLineOneBarTwo = { \cChordSetG }
102
+
103
+ vOneBarRefrainLineOneBarThree = { <c'\2>4 <c'\2>8 <d'\2>4 <g\3>8 <a\3>8 <b~\2>8 }
104
+ vTwoBarRefrainLineOneBarThree = { <c\5>4 <e\4>4 <c\5>4 <e\4>4 }
105
+ cBarRefrainLineOneBarThree = { \cChordSetC }
106
+
107
+ vOneBarRefrainLineOneBarFour = { <b\2>8 <a\3>4 <a\3>4 <a\3>4. }
108
+ vTwoBarRefrainLineOneBarFour = { <a,\5>4 <d\4>4 <a,\5>4 <g,\6>8 <fs,\6>8 }
109
+ cBarRefrainLineOneBarFour = { \cChordSetD }
110
+
111
+ vOneBarRefrainLineTwoBarOne = { r4 <g\3>8 <g\3>8 <g\3>8 <g\3>8 <e'\1>8 <d'~\2>8 }
112
+ vTwoBarRefrainLineTwoBarOne = { <e,\6>4 <e\4>4 <e,\6>4 <e\4>4 }
113
+ cBarRefrainLineTwoBarOne = { \cChordSetEm }
114
+
115
+ vOneBarRefrainLineTwoBarTwo = { <d'\2>8 <b\2>4 <a\3>4 <a\3>4 <b\2>8 }
116
+ vTwoBarRefrainLineTwoBarTwo = { <g,\6>4 <d\4>4 <g,\6>4 <d\4>4 }
117
+ cBarRefrainLineTwoBarTwo = { \cChordSetG }
118
+
119
+ vOneBarRefrainLineTwoBarThree = { <c'\2>4 <c'\2>8 <d'\2>4 <e'\1>4 <e'~\1>8 }
120
+ vTwoBarRefrainLineTwoBarThree = { <c\5>4 <e\4>4 <c\5>4 <e\4>4 }
121
+ cBarRefrainLineTwoBarThree = { \cChordSetC }
122
+
123
+ vOneBarRefrainLineTwoBarFour = { <e'\1>8 <d'\2>4 <d'\2>4 <d'\2>4 <d'\2>8 }
124
+ vTwoBarRefrainLineTwoBarFour = { <a,\5>4 <d\4>4 <a,\5>4 <d\4>4 }
125
+ cBarRefrainLineTwoBarFour = { \cChordSetD }
126
+
127
+ vOneBarRefrainLineTwoBarFive = { <a\3 d'\2 >8 <a\3 d'\2 >8 <a\3 d'\2 >8 <a\3 d'\2 >8 <a\3 d'\2 >8 <b\2>8 <b\2>8 <c'\2>8 }
128
+ vTwoBarRefrainLineTwoBarFive = { <d\4>8 <d\4>8 <d\4>8 <d\4>8 <d\4>8 \skip 8 \skip 8 \skip 8 }
129
+ cBarRefrainLineTwoBarFive = { \cChordSetD }
130
+
131
+ vOneBarChorusLineOneBarOne = { <d'\2>4. <g'\1>4 <d'\2>4 <cs'~\2>8 }
132
+ vTwoBarChorusLineOneBarOne = { <g,\6>4 <d\4>4 <g,\6>4 <d\4>4 }
133
+ cBarChorusLineOneBarOne = { \cChordSetG }
134
+
135
+ vOneBarChorusLineOneBarTwo = { <cs'\2>4 <g'\1>8 <g'\1>4 <cs'\2>4 <c'~\2>8 }
136
+ vTwoBarChorusLineOneBarTwo = { <a,\5>4 <e\4>4 <a,\5>4 <e\4>4 }
137
+ cBarChorusLineOneBarTwo = { \cChordSetASeven }
138
+
139
+ vOneBarChorusLineOneBarThree = { <c'\2>4. <d'\2>4 <e'\1>4 <b~\2>8 }
140
+ vTwoBarChorusLineOneBarThree = { <c\5>4 <e\4>4 <c\5>4 <e\4>4 }
141
+ cBarChorusLineOneBarThree = { \cChordSetC }
142
+
143
+ vOneBarChorusLineOneBarFour = { <b\2>8 <d'\2>4 <d'\2>4 <b\2>8 <b\2>8 <c'\2>8 }
144
+ vTwoBarChorusLineOneBarFour = { <g,\6>4 <d\4>4 <g,\6>4 <d\4>4 }
145
+ cBarChorusLineOneBarFour = { \cChordSetG }
146
+
147
+ vOneBarChorusLineTwoBarOne = { <d'\2>4. <g'\1>4 <d'\2>4 <cs'~\2>8 }
148
+ vTwoBarChorusLineTwoBarOne = { <g,\6>4 <d\4>4 <g,\6>4 <d\4>4 }
149
+ cBarChorusLineTwoBarOne = { \cChordSetG }
150
+
151
+ vOneBarChorusLineTwoBarTwo = { <cs'\2>4 <g'\1>8 <g'\1>4 <cs'\2>4 <c'~\2>8 }
152
+ vTwoBarChorusLineTwoBarTwo = { <a,\5>4 <e\4>4 <a,\5>4 <e\4>4 }
153
+ cBarChorusLineTwoBarTwo = { \cChordSetASeven }
154
+
155
+ vOneBarChorusLineTwoBarThree = { <c'\2>4. <d'\2>4 <c'\2>4 <b~\2>8 }
156
+ vTwoBarChorusLineTwoBarThree = { <c\5>4 <e\4>4 <c\5>4 <e\4>4 }
157
+ cBarChorusLineTwoBarThree = { \cChordSetC }
158
+
159
+ vOneBarChorusLineTwoBarFour = { <b\2>8 <g\3>4 <g\3>4 <g\3>4 <g\3>8 }
160
+ vTwoBarChorusLineTwoBarFour = { <g,\6>4 <d\4>4 <g,\6>4 <d\4>4 }
161
+ cBarChorusLineTwoBarFour = { \cChordSetG }
162
+
163
+ vOneBarChorusLineTwoBarFive = { <g\3 d'\2 g'\1 >1 }
164
+ vTwoBarChorusLineTwoBarFive = { <g,\6 b,\5 d\4 >1 }
165
+ cBarChorusLineTwoBarFive = { \cChordSetG }
166
+
167
+
168
+ %-----------------------------------------------------------------------
169
+ % Lines
170
+
171
+ vOneLineVerseLineOne = { \vOneBarVerseLineOneBarOne \vOneBarVerseLineOneBarTwo \vOneBarVerseLineOneBarThree \vOneBarVerseLineOneBarFour \vOneBarVerseLineOneBarFive \break }
172
+ vTwoLineVerseLineOne = { \vTwoBarVerseLineOneBarOne \vTwoBarVerseLineOneBarTwo \vTwoBarVerseLineOneBarThree \vTwoBarVerseLineOneBarFour \vTwoBarVerseLineOneBarFive \break }
173
+ cLineVerseLineOne = { \cBarVerseLineOneBarOne \cBarVerseLineOneBarTwo \cBarVerseLineOneBarThree \cBarVerseLineOneBarFour \cBarVerseLineOneBarFive }
174
+
175
+ vOneLineVerseLineTwo = { \vOneBarVerseLineTwoBarOne \vOneBarVerseLineTwoBarTwo \vOneBarVerseLineTwoBarThree \vOneBarVerseLineTwoBarFour \break }
176
+ vTwoLineVerseLineTwo = { \vTwoBarVerseLineTwoBarOne \vTwoBarVerseLineTwoBarTwo \vTwoBarVerseLineTwoBarThree \vTwoBarVerseLineTwoBarFour \break }
177
+ cLineVerseLineTwo = { \cBarVerseLineTwoBarOne \cBarVerseLineTwoBarTwo \cBarVerseLineTwoBarThree \cBarVerseLineTwoBarFour }
178
+
179
+ vOneLineVerseLineThree = { \vOneBarVerseLineThreeBarOne \vOneBarVerseLineThreeBarTwo \vOneBarVerseLineThreeBarThree \vOneBarVerseLineThreeBarFour \break }
180
+ vTwoLineVerseLineThree = { \vTwoBarVerseLineThreeBarOne \vTwoBarVerseLineThreeBarTwo \vTwoBarVerseLineThreeBarThree \vTwoBarVerseLineThreeBarFour \break }
181
+ cLineVerseLineThree = { \cBarVerseLineThreeBarOne \cBarVerseLineThreeBarTwo \cBarVerseLineThreeBarThree \cBarVerseLineThreeBarFour }
182
+
183
+ vOneLineVerseLineFour = { \vOneBarVerseLineFourBarOne \vOneBarVerseLineFourBarTwo \vOneBarVerseLineFourBarThree \vOneBarVerseLineFourBarFour \break }
184
+ vTwoLineVerseLineFour = { \vTwoBarVerseLineFourBarOne \vTwoBarVerseLineFourBarTwo \vTwoBarVerseLineFourBarThree \vTwoBarVerseLineFourBarFour \break }
185
+ cLineVerseLineFour = { \cBarVerseLineFourBarOne \cBarVerseLineFourBarTwo \cBarVerseLineFourBarThree \cBarVerseLineFourBarFour }
186
+
187
+ vOneLineRefrainLineOne = { \vOneBarRefrainLineOneBarOne \vOneBarRefrainLineOneBarTwo \vOneBarRefrainLineOneBarThree \vOneBarRefrainLineOneBarFour \break }
188
+ vTwoLineRefrainLineOne = { \vTwoBarRefrainLineOneBarOne \vTwoBarRefrainLineOneBarTwo \vTwoBarRefrainLineOneBarThree \vTwoBarRefrainLineOneBarFour \break }
189
+ cLineRefrainLineOne = { \cBarRefrainLineOneBarOne \cBarRefrainLineOneBarTwo \cBarRefrainLineOneBarThree \cBarRefrainLineOneBarFour }
190
+
191
+ vOneLineRefrainLineTwo = { \vOneBarRefrainLineTwoBarOne \vOneBarRefrainLineTwoBarTwo \vOneBarRefrainLineTwoBarThree \vOneBarRefrainLineTwoBarFour \vOneBarRefrainLineTwoBarFive \break }
192
+ vTwoLineRefrainLineTwo = { \vTwoBarRefrainLineTwoBarOne \vTwoBarRefrainLineTwoBarTwo \vTwoBarRefrainLineTwoBarThree \vTwoBarRefrainLineTwoBarFour \vTwoBarRefrainLineTwoBarFive \break }
193
+ cLineRefrainLineTwo = { \cBarRefrainLineTwoBarOne \cBarRefrainLineTwoBarTwo \cBarRefrainLineTwoBarThree \cBarRefrainLineTwoBarFour \cBarRefrainLineTwoBarFive }
194
+
195
+ vOneLineChorusLineOne = { \vOneBarChorusLineOneBarOne \vOneBarChorusLineOneBarTwo \vOneBarChorusLineOneBarThree \vOneBarChorusLineOneBarFour \break }
196
+ vTwoLineChorusLineOne = { \vTwoBarChorusLineOneBarOne \vTwoBarChorusLineOneBarTwo \vTwoBarChorusLineOneBarThree \vTwoBarChorusLineOneBarFour \break }
197
+ cLineChorusLineOne = { \cBarChorusLineOneBarOne \cBarChorusLineOneBarTwo \cBarChorusLineOneBarThree \cBarChorusLineOneBarFour }
198
+
199
+ vOneLineChorusLineTwo = { \vOneBarChorusLineTwoBarOne \vOneBarChorusLineTwoBarTwo \vOneBarChorusLineTwoBarThree \vOneBarChorusLineTwoBarFour \vOneBarChorusLineTwoBarFive \break }
200
+ vTwoLineChorusLineTwo = { \vTwoBarChorusLineTwoBarOne \vTwoBarChorusLineTwoBarTwo \vTwoBarChorusLineTwoBarThree \vTwoBarChorusLineTwoBarFour \vTwoBarChorusLineTwoBarFive \break }
201
+ cLineChorusLineTwo = { \cBarChorusLineTwoBarOne \cBarChorusLineTwoBarTwo \cBarChorusLineTwoBarThree \cBarChorusLineTwoBarFour \cBarChorusLineTwoBarFive }
202
+
203
+
204
+ %-----------------------------------------------------------------------
205
+ % Stanzas
206
+
207
+ vOneStanzaVerse = { \vOneLineVerseLineOne \vOneLineVerseLineTwo \vOneLineVerseLineThree \vOneLineVerseLineFour }
208
+ vTwoStanzaVerse = { \vTwoLineVerseLineOne \vTwoLineVerseLineTwo \vTwoLineVerseLineThree \vTwoLineVerseLineFour }
209
+ cStanzaVerse = { \cLineVerseLineOne \cLineVerseLineTwo \cLineVerseLineThree \cLineVerseLineFour }
210
+
211
+ vOneStanzaRefrain = { \vOneLineRefrainLineOne \vOneLineRefrainLineTwo }
212
+ vTwoStanzaRefrain = { \vTwoLineRefrainLineOne \vTwoLineRefrainLineTwo }
213
+ cStanzaRefrain = { \cLineRefrainLineOne \cLineRefrainLineTwo }
214
+
215
+ vOneStanzaChorus = { \vOneLineChorusLineOne \vOneLineChorusLineTwo }
216
+ vTwoStanzaChorus = { \vTwoLineChorusLineOne \vTwoLineChorusLineTwo }
217
+ cStanzaChorus = { \cLineChorusLineOne \cLineChorusLineTwo }
218
+
219
+
220
+ %-----------------------------------------------------------------------
221
+ % Scores
222
+
223
+ vOneScoreTabOneScoreOne = { \vOneStanzaVerse \vOneStanzaRefrain \vOneStanzaChorus }
224
+ vTwoScoreTabOneScoreOne = { \vTwoStanzaVerse \vTwoStanzaRefrain \vTwoStanzaChorus }
225
+ cScoreTabOneScoreOne = { \cStanzaVerse \cStanzaRefrain \cStanzaChorus }
226
+
227
+
228
+ %-----------------------------------------------------------------------
229
+ % Voices
230
+
231
+ vOne = {
232
+ \transposition cs''
233
+ \vOneScoreTabOneScoreOne
234
+ }
235
+
236
+ vTwo = {
237
+ \transposition cs'
238
+ \vTwoScoreTabOneScoreOne
239
+ }
240
+
241
+
242
+ %-----------------------------------------------------------------------
243
+ % Stanza Headings
244
+
245
+ stanzaHeadings = {
246
+ r1^"Verse" r r r r r r r r r r r r r r r r
247
+ r1^"Refrain" r r r r r r r r
248
+ r1^"Chorus" r r r r r r r r
249
+ }
250
+
251
+ %-----------------------------------------------------------------------
252
+ % Chord Headings
253
+
254
+ chordHeadings = { \cScoreTabOneScoreOne }
255
+
256
+ %-----------------------------------------------------------------------
257
+
258
+ \score {
259
+ \new StaffGroup <<
260
+ \new Staff <<
261
+ \tempo 4 = 90
262
+
263
+ \clef "treble_8"
264
+
265
+ \new Voice \with { \remove Rest_engraver } {
266
+ \stanzaHeadings
267
+ }
268
+
269
+ \new Voice {
270
+ \voiceOne
271
+ \vOne
272
+ }
273
+ \new Voice {
274
+ \voiceTwo
275
+ \vTwo
276
+ }
277
+ >>
278
+
279
+ \new TabStaff <<
280
+ \new TabVoice {
281
+ \slurUp
282
+ \vOne
283
+ }
284
+ \new TabVoice {
285
+ \slurUp
286
+ \vTwo
287
+ }
288
+ \new TabVoice {
289
+ \chordHeadings
290
+ }
291
+ >>
292
+ >>
293
+
294
+ \layout {
295
+ \context { \Staff
296
+ \override TimeSignature #'style = #'numbered
297
+ \override StringNumber #'transparent = ##t
298
+ }
299
+ \context { \TabStaff
300
+ \override TimeSignature #'style = #'numbered
301
+ }
302
+ \context { \Voice
303
+ \remove Slur_engraver
304
+ }
305
+ \context { \TabVoice
306
+ \remove Dots_engraver
307
+ \remove Stem_engraver
308
+ \remove Rest_engraver
309
+ }
310
+ }
311
+ }
312
+
313
+ % showLastLength = R1*4
314
+ \score {
315
+ \new Staff \with {midiInstrument = #"acoustic guitar (nylon)"} <<
316
+ \tempo 4 = 90
317
+
318
+ \clef "treble_8"
319
+
320
+ \new Voice {
321
+ \unfoldRepeats {
322
+ \vOne
323
+ }
324
+ }
325
+ \new Voice {
326
+ \unfoldRepeats {
327
+ \vTwo
328
+ }
329
+ }
330
+ >>
331
+
332
+ \midi {}
333
+ }
@@ -0,0 +1,249 @@
1
+ Gitara.define do
2
+ title "Huling El Bimbo"
3
+ composer "Eraserheads"
4
+ arranger "Arranged by George Mendoza"
5
+ instrument "Guitar (capo on first fret)"
6
+ midi_instrument "acoustic guitar (nylon)"
7
+ transposition "cs"
8
+ tempo "4 = 90"
9
+
10
+ chords :G, 'r1-"G"'
11
+ chords :C, 'r1-"C"'
12
+ chords :A7, 'r1-"A7"'
13
+ chords :Em, 'r1-"Em"'
14
+ chords :D, 'r1-"D"'
15
+
16
+ score do
17
+ stanza "Verse" do
18
+ line do
19
+ bar do
20
+ notes "r2. r8 <g/3>8"
21
+ notes "r1"
22
+ chords :G
23
+ end
24
+
25
+ bar do
26
+ notes "<a/3>16/glissando <b/3>16 <b/3>4 r16 <a/3>16/glissando <b/3>4. <a/3>16( <g/3>16)"
27
+ notes "r1"
28
+ chords :G
29
+ end
30
+
31
+ bar do
32
+ notes "<a/3>8( <g/3>4) <cs'/2>4 <g/3>4."
33
+ notes "/skip 8 r8 <e/4>4 <a,/5>4 <e/4>8 <b,/5>8"
34
+ chords :A7
35
+ end
36
+
37
+ bar do
38
+ notes "r4 <g/3>8 <g/3>8 <g/3>8 <a/3>8 <c'/2>8 <b~/2>8"
39
+ notes "<c/5>4 <e/4>4 <c/5>4 <e/4>4"
40
+ chords :C
41
+ end
42
+
43
+ bar do
44
+ notes "<b/2>8 <g/3>8 <b/2>8 <b/2>16 <g/3>16 /skip 16 <b/2>16 <g/3>16 /skip 16 <b/2>16 <g/3>16 /skip 8"
45
+ notes "<g,/6>4 <d/4>4 <d/4>16 /skip 16 /skip 16 <d/4>16 /skip 16 /skip 16 <d/4>8"
46
+ chords :G
47
+ end
48
+ end
49
+
50
+ line do
51
+ bar do
52
+ notes "r8 <g/3>8 <b/2>8 <b/2>16 <b/2>8 <b/2>16( <d'/2>8) <e'/1>4"
53
+ notes "<g,/6>4 <d/4>4 <g,/6>4 <d/4>4"
54
+ chords :G
55
+ end
56
+
57
+ bar do
58
+ notes "<a/3>16( <g/3>16)( <a/3>4) <cs'/2>4 <a/3>4 <b/2>8"
59
+ notes "<a,/5>4 <e/4>4 <a,/5>4 <e/4>4"
60
+ chords :A7
61
+ end
62
+
63
+ bar do
64
+ notes "<c'/2>4. <d'/2>4 <c'/2>4 <b~/2>8"
65
+ notes "<c/5>4 <e/4>4 <c/5>4 <e/4>4"
66
+ chords :C
67
+ end
68
+
69
+ bar do
70
+ notes "<b/2>8 <g/3>4 <g/3>4 <b/2>8 <b/2>8 <c'/2>8"
71
+ notes "<g,/6>4 <d/4>4 <g,/6>4 <d/4>4"
72
+ chords :G
73
+ end
74
+ end
75
+
76
+ line do
77
+ bar do
78
+ notes "<d'/2>4. <d'/2>4 <d'/2>4 <cs'~/2>8"
79
+ notes "<g,/6>4 <d/4>4 <g,/6>4 <d/4>4"
80
+ chords :G
81
+ end
82
+
83
+ bar do
84
+ notes "<cs'/2>8 <a/3>4 <a/3>4 <a/3>4 <b/2>8"
85
+ notes "<a,/5>4 <e/4>4 <a,/5>4 <e/4>4"
86
+ chords :A7
87
+ end
88
+
89
+ bar do
90
+ notes "<c'/2>4 <c'/2>8 <d'/2>4 <e'/1>4 <b~/2>8"
91
+ notes "<c/5>4 <e/4>4 <c/5>4 <e/4>4"
92
+ chords :C
93
+ end
94
+
95
+ bar do
96
+ notes "<b/2>8 <d'/2>4 <d'/2>4 <b/2>16 <a/3>8 <g/3>16( <a/3>8)"
97
+ notes "<g,/6>4 <d/4>4 <g,/6>4 <d/4>4"
98
+ chords :G
99
+ end
100
+ end
101
+
102
+ line do
103
+ bar do
104
+ notes "<b/2>4. <b/2>4 <b/2>16 <b/2>16 r16 <a/3>16 <b/2>8"
105
+ notes "<g,/6>4 <d/4>4 <g,/6>4 <d/4>4"
106
+ chords :G
107
+ end
108
+
109
+ bar do
110
+ notes "<a/3>16( <g/3>16) <e/4>4 <cs'/2>4 <g/3>16 <g/3>16 r16 <g/3>16 <g/3>8"
111
+ notes "<a,/5>4 <e/4>4 <a,/5>4 <e/4>4"
112
+ chords :A7
113
+ end
114
+
115
+ bar do
116
+ notes "<g/3>4. <g/3>4 <a/3>8 <c'/2>8 <b~/2>8"
117
+ notes "<c/5>4 <e/4>4 <c/5>4 <e/4>4"
118
+ chords :C
119
+ end
120
+
121
+ bar do
122
+ notes "<b/2>8 <g/3>4 <g/3>4 <g/3>4."
123
+ notes "<g,/6>4 <d/4>4 <g,/6>4 <g,/6>8 <fs,/6>8"
124
+ chords :G
125
+ end
126
+ end
127
+ end
128
+
129
+ stanza "Refrain" do
130
+ line do
131
+ bar do
132
+ notes "r4 <g/3>8 <g/3>8 <g/3>8 <g/3>8 <e'/1>8 <d'~/2>8"
133
+ notes "<e,/6>4 <e/4>4 <e,/6>4 <e/4>4"
134
+ chords :Em
135
+ end
136
+
137
+ bar do
138
+ notes "<d'/2>8 <b/2>4 <a/3>4 <a/3>4 <b/2>8"
139
+ notes "<g,/6>4 <d/4>4 <g,/6>4 <d/4>4"
140
+ chords :G
141
+ end
142
+
143
+ bar do
144
+ notes "<c'/2>4 <c'/2>8 <d'/2>4 <g/3>8( <a/3>8) <b~/2>8"
145
+ notes "<c/5>4 <e/4>4 <c/5>4 <e/4>4"
146
+ chords :C
147
+ end
148
+
149
+ bar do
150
+ notes "<b/2>8 <a/3>4 <a/3>4 <a/3>4."
151
+ notes "<a,/5>4 <d/4>4 <a,/5>4 <g,/6>8 <fs,/6>8"
152
+ chords :D
153
+ end
154
+ end
155
+
156
+ line do
157
+ bar do
158
+ notes "r4 <g/3>8 <g/3>8 <g/3>8 <g/3>8 <e'/1>8 <d'~/2>8"
159
+ notes "<e,/6>4 <e/4>4 <e,/6>4 <e/4>4"
160
+ chords :Em
161
+ end
162
+
163
+ bar do
164
+ notes "<d'/2>8 <b/2>4 <a/3>4 <a/3>4 <b/2>8"
165
+ notes "<g,/6>4 <d/4>4 <g,/6>4 <d/4>4"
166
+ chords :G
167
+ end
168
+
169
+ bar do
170
+ notes "<c'/2>4 <c'/2>8 <d'/2>4 <e'/1>4 <e'~/1>8"
171
+ notes "<c/5>4 <e/4>4 <c/5>4 <e/4>4"
172
+ chords :C
173
+ end
174
+
175
+ bar do
176
+ notes "<e'/1>8 <d'/2>4 <d'/2>4 <d'/2>4 <d'/2>8"
177
+ notes "<a,/5>4 <d/4>4 <a,/5>4 <d/4>4"
178
+ chords :D
179
+ end
180
+
181
+ bar do
182
+ notes "<a/3 d'/2 >8 <a/3 d'/2 >8 <a/3 d'/2 >8 <a/3 d'/2 >8 <a/3 d'/2 >8 <b/2>8 <b/2>8 <c'/2>8"
183
+ notes "<d/4>8 <d/4>8 <d/4>8 <d/4>8 <d/4>8 /skip 8 /skip 8 /skip 8"
184
+ chords :D
185
+ end
186
+ end
187
+ end
188
+
189
+ stanza "Chorus" do
190
+ line do
191
+ bar do
192
+ notes "<d'/2>4. <g'/1>4 <d'/2>4 <cs'~/2>8"
193
+ notes "<g,/6>4 <d/4>4 <g,/6>4 <d/4>4"
194
+ chords :G
195
+ end
196
+
197
+ bar do
198
+ notes "<cs'/2>4 <g'/1>8 <g'/1>4 <cs'/2>4 <c'~/2>8"
199
+ notes "<a,/5>4 <e/4>4 <a,/5>4 <e/4>4"
200
+ chords :A7
201
+ end
202
+
203
+ bar do
204
+ notes "<c'/2>4. <d'/2>4 <e'/1>4 <b~/2>8"
205
+ notes "<c/5>4 <e/4>4 <c/5>4 <e/4>4"
206
+ chords :C
207
+ end
208
+
209
+ bar do
210
+ notes "<b/2>8 <d'/2>4 <d'/2>4 <b/2>8 <b/2>8 <c'/2>8"
211
+ notes "<g,/6>4 <d/4>4 <g,/6>4 <d/4>4"
212
+ chords :G
213
+ end
214
+ end
215
+
216
+ line do
217
+ bar do
218
+ notes "<d'/2>4. <g'/1>4 <d'/2>4 <cs'~/2>8"
219
+ notes "<g,/6>4 <d/4>4 <g,/6>4 <d/4>4"
220
+ chords :G
221
+ end
222
+
223
+ bar do
224
+ notes "<cs'/2>4 <g'/1>8 <g'/1>4 <cs'/2>4 <c'~/2>8"
225
+ notes "<a,/5>4 <e/4>4 <a,/5>4 <e/4>4"
226
+ chords :A7
227
+ end
228
+
229
+ bar do
230
+ notes "<c'/2>4. <d'/2>4 <c'/2>4 <b~/2>8"
231
+ notes "<c/5>4 <e/4>4 <c/5>4 <e/4>4"
232
+ chords :C
233
+ end
234
+
235
+ bar do
236
+ notes "<b/2>8 <g/3>4 <g/3>4 <g/3>4 <g/3>8"
237
+ notes "<g,/6>4 <d/4>4 <g,/6>4 <d/4>4"
238
+ chords :G
239
+ end
240
+
241
+ bar do
242
+ notes "<g/3 d'/2 g'/1 >1"
243
+ notes "<g,/6 b,/5 d/4 >1"
244
+ chords :G
245
+ end
246
+ end
247
+ end
248
+ end
249
+ end