X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fnew%2Fdefining-predefined-fretboards-for-other-instruments.ly;fp=Documentation%2Fsnippets%2Fnew%2Fdefining-predefined-fretboards-for-other-instruments.ly;h=0000000000000000000000000000000000000000;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=11a3914d57b80788476ba67a0b3f5ba49a218a71;hpb=f41973ff763d5972a85995b6d40c864281ec6714;p=lilypond.git diff --git a/Documentation/snippets/new/defining-predefined-fretboards-for-other-instruments.ly b/Documentation/snippets/new/defining-predefined-fretboards-for-other-instruments.ly deleted file mode 100644 index 11a3914d57..0000000000 --- a/Documentation/snippets/new/defining-predefined-fretboards-for-other-instruments.ly +++ /dev/null @@ -1,167 +0,0 @@ -\version "2.14.0" - -\header { - lsrtags = "fretted-strings" - -%% Translation of GIT committish: cde045f4e833aa491fb63f2222e14bef49507577 - texidoces = " - -Se pueden añadir diagramas de posiciones predefinidas para -instrumentos nuevos además de los estándar que se usan para la -guitarra. Este archivo muestra cómo se hace, definiendo una afinación -nueva y unas cuantas posiciones para el cuatro venezolano. - -Este archivo también muestra cómo se pueden incluir las digitaciones -en los acordes que se usan como puntos de referencia para la búsqueda -de acordes en la tabla, y mostrarse en el diagrama de posiciones y la -tablatura @code{TabStaff}, pero no en la música. - -Estas posiciones no se pueden transportar porque contienen información -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 -neben denen, die schon für die Gitarre definiert sind. Dieses Schnipsel -zeigt, wie man eine neue Saitenstimmung definiert und dann eigene vordefinierte -Bunddiagramme bestimmt. Das Beispiel ist für das venezualische Cuatro. - -Dieses Schnipsel zeigt auch, wie Fingersatz in die Akkorde eingebunden -werden kann, um als Referenzpunkt für die Akkordauswahl benutzt werden -kann. Dieser Fingersatz wird im Bunddiagramm und in der Tabulatur, -aber nicht in den Noten angezeigt. - -Diese Bunddiagramme sind nicht transponierbar, weil sie Saiteninformationen -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" - - - 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 -defining a new string-tuning and a few predefined fretboards for the -Venezuelan cuatro. - -This file also shows how fingerings can be included in the chords used -as reference points for the chord lookup, and displayed in the fret -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. - -" - doctitle = "Defining predefined fretboards for other instruments" -} - -% 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 = #`(,(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 = { } -aMajSeven = { } -dMajSeven = { } -gMajor = { } - -\storePredefinedDiagram #default-fret-table \dSix - #cuatroTuning - #"o;o;o;o;" -\storePredefinedDiagram #default-fret-table \dMajor - #cuatroTuning - #"o;o;o;3-3;" -\storePredefinedDiagram #default-fret-table \aMajSeven - #cuatroTuning - #"o;2-2;1-1;2-3;" -\storePredefinedDiagram #default-fret-table \dMajSeven - #cuatroTuning - #"o;o;o;1-1;" -\storePredefinedDiagram #default-fret-table \gMajor - #cuatroTuning - #"2-2;o;1-1;o;" - -% end of potential include file /predefined-cuatro-fretboards.ly - - -#(set-global-staff-size 16) - -primerosNames = \chordmode { - d:6 d a:maj7 d:maj7 - g -} -primeros = { - \dSix \dMajor \aMajSeven \dMajSeven - \gMajor -} - -\score { - << - \new ChordNames { - \set chordChanges = ##t - \primerosNames - } - - \new Staff { - \new Voice \with { - \remove "New_fingering_engraver" - } - \relative c'' { - \primeros - } - } - - \new FretBoards { - \set stringTunings = #cuatroTuning -% \override FretBoard -% #'(fret-diagram-details string-count) = #'4 - \override FretBoard - #'(fret-diagram-details finger-code) = #'in-dot - \primeros - } - - \new TabStaff \relative c'' { - \set TabStaff.stringTunings = #cuatroTuning - \primeros - } - - >> - - \layout { - \context { - \Score - \override SpacingSpanner - #'base-shortest-duration = #(ly:make-moment 1 16) - } - } - \midi { } -}