Fix #348.
[lilypond/mpolesky.git] / ly / predefined-guitar-ninth-fretboards.ly
blobfe3f957ea06e602df8253dad7c76456035d421fe
1 %%%% This file is part of LilyPond, the GNU music typesetter.
2 %%%%
3 %%%% Copyright (C) 2008--2010 by Jonathan Kulp
4 %%%%
5 %%%% LilyPond is free software: you can redistribute it and/or modify
6 %%%% it under the terms of the GNU General Public License as published by
7 %%%% the Free Software Foundation, either version 3 of the License, or
8 %%%% (at your option) any later version.
9 %%%%
10 %%%% LilyPond is distributed in the hope that it will be useful,
11 %%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
12 %%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 %%%% GNU General Public License for more details.
14 %%%%
15 %%%% You should have received a copy of the GNU General Public License
16 %%%% along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
18 \version "2.12.0"
20 % Add ninth chords to predefined fret diagrams for standard guitar tunings
22 \addChordShape #'c:9 #guitar-tuning #"x;3-2;2-1;3-3-(;3-3;3-3-);"
23 \addChordShape #'f:9 #guitar-tuning #"1-1-(;3-3;1-1;2-2;1-1-);3-4;"
25 \storePredefinedDiagram \chordmode {c:9}
26 #guitar-tuning
27 #(chord-shape 'c:9 guitar-tuning)
28 \storePredefinedDiagram \chordmode {cis:9}
29 #guitar-tuning
30 #(offset-fret 1 (chord-shape 'c:9 guitar-tuning))
31 \storePredefinedDiagram \chordmode {des:9}
32 #guitar-tuning
33 #(offset-fret 1 (chord-shape 'c:9 guitar-tuning))
34 \storePredefinedDiagram \chordmode {d:9}
35 #guitar-tuning
36 #(offset-fret 2 (chord-shape 'c:9 guitar-tuning))
37 \storePredefinedDiagram \chordmode {dis:9}
38 #guitar-tuning
39 #(offset-fret 3 (chord-shape 'c:9 guitar-tuning))
40 \storePredefinedDiagram \chordmode {ees:9}
41 #guitar-tuning
42 #(offset-fret 3 (chord-shape 'c:9 guitar-tuning))
43 \storePredefinedDiagram \chordmode {e:9}
44 #guitar-tuning
45 #"o;2-2;o;1-1;o;2-3;"
46 \storePredefinedDiagram \chordmode {f:9}
47 #guitar-tuning
48 #(chord-shape 'f:9 guitar-tuning)
49 \storePredefinedDiagram \chordmode {fis:9}
50 #guitar-tuning
51 #(offset-fret 1 (chord-shape 'f:9 guitar-tuning))
52 \storePredefinedDiagram \chordmode {ges:9}
53 #guitar-tuning
54 #(offset-fret 1 (chord-shape 'f:9 guitar-tuning))
55 \storePredefinedDiagram \chordmode {g:9}
56 #guitar-tuning
57 #(offset-fret 2 (chord-shape 'f:9 guitar-tuning))
58 \storePredefinedDiagram \chordmode {gis:9}
59 #guitar-tuning
60 #(offset-fret 3 (chord-shape 'f:9 guitar-tuning))
61 \storePredefinedDiagram \chordmode {aes:9}
62 #guitar-tuning
63 #(offset-fret 3 (chord-shape 'f:9 guitar-tuning))
64 \storePredefinedDiagram \chordmode {a:9}
65 #guitar-tuning
66 #(offset-fret 4 (chord-shape 'f:9 guitar-tuning))
67 \storePredefinedDiagram \chordmode {ais:9}
68 #guitar-tuning
69 #(offset-fret 5 (chord-shape 'f:9 guitar-tuning))
70 \storePredefinedDiagram \chordmode {bes:9}
71 #guitar-tuning
72 #(offset-fret 5 (chord-shape 'f:9 guitar-tuning))
73 \storePredefinedDiagram \chordmode {b:9}
74 #guitar-tuning
75 #(offset-fret -1 (chord-shape 'c:9 guitar-tuning))