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