1 %%%% predefined-guitar-fretboards.ly
3 %%%% source file of the GNU LilyPond music typesetter
5 %%%% (c) 2008--2009 Carl D. Sorensen <c_sorensen@byu.edu>
7 %%% Add basic chordshapes
11 \addChordShape #'f #guitar-tuning
#"1-1-(;3-3;3-4;2-2;1-1;1-1-);"
12 \addChordShape #'f:m
#guitar-tuning
#"1-1-(;3-3;3-4;1-1;1-1;1-1-);"
13 \addChordShape #'f:7 #guitar-tuning
#"1-1-(;3-3;1-1;2-2;1-1;1-1-);"
14 \addChordShape #'f:m
7 #guitar-tuning
#"1-1-(;3-3;1-1;1-1;1-1;1-1-);"
15 \addChordShape #'bes #guitar-tuning
#"x;1-1-(;3-2;3-3;3-4;1-1-);"
16 \addChordShape #'bes:m
#guitar-tuning
#"x;1-1-(;3-3;3-4;2-2;1-1-);"
17 \addChordShape #'bes:m
7 #guitar-tuning
#"x;1-1-(;3-3;1-1;2-2;1-1-);"
18 \addChordShape #'bes:7 #guitar-tuning
#"x;1-1-(;3-2;1-1;3-3;1-1-);"
19 \addChordShape #'bes:maj
7 #guitar-tuning
#"x;1-1;3-3;2-2;3-4;x;"
20 \addChordShape #'c:dim
#guitar-tuning
#"x;x;1-1;2-3;1-2;2-4;"
21 \addChordShape #'c:aug
#guitar-tuning
#"x;x;2-2;1-1-(;1-1-);4-4;"
22 \addChordShape #'cis #guitar-tuning
#"x;x;3-3;1-1-(;2-2;1-1-);"
23 \addChordShape #'ees
:dim
#guitar-tuning
#"x;x;1-1;2-3;1-2;2-4;"
24 \addChordShape #'a:dim
#guitar-tuning
#"x;x;1-1;2-3;1-2;2-4;"
26 %%% Add predefined chords
28 % definitions of predefined diagrams below here
32 \storePredefinedDiagram \chordmode {c}
35 \storePredefinedDiagram \chordmode {c:m
}
37 #(offset-fret
2 (chord-shape
'bes:m guitar-tuning
))
38 \storePredefinedDiagram \chordmode {c:aug
}
40 #(chord-shape
'c:aug guitar-tuning
)
41 \storePredefinedDiagram \chordmode {c:dim
}
43 #(chord-shape
'c:dim guitar-tuning
)
44 \storePredefinedDiagram \chordmode {c:7}
46 #"o;3-3;2-2;3-4;1-1;o;"
47 \storePredefinedDiagram \chordmode {c:maj
7}
50 \storePredefinedDiagram \chordmode {c:m
7}
52 #(offset-fret
2 (chord-shape
'bes:m
7 guitar-tuning
))
56 \storePredefinedDiagram \chordmode {cis}
58 #(chord-shape
'cis guitar-tuning
)
59 \storePredefinedDiagram \chordmode {cis:m
}
62 \storePredefinedDiagram \chordmode {cis:aug
}
64 #"x;4-4;3-3;2-1;2-2;x;"
65 \storePredefinedDiagram \chordmode {cis:dim
}
67 #(offset-fret
1 (chord-shape
'c:dim guitar-tuning
))
68 \storePredefinedDiagram \chordmode {cis:7}
70 #"x;x;3-2;4-3;2-1;4-4;"
71 \storePredefinedDiagram \chordmode {cis:maj
7}
73 #"x;4-4;3-3;1-1-(;1-1;1-1-);"
74 \storePredefinedDiagram \chordmode {cis:m
7}
80 \storePredefinedDiagram \chordmode {des}
82 #"x;x;3-3;1-1-(;2-2;1-1-);"
83 \storePredefinedDiagram \chordmode {des:m
}
86 \storePredefinedDiagram \chordmode {des:aug
}
88 #"x;4-4;3-3;2-1;2-2;x;"
89 \storePredefinedDiagram \chordmode {des:dim
}
91 #(offset-fret
1 (chord-shape
'c:dim guitar-tuning
))
92 \storePredefinedDiagram \chordmode {des:7}
94 #"x;x;3-2;4-3;2-1;4-4;"
95 \storePredefinedDiagram \chordmode {des:maj
7}
97 #"x;4-4;3-3;1-1-(;1-1;1-1-);"
98 \storePredefinedDiagram \chordmode {des:m
7}
100 #"x;4-4;2-2;1-1;o;o;"
104 \storePredefinedDiagram \chordmode {d}
106 #"x;x;o;2-1;3-3;2-2;"
107 \storePredefinedDiagram \chordmode {d:m
}
109 #"x;x;o;2-2;3-3;1-1;"
110 \storePredefinedDiagram \chordmode {d:aug
}
112 #"x;x;o;3-2;3-3;2-1;"
113 \storePredefinedDiagram \chordmode {d:dim
}
116 \storePredefinedDiagram \chordmode {d:7}
118 #"x;x;o;2-2;1-1;2-3;"
119 \storePredefinedDiagram \chordmode {d:maj
7}
121 #"x;x;o;2-1;2-2;2-3;"
122 \storePredefinedDiagram \chordmode {d:m
7}
124 #"x;x;o;2-2;1-1-(;1-1-);"
128 \storePredefinedDiagram \chordmode {dis}
130 #(offset-fret
2 (chord-shape
'cis guitar-tuning
))
131 \storePredefinedDiagram \chordmode {dis:m
}
133 #"x;x;4-3;3-2;4-4;1-1;"
134 \storePredefinedDiagram \chordmode {dis:aug
}
136 #"3-3;2-2;1-1;o;o;3-4"
137 \storePredefinedDiagram \chordmode {dis:dim
}
139 #(chord-shape
'ees
:dim guitar-tuning
)
140 \storePredefinedDiagram \chordmode {dis:7}
142 #"x;x;1-1;3-3;2-2;3-4;"
143 \storePredefinedDiagram \chordmode {dis:maj
7}
145 #"x;x;1-1;3-2;3-3;3-4;"
146 \storePredefinedDiagram \chordmode {dis:m
7}
148 #"x;x;1-1;3-2;2-3;2-4;"
152 \storePredefinedDiagram \chordmode {ees
}
154 #(offset-fret
2 (chord-shape
'cis guitar-tuning
))
155 \storePredefinedDiagram \chordmode {ees
:m
}
157 #"x;x;4-3;3-2;4-4;1-1;"
158 \storePredefinedDiagram \chordmode {ees
:aug
}
160 #"3-3;2-2;1-1;o;o;3-4"
161 \storePredefinedDiagram \chordmode {ees
:dim
}
163 #(chord-shape
'ees
:dim guitar-tuning
)
164 \storePredefinedDiagram \chordmode {ees
:7}
166 #"x;x;1-1;3-3;2-2;3-4;"
167 \storePredefinedDiagram \chordmode {ees
:maj
7}
169 #"x;x;1-1;3-2;3-3;3-4;"
170 \storePredefinedDiagram \chordmode {ees
:m
7}
172 #"x;x;1-1;3-2;2-3;2-4;"
176 \storePredefinedDiagram \chordmode {e}
178 #"o;2-2;2-3;1-1;o;o;"
179 \storePredefinedDiagram \chordmode {e:m
}
182 \storePredefinedDiagram \chordmode {e:aug
}
184 #"o;3-3;2-2;1-1;x;x;"
185 \storePredefinedDiagram \chordmode {e:dim
}
187 #(offset-fret
1 (chord-shape
'ees
:dim guitar-tuning
))
188 \storePredefinedDiagram \chordmode {e:7}
191 \storePredefinedDiagram \chordmode {e:maj
7}
193 #"o;2-3;1-1;1-2;o;x;"
194 \storePredefinedDiagram \chordmode {e:m
7}
200 \storePredefinedDiagram \chordmode {f}
202 #(chord-shape
'f guitar-tuning
)
203 \storePredefinedDiagram \chordmode {f:m
}
205 #(chord-shape
'f:m guitar-tuning
)
206 \storePredefinedDiagram \chordmode {f:aug
}
208 #"x;x;1-1;4-3;4-4;3-2;"
209 \storePredefinedDiagram \chordmode {f:dim
}
212 \storePredefinedDiagram \chordmode {f:7}
214 #(chord-shape
'f:7 guitar-tuning
)
215 \storePredefinedDiagram \chordmode {f:maj
7}
217 #"x;x;3-3;2-2;1-1;o;"
218 \storePredefinedDiagram \chordmode {f:m
7}
220 #(chord-shape
'f:m
7 guitar-tuning
)
224 \storePredefinedDiagram \chordmode {fis}
226 #(offset-fret
1 (chord-shape
'f guitar-tuning
))
227 \storePredefinedDiagram \chordmode {fis:m
}
229 #(offset-fret
1 (chord-shape
'f:m guitar-tuning
))
230 \storePredefinedDiagram \chordmode {fis:aug
}
232 #"2-2;1-1;o;3-4-(;3-4-);2-3;"
233 \storePredefinedDiagram \chordmode {fis:dim
}
235 #"x;x;1-1;2-3;1-2;2-4;"
236 \storePredefinedDiagram \chordmode {fis:7}
238 #(offset-fret
1 (chord-shape
'f:7 guitar-tuning
))
239 \storePredefinedDiagram \chordmode {fis:maj
7}
241 #"x;x;4-4;3-3;2-2;1-1;"
242 \storePredefinedDiagram \chordmode {fis:m
7}
244 #(offset-fret
1 (chord-shape
'f:m
7 guitar-tuning
))
248 \storePredefinedDiagram \chordmode {ges}
250 #(offset-fret
1 (chord-shape
'f guitar-tuning
))
251 \storePredefinedDiagram \chordmode {ges:m
}
253 #(offset-fret
1 (chord-shape
'f:m guitar-tuning
))
254 \storePredefinedDiagram \chordmode {ges:aug
}
256 #"2-2;1-1;o;3-4-(;3-4-);2-3;"
257 \storePredefinedDiagram \chordmode {ges:dim
}
259 #"x;x;1-1;2-3;1-2;2-4;"
260 \storePredefinedDiagram \chordmode {ges:7}
262 #(offset-fret
1 (chord-shape
'f:7 guitar-tuning
))
263 \storePredefinedDiagram \chordmode {ges:maj
7}
265 #"x;x;4-4;3-3;2-2;1-1;"
266 \storePredefinedDiagram \chordmode {ges:m
7}
268 #(offset-fret
1 (chord-shape
'f:m
7 guitar-tuning
))
272 \storePredefinedDiagram \chordmode {g}
274 #"3-2;2-1;o;o;o;3-3;"
275 \storePredefinedDiagram \chordmode {g:m
}
277 #(offset-fret
2 (chord-shape
'f:m guitar-tuning
))
278 \storePredefinedDiagram \chordmode {g:aug
}
280 #"x;x;5-1;8-3;8-4;7-2;"
281 \storePredefinedDiagram \chordmode {g:dim
}
283 #"x;x;5-2;6-4;5-3;3-1;"
284 \storePredefinedDiagram \chordmode {g:7}
286 #"3-3;2-2;o;o;o;1-1;"
287 \storePredefinedDiagram \chordmode {g:maj
7}
289 #"x;x;5-4;4-3;3-2;2-1;"
290 \storePredefinedDiagram \chordmode {g:m
7}
292 #(offset-fret
2 (chord-shape
'f:m
7 guitar-tuning
))
296 \storePredefinedDiagram \chordmode {gis}
298 #(offset-fret
3 (chord-shape
'f guitar-tuning
))
299 \storePredefinedDiagram \chordmode {gis:m
}
301 #(offset-fret
3 (chord-shape
'f:m guitar-tuning
))
302 \storePredefinedDiagram \chordmode {gis:aug
}
304 #"o;3-4;2-3;1-1;1-2;o;"
305 \storePredefinedDiagram \chordmode {gis:dim
}
308 \storePredefinedDiagram \chordmode {gis:7}
310 #(offset-fret
3 (chord-shape
'f:7 guitar-tuning
))
311 \storePredefinedDiagram \chordmode {gis:maj
7}
313 #"x;x;1-1-(;1-1;1-1-);3-3;"
314 \storePredefinedDiagram \chordmode {gis:m
7}
316 #(offset-fret
3 (chord-shape
'f:m
7 guitar-tuning
))
320 \storePredefinedDiagram \chordmode {aes
}
322 #(offset-fret
3 (chord-shape
'f guitar-tuning
))
323 \storePredefinedDiagram \chordmode {aes
:m
}
325 #(offset-fret
3 (chord-shape
'f:m guitar-tuning
))
326 \storePredefinedDiagram \chordmode {aes
:aug
}
328 #"o;3-4;2-3;1-1;1-2;o;"
329 \storePredefinedDiagram \chordmode {aes
:dim
}
332 \storePredefinedDiagram \chordmode {aes
:7}
334 #(offset-fret
3 (chord-shape
'f:7 guitar-tuning
))
335 \storePredefinedDiagram \chordmode {aes
:maj
7}
337 #"x;x;1-1-(;1-1;1-1-);3-3;"
338 \storePredefinedDiagram \chordmode {aes
:m
7}
340 #(offset-fret
3 (chord-shape
'f:m
7 guitar-tuning
))
344 \storePredefinedDiagram \chordmode {a}
346 #"x;o;2-1;2-2;2-3;o;"
347 \storePredefinedDiagram \chordmode {a:m
}
349 #"x;o;2-2;2-3;1-1;o;"
350 \storePredefinedDiagram \chordmode {a:aug
}
352 #"x;o;3-4;2-2;2-3;1-1;"
353 \storePredefinedDiagram \chordmode {a:dim
}
355 #(chord-shape
'a:dim guitar-tuning
)
356 \storePredefinedDiagram \chordmode {a:7}
359 \storePredefinedDiagram \chordmode {a:maj
7}
361 #"x;o;2-2;1-1;2-3;o;"
362 \storePredefinedDiagram \chordmode {a:m
7}
368 \storePredefinedDiagram \chordmode {ais}
370 #(chord-shape
'bes guitar-tuning
)
371 \storePredefinedDiagram \chordmode {ais:m
}
373 #(chord-shape
'bes:m guitar-tuning
)
374 \storePredefinedDiagram \chordmode {ais:aug
}
376 #"2-2;1-1;o;3-4-(;3-4-);2-3;"
377 \storePredefinedDiagram \chordmode {ais:dim
}
379 #(offset-fret
1 (chord-shape
'a:dim guitar-tuning
))
380 \storePredefinedDiagram \chordmode {ais:7}
382 #(chord-shape
'bes:7 guitar-tuning
)
383 \storePredefinedDiagram \chordmode {ais:maj
7}
385 #"x;1-1;3-3;2-2;3-4;x;"
386 \storePredefinedDiagram \chordmode {ais:m
7}
388 #(chord-shape
'bes:m
7 guitar-tuning
)
392 \storePredefinedDiagram \chordmode {bes}
394 #(chord-shape
'bes guitar-tuning
)
395 \storePredefinedDiagram \chordmode {bes:m
}
397 #(chord-shape
'bes:m guitar-tuning
)
398 \storePredefinedDiagram \chordmode {bes:aug
}
400 #"2-2;1-1;o;3-4-(;3-4-);2-3;"
401 \storePredefinedDiagram \chordmode {bes:dim
}
403 #(offset-fret
1 (chord-shape
'a:dim guitar-tuning
))
404 \storePredefinedDiagram \chordmode {bes:7}
406 #(chord-shape
'bes:7 guitar-tuning
)
407 \storePredefinedDiagram \chordmode {bes:maj
7}
409 #"x;1-1;3-3;2-2;3-4;x;"
410 \storePredefinedDiagram \chordmode {bes:m
7}
412 #(chord-shape
'bes:m
7 guitar-tuning
)
416 \storePredefinedDiagram \chordmode {b}
418 #(offset-fret
1 (chord-shape
'bes guitar-tuning
))
419 \storePredefinedDiagram \chordmode {b:m
}
421 #(offset-fret
1 (chord-shape
'bes:m guitar-tuning
))
422 \storePredefinedDiagram \chordmode {b:aug
}
425 \storePredefinedDiagram \chordmode {b:dim
}
428 \storePredefinedDiagram \chordmode {b:7}
430 #(offset-fret
1 (chord-shape
'bes:7 guitar-tuning
))
431 \storePredefinedDiagram \chordmode {b:maj
7}
433 #"x;2-1;4-3;3-2;4-4;x;"
434 \storePredefinedDiagram \chordmode {b:m
7}
436 #(offset-fret
1 (chord-shape
'bes:m
7 guitar-tuning
))