]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/defining-predefined-fretboards-for-other-instruments.ly
Merge branch 'lilypond/translation'
[lilypond.git] / Documentation / snippets / defining-predefined-fretboards-for-other-instruments.ly
index 64e72d0bfccd29a20956d79c048a4de3584f1ca9..a3f147e4a851c41ff7d8af100b803c1e52cb2129 100644 (file)
@@ -1,11 +1,14 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.13.1"
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.14.0
+\version "2.14.0"
 
 \header {
-  lsrtags = "fretted-strings"
-
-%% Translation of GIT committish: afbff4903c2dcf413255a42e38b1d26435509370
+%% Translation of GIT committish: 2d548a99cb9dba80f2ff035582009477cd37eceb
   texidoces = "
 
 Se pueden añadir diagramas de posiciones predefinidas para
@@ -24,25 +27,8 @@ de las cuerdas.  Hay planes para corregir esto en un futuro.
 "
   doctitlees = "Definición de posiciones predefinidas para otros instrumentos"
 
-%% Translation of GIT committish: cd4950757ab1ab6c89805b0b7c978bfca034f940
-
-  texidocfr = "
-La liste des diagrammes standards prédéfinis pour la guitare peut être
- augmentée d'autres définitions spécifiques à d'autres instruments.  
-Voici comment définir un nouvel accordage ainsi que quelques diagrammes 
-prédéfinis pour le @qq{cuatro vénézuélien}.
-
-Cet exemple illustre aussi la manière d'ajouter des doigtés aux 
-accords ; ils serviront de référence pour la boucle d'accord et seront 
-indiqués dans les diagrammes et le @code{TabStaff}, mais pas dans la musique. 
 
-Ces diagrammes ne peuvent pas être transposés, dans la mesure où ils 
-contiennent des informations sur les cordes.  Ceci est amené à évoluer.
-
-"
-  doctitlefr = "Création de diagrammes de fret prédéfinis pour d'autres instruments"
-
-%% Translation of GIT committish: 33f623301a41fcc53efadf96bca1c72834763415
+%% Translation of GIT committish: f23429bc5cfa9d141ef7b4509afc46c140308a1e
   texidocde = "
 Vordefinierte Bunddiagramme können für neue Instrumente hinzugefügt werden
 neben denen, die schon für die Gitarre definiert sind.  Dieses Schnipsel
@@ -60,6 +46,27 @@ enthalten.  Das soll in der Zukunft verbessert werden.
 "
   doctitlede = "Eigene vordefinierte Bunddiagramme für andere Instrumente erstellen"
 
+%% Translation of GIT committish: 4ab2514496ac3d88a9f3121a76f890c97cedcf4e
+
+  texidocfr = "
+La liste des diagrammes standards prédéfinis pour la guitare peut être
+augmentée d'autres définitions spécifiques à d'autres instruments.
+Voici comment définir un nouvel accordage ainsi que quelques diagrammes
+prédéfinis pour le @qq{cuatro vénézuélien}.
+
+Cet exemple illustre aussi la manière d'ajouter des doigtés aux
+accords ; ils serviront de référence pour la boucle d'accord et seront
+indiqués dans les diagrammes et le @code{TabStaff}, mais pas dans la musique.
+
+Ces diagrammes ne peuvent pas être transposés, dans la mesure où ils
+contiennent des informations sur les cordes.  Ceci est amené à évoluer.
+
+"
+  doctitlefr = "Création de diagrammes de fret prédéfinis pour d'autres instruments"
+
+
+  lsrtags = "fretted-strings"
+
   texidoc = "
 Predefined fret diagrams can be added for new instruments in addition
 to the standards used for guitar.  This file shows how this is done by
@@ -72,18 +79,22 @@ diagram and the @code{TabStaff}, but not the music.
 
 
 These fretboards are not transposable because they contain string
-information.  This is planned to be corrected in the future. 
+information.  This is planned to be corrected in the future.
 
 "
   doctitle = "Defining predefined fretboards for other instruments"
 } % begin verbatim
 
+
 % add FretBoards for the Cuatro
 %   Note: This section could be put into a separate file
 %      predefined-cuatro-fretboards.ly
 %      and \included into each of your compositions
 
-cuatroTuning = #'(11 18 14 9)
+cuatroTuning = #`(,(ly:make-pitch 0 6 0)
+                  ,(ly:make-pitch 1 3 SHARP)
+                 ,(ly:make-pitch 1 1 0)
+                 ,(ly:make-pitch 0 5 0))
 
 dSix = { <a\4 b\1 d\3 fis\2> }
 dMajor = { <a\4 d\1 d\3 fis \2> }
@@ -91,19 +102,19 @@ aMajSeven = { <a\4 cis\1 e\3 g\2> }
 dMajSeven = { <a\4 c\1 d\3 fis\2> }
 gMajor = { <b\4 b\1 d\3 g\2> }
 
-\storePredefinedDiagram \dSix
+\storePredefinedDiagram #default-fret-table \dSix
                         #cuatroTuning
                         #"o;o;o;o;"
-\storePredefinedDiagram \dMajor
+\storePredefinedDiagram #default-fret-table \dMajor
                         #cuatroTuning
                         #"o;o;o;3-3;"
-\storePredefinedDiagram \aMajSeven
+\storePredefinedDiagram #default-fret-table \aMajSeven
                         #cuatroTuning
                         #"o;2-2;1-1;2-3;"
-\storePredefinedDiagram \dMajSeven
+\storePredefinedDiagram #default-fret-table \dMajSeven
                         #cuatroTuning
                         #"o;o;o;1-1;"
-\storePredefinedDiagram \gMajor
+\storePredefinedDiagram #default-fret-table \gMajor
                         #cuatroTuning
                         #"2-2;o;1-1;o;"
 
@@ -113,7 +124,7 @@ gMajor = { <b\4 b\1 d\3 g\2> }
 #(set-global-staff-size 16)
 
 primerosNames = \chordmode {
-  d:6 d a:maj7 d:maj7 
+  d:6 d a:maj7 d:maj7
   g
 }
 primeros = {
@@ -131,7 +142,7 @@ primeros = {
     \new Staff {
       \new Voice \with {
         \remove "New_fingering_engraver"
-      } 
+      }
       \relative c'' {
         \primeros
       }
@@ -139,8 +150,8 @@ primeros = {
 
     \new FretBoards {
       \set stringTunings = #cuatroTuning
-      \override FretBoard
-        #'(fret-diagram-details string-count) = #'4
+%      \override FretBoard
+%        #'(fret-diagram-details string-count) = #'4
       \override FretBoard
         #'(fret-diagram-details finger-code) = #'in-dot
       \primeros
@@ -150,10 +161,10 @@ primeros = {
       \set TabStaff.stringTunings = #cuatroTuning
       \primeros
     }
-    
+
   >>
 
-  \layout { 
+  \layout {
     \context {
       \Score
       \override SpacingSpanner