X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fsnippets%2Fdefining-predefined-fretboards-for-other-instruments.ly;h=77124566c8d0ac99c217fcae3160c7c995db6017;hb=308c694ab361de67e261f5efa7b7e652dd4cf081;hp=2643cf6b2bf078e794b6d37145692c60aa29371e;hpb=162b5d842f34770c92b173878348a0afcc81f281;p=lilypond.git
diff --git a/Documentation/snippets/defining-predefined-fretboards-for-other-instruments.ly b/Documentation/snippets/defining-predefined-fretboards-for-other-instruments.ly
index 2643cf6b2b..77124566c8 100644
--- a/Documentation/snippets/defining-predefined-fretboards-for-other-instruments.ly
+++ b/Documentation/snippets/defining-predefined-fretboards-for-other-instruments.ly
@@ -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.16"
+% 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: 5a7301fc350ffc3ab5bd3a2084c91666c9e9a549
+%% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98
texidoces = "
Se pueden añadir diagramas de posiciones predefinidas para
@@ -44,17 +46,17 @@ 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.
@@ -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 = { }
dMajor = { }
@@ -94,19 +102,19 @@ aMajSeven = { }
dMajSeven = { }
gMajor = { }
-\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