]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/defining-predefined-fretboards-for-other-instruments.ly
Doc-es: pre-merge update of texidoc committishes.
[lilypond.git] / input / lsr / defining-predefined-fretboards-for-other-instruments.ly
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 %% Note: this file works from version 2.12.0
4 \version "2.12.0"
5 \header {
6 %% Translation of GIT committish: 740b9a6c16eb30a84b216d23aeb848aa1b632be6
7   texidoces = "
8
9 Se pueden añadir diagramas de posiciones predefinidas para
10 instrumentos nuevos además de los estándar que se usan para la
11 guitarra.  Este archivo muestra cómo se hace, definiendo una afinación
12 nueva y unas cuantas posiciones para el cuatro venezolano.
13
14 Este archivo también muestra cómo se pueden incluir las digitaciones
15 en los acordes que se usan como puntos de referencia para la búsqueda
16 de acordes en la tabla, y mostrarse en el diagrama de posiciones y la
17 tablatura @code{TabStaff}, pero no en la música.
18
19 Estas posiciones no se pueden transportar porque contienen información
20 de las cuerdas.  Hay planes para corregir esto en un futuro.
21
22 "
23   doctitlees = "Definición de posiciones predefinidas para otros instrumentos"
24
25 %% Translation of GIT committish: cd4950757ab1ab6c89805b0b7c978bfca034f940
26
27   texidocfr = "
28 La liste des diagrammes standards prédéfinis pour la guitare peut être
29  augmentée d'autres définitions spécifiques à d'autres instruments.  
30 Voici comment définir un nouvel accordage ainsi que quelques diagrammes 
31 prédéfinis pour le @qq{cuatro vénézuélien}.
32
33 Cet exemple illustre aussi la manière d'ajouter des doigtés aux 
34 accords ; ils serviront de référence pour la boucle d'accord et seront 
35 indiqués dans les diagrammes et le @code{TabStaff}, mais pas dans la musique. 
36
37 Ces diagrammes ne peuvent pas être transposés, dans la mesure où ils 
38 contiennent des informations sur les cordes.  Ceci est amené à évoluer.
39
40 "
41   doctitlefr = "Création de diagrammes de fret prédéfinis pour d'autres instruments"
42
43 %% Translation of GIT committish: 33f623301a41fcc53efadf96bca1c72834763415
44   texidocde = "
45 Vordefinierte Bunddiagramme können für neue Instrumente hinzugefügt werden
46 neben denen, die schon für die Gitarre definiert sind.  Dieses Schnipsel
47 zeigt, wie man eine neue Saitenstimmung definiert und dann eigene vordefinierte
48 Bunddiagramme bestimmt.  Das Beispiel ist für das venezualische Cuatro.
49
50 Dieses Schnipsel zeigt auch, wie Fingersatz in die Akkorde eingebunden
51 werden kann, um als Referenzpunkt für die Akkordauswahl benutzt werden
52 kann.  Dieser Fingersatz wird im Bunddiagramm und in der Tabulatur,
53 aber nicht in den Noten angezeigt.
54
55 Diese Bunddiagramme sind nicht transponierbar, weil sie Saiteninformationen
56 enthalten.  Das soll in der Zukunft verbessert werden.
57
58 "
59   doctitlede = "Eigene vordefinierte Bunddiagramme für andere Instrumente erstellen"
60
61   lsrtags = "fretted-strings"
62   texidoc = "Predefined fret diagrams can be added for new instruments
63 in addition to the standards used for guitar.  This file shows how
64 this is done by defining a new string-tuning and a few predefined
65 fretboards for the Venezuelan cuatro.
66
67 This file also shows how fingerings can be included in the chords
68 used as reference points for the chord lookup, and displayed in 
69 the fret diagram and the @code{TabStaff}, but not the music.
70
71 These fretboards are not transposable because they contain string
72 information.  This is planned to be corrected in the future.
73
74 "
75   doctitle = "Defining predefined fretboards for other instruments"
76 } % begin verbatim
77
78 % add FretBoards for the Cuatro
79 %   Note: This section could be put into a separate file
80 %      predefined-cuatro-fretboards.ly
81 %      and \included into each of your compositions
82
83 cuatroTuning = #'(11 18 14 9)
84
85 dSix = { <a\4 b\1 d\3 fis\2> }
86 dMajor = { <a\4 d\1 d\3 fis \2> }
87 aMajSeven = { <a\4 cis\1 e\3 g\2> }
88 dMajSeven = { <a\4 c\1 d\3 fis\2> }
89 gMajor = { <b\4 b\1 d\3 g\2> }
90
91 \storePredefinedDiagram \dSix
92                         #cuatroTuning
93                         #"o;o;o;o;"
94 \storePredefinedDiagram \dMajor
95                         #cuatroTuning
96                         #"o;o;o;3-3;"
97 \storePredefinedDiagram \aMajSeven
98                         #cuatroTuning
99                         #"o;2-2;1-1;2-3;"
100 \storePredefinedDiagram \dMajSeven
101                         #cuatroTuning
102                         #"o;o;o;1-1;"
103 \storePredefinedDiagram \gMajor
104                         #cuatroTuning
105                         #"2-2;o;1-1;o;"
106
107 % end of potential include file /predefined-cuatro-fretboards.ly
108
109
110 #(set-global-staff-size 16)
111
112 primerosNames = \chordmode {
113   d:6 d a:maj7 d:maj7 
114   g
115 }
116 primeros = {
117   \dSix \dMajor \aMajSeven \dMajSeven
118   \gMajor
119 }
120
121 \score {
122   <<
123     \new ChordNames {
124       \set chordChanges = ##t
125       \primerosNames
126     }
127
128     \new Staff {
129       \new Voice \with {
130         \remove "New_fingering_engraver"
131       } 
132       \relative c'' {
133         \primeros
134       }
135     }
136
137     \new FretBoards {
138       \set stringTunings = #cuatroTuning
139       \override FretBoard
140         #'(fret-diagram-details string-count) = #'4
141       \override FretBoard
142         #'(fret-diagram-details finger-code) = #'in-dot
143       \primeros
144     }
145
146     \new TabStaff \relative c'' {
147       \set TabStaff.stringTunings = #cuatroTuning
148       \primeros
149     }
150     
151   >>
152
153   \layout { 
154     \context {
155       \Score
156       \override SpacingSpanner
157         #'base-shortest-duration = #(ly:make-moment 1 16)
158     }
159   }
160   \midi { }
161 }