]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/defining-predefined-fretboards-for-other-instruments.ly
use trap to remove tmp directory on failure to avoid hiding mpost
[lilypond.git] / Documentation / snippets / defining-predefined-fretboards-for-other-instruments.ly
index f53dc1846dbb3d168821f2bea5e2fb463ec8450d..8f0acd4777d902e831a1a7652b9d853704303f44 100644 (file)
@@ -1,12 +1,15 @@
-%% Do not edit this file; it is automatically
+%% DO NOT EDIT this file manually; it is automatically
 %% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
 %% This file is in the public domain.
-\version "2.13.16"
+\version "2.14.2"
 
 \header {
   lsrtags = "fretted-strings"
 
-%% Translation of GIT committish: 1d589aa04c20d7711bf662618adbdd6d445db29d
+%% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
   texidoces = "
 
 Se pueden añadir diagramas de posiciones predefinidas para
@@ -25,6 +28,7 @@ de las cuerdas.  Hay planes para corregir esto en un futuro.
 "
   doctitlees = "Definición de posiciones predefinidas para otros instrumentos"
 
+
 %% Translation of GIT committish: f23429bc5cfa9d141ef7b4509afc46c140308a1e
   texidocde = "
 Vordefinierte Bunddiagramme können für neue Instrumente hinzugefügt werden
@@ -42,17 +46,18 @@ enthalten.  Das soll in der Zukunft verbessert werden.
 
 "
   doctitlede = "Eigene vordefinierte Bunddiagramme für andere Instrumente erstellen"
-%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
 
+%% Translation of GIT committish: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
   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.
+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.
+accords@tie{}; 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.
@@ -79,12 +84,16 @@ 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> }
@@ -92,19 +101,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;"
 
@@ -140,8 +149,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