]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/predefined-fretboards.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / predefined-fretboards.ly
index 379eb8f6a77fc35c65ccdabb0e5ef630d6ab2702..8bb8d496b7cf167feac87496eee866b82a6253b2 100644 (file)
@@ -1,17 +1,23 @@
+\version "2.14.0"
+
+\header {
+texidoc = "Predefined fretboards and chord shapes can be added.
+"
+}
+
 % add a chord shape
-\version "2.11.56"
 
-\addChordShape #'bes #"x;1-1-(;3-2;3-3;3-4;1-1-);"
+\addChordShape #'bes #guitar-tuning #"x;1-1-(;3-2;3-3;3-4;1-1-);"
 
 % add chords
 
-\storePredefinedDiagram \chordmode {bes}
+\storePredefinedDiagram #default-fret-table \chordmode {bes}
                         #guitar-tuning
-                        #(chord-shape 'bes)
+                        #(chord-shape 'bes guitar-tuning)
 
-\storePredefinedDiagram \chordmode {c}
+\storePredefinedDiagram #default-fret-table \chordmode {c}
                         #guitar-tuning
-                        #(offset-fret 2 (chord-shape 'bes))
+                        #(offset-fret 2 (chord-shape 'bes guitar-tuning))
 
 mychords = \chordmode {
   bes