1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
5 lsrtags = "fretted-strings"
6 texidoc = "Predefined fret diagrams can be added for new instruments
7 in addition to the standards used for guitar. This file shows how
8 this is done by defining a new string-tuning and a few predefined
9 fretboards for the Venezuelan cuatro.
11 This file also shows how fingerings can be included in the chords
12 used as reference points for the chord lookup, and displayed in
13 the fret diagram and the @code{TabStaff}, but not the music.
15 These fretboards are not transposable because they contain string
16 information. This is planned to be corrected in the future.
19 doctitle = "Defining predefined fretboards for other instruments"
22 % add FretBoards for the Cuatro
23 % Note: This section could be put into a separate file
24 % predefined-cuatro-fretboards.ly
25 % and \included into each of your compositions
27 cuatroTuning = #'(11 18 14 9)
29 dSix = { <a\4 b\1 d\3 fis\2> }
30 dMajor = { <a\4 d\1 d\3 fis \2> }
31 aMajSeven = { <a\4 cis\1 e\3 g\2> }
32 dMajSeven = { <a\4 c\1 d\3 fis\2> }
33 gMajor = { <b\4 b\1 d\3 g\2> }
35 \storePredefinedDiagram \dSix
38 \storePredefinedDiagram \dMajor
41 \storePredefinedDiagram \aMajSeven
44 \storePredefinedDiagram \dMajSeven
47 \storePredefinedDiagram \gMajor
51 % end of potential include file /predefined-cuatro-fretboards.ly
54 #(set-global-staff-size 16)
56 primerosNames = \chordmode {
61 \dSix \dMajor \aMajSeven \dMajSeven
68 \set chordChanges = ##t
74 \remove "New_fingering_engraver"
82 \set stringTunings = #cuatroTuning
83 \override FretBoard #'fret-diagram-details
85 \override FretBoard #'fret-diagram-details
86 #'finger-code = #'in-dot
90 \new TabStaff \relative c'' {
91 \set TabStaff.stringTunings = #cuatroTuning
100 \override SpacingSpanner
101 #'base-shortest-duration = #(ly:make-moment 1 16)