From 71a34a76f0225d8875a9cad59f6e033f5fe65895 Mon Sep 17 00:00:00 2001 From: Carl Sorensen Date: Sat, 1 Nov 2008 13:46:52 -0600 Subject: [PATCH] Add predefined fret diagrams for ninth chords These chords are added in a separate file so the manual can continue to demonstrate that automatic fretboards are calculated if no predefined diagram exists --- Documentation/user/fretted-strings.itely | 3 +- ly/predefined-guitar-ninth-fretboards.ly | 64 ++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 ly/predefined-guitar-ninth-fretboards.ly diff --git a/Documentation/user/fretted-strings.itely b/Documentation/user/fretted-strings.itely index 9802858c50..0a7e7ef27b 100644 --- a/Documentation/user/fretted-strings.itely +++ b/Documentation/user/fretted-strings.itely @@ -949,7 +949,8 @@ Notation Reference: @ref{Predefined fretboard diagrams}. Installed Files: -@file{ly/predefined-guitar-fretboards.ly}. +@file{ly/predefined-guitar-fretboards.ly}, +@file{ly/predefined-guitar-ninth-fretboards.ly}. Snippets: @rlsr{Fretted strings}. diff --git a/ly/predefined-guitar-ninth-fretboards.ly b/ly/predefined-guitar-ninth-fretboards.ly new file mode 100644 index 0000000000..4858df0a27 --- /dev/null +++ b/ly/predefined-guitar-ninth-fretboards.ly @@ -0,0 +1,64 @@ +\version "2.11.61" +% +% Add ninth chords to to predefined fret diagrams for standard guitar tunings +% +% This is part of the Lilypond distribution files +% +% Copyright 2008 by Jonathan Kulp +% + + +\addChordShape #'c:9 #"x;3-2;2-1;3-3-(;3-3;3-3-);" +\addChordShape #'f:9 #"1-1-(;3-3;1-1;2-2;1-1-);3-4;" + +\storePredefinedDiagram \chordmode {c:9} + #guitar-tuning + #(chord-shape 'c:9) +\storePredefinedDiagram \chordmode {cis:9} + #guitar-tuning + #(offset-fret 1 (chord-shape 'c:9)) +\storePredefinedDiagram \chordmode {des:9} + #guitar-tuning + #(offset-fret 1 (chord-shape 'c:9)) +\storePredefinedDiagram \chordmode {d:9} + #guitar-tuning + #(offset-fret 2 (chord-shape 'c:9)) +\storePredefinedDiagram \chordmode {dis:9} + #guitar-tuning + #(offset-fret 3 (chord-shape 'c:9)) +\storePredefinedDiagram \chordmode {ees:9} + #guitar-tuning + #(offset-fret 3 (chord-shape 'c:9)) +\storePredefinedDiagram \chordmode {e:9} + #guitar-tuning + #"o;2-2;o;1-1;o;2-3;" +\storePredefinedDiagram \chordmode {f:9} + #guitar-tuning + #(chord-shape 'f:9) +\storePredefinedDiagram \chordmode {fis:9} + #guitar-tuning + #(offset-fret 1 (chord-shape 'f:9)) +\storePredefinedDiagram \chordmode {ges:9} + #guitar-tuning + #(offset-fret 1 (chord-shape 'f:9)) +\storePredefinedDiagram \chordmode {g:9} + #guitar-tuning + #(offset-fret 2 (chord-shape 'f:9)) +\storePredefinedDiagram \chordmode {gis:9} + #guitar-tuning + #(offset-fret 3 (chord-shape 'f:9)) +\storePredefinedDiagram \chordmode {aes:9} + #guitar-tuning + #(offset-fret 3 (chord-shape 'f:9)) +\storePredefinedDiagram \chordmode {a:9} + #guitar-tuning + #(offset-fret 4 (chord-shape 'f:9)) +\storePredefinedDiagram \chordmode {ais:9} + #guitar-tuning + #(offset-fret 5 (chord-shape 'f:9)) +\storePredefinedDiagram \chordmode {bes:9} + #guitar-tuning + #(offset-fret 5 (chord-shape 'f:9)) +\storePredefinedDiagram \chordmode {b:9} + #guitar-tuning + #(offset-fret -1 (chord-shape 'c:9)) -- 2.39.2