]> 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 9029b0f398f2b0ba57f7468798361f744fbe6f9e..a3f147e4a851c41ff7d8af100b803c1e52cb2129 100644 (file)
@@ -1,12 +1,14 @@
-%% Do not edit this file; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.13.31"
+% 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: 0b55335aeca1de539bf1125b717e0c21bb6fa31b
+%% Translation of GIT committish: 2d548a99cb9dba80f2ff035582009477cd37eceb
   texidoces = "
 
 Se pueden añadir diagramas de posiciones predefinidas para
@@ -63,6 +65,8 @@ 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
@@ -81,12 +85,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> }
@@ -94,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;"
 
@@ -142,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