X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fapplying-note-head-styles-depending-on-the-step-of-the-scale.ly;fp=Documentation%2Fsnippets%2Fapplying-note-head-styles-depending-on-the-step-of-the-scale.ly;h=bdc7c542191991f8c6148f55f72315197103aaf0;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/Documentation/snippets/applying-note-head-styles-depending-on-the-step-of-the-scale.ly b/Documentation/snippets/applying-note-head-styles-depending-on-the-step-of-the-scale.ly new file mode 100644 index 0000000000..bdc7c54219 --- /dev/null +++ b/Documentation/snippets/applying-note-head-styles-depending-on-the-step-of-the-scale.ly @@ -0,0 +1,125 @@ +%% 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.14.0" + +\header { + lsrtags = "pitches, editorial-annotations" + +%% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c + doctitlees = "Aplicar estilos de cabeza según la nota de la escala" + texidoces = " +La propiedad @code{shapeNoteStyles} se puede usar para definir varios +estilos de cabezas de nota para cada grado de la escala (según esté +establecido por la armadura o por la propiedad @code{tonic}). Esta +propiedad requiere un conjunto de símbolos, que pueden ser puramente +arbitrarios (se permiten expresiones geométricas como @code{triangle}, +triángulo, @code{cross}, aspas, y @code{xcircle}, círculo con aspas) o +basados en una antigua tradición americana de grabado (ciertos nombres +de nota latinos trambién se permiten). + +Dicho esto, para imitar antiguos cancioneros americanos, existen varios +estilos predefinidos de cabezas de nota disponibles a través de +instrucciones de abreviatura como @code{\\aikenHeads} o +@code{\\sacredHarpHeads}. + +Este ejemplo muestra distintas formas de obtener cabezas de notas con forma, +y muestra la capacidad de transportar una melodía sin perder la +correspondencia entre las funciones armónicas y los estilos de cabezas de +nota. + +" + + +%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40 + doctitlede = "Notenkopfstile basierend auf der Tonleiterstufe erstellen" + texidocde = " +Die @code{shapeNoteStyles}-(NotenFormenStile)-Eigenschaft kann benutzt +werden, um verschiedene Notenstile für jeden Schritt der Tonleiter +zu definieren (vorgegeben von der Tonart oder der @qq{tonic} +(Tonika)-Eigenschaft. Diese Eigenschaft braucht eine Anzahl von Symbolen, +welche beliebig sein können (geometrische Ausdrücke wie @code{triangle} +(Dreieck), @code{cross} (Kreuz) und @code{xcircle} (X-Kreis) sind erlaubt) +oder basierend auf einer alten amerikanischen Notensatztradition (einige +lateinische Notenbezeichnungen sind auch erlaubt). + +Um alte amerikanische Liederbücher zu imitieren, gibt es einige +vordefinierte Notenstile wie etwa @code{\\aikenHeads} (im Stil von Aiken) +oder @code{\\sacredHarpHeads} (im Stil der Sacred Harp-Tradition). + +Dieses Beispiel zeigt, wie man unterschiedlich geformte Noten erhält und +eine Melodie transponieren kann, ohne dass das Verhältnis zwischen den +harmonischen Funktionen und dem Notenstil verloren geht. + +" + +%% Translation of GIT committish: 4ab2514496ac3d88a9f3121a76f890c97cedcf4e + texidocfr = " +La propriété @code{shapeNoteStyles} permet d'affecter un profil +particulier à chaque degré de la gamme -- à partir de l'armure ou +de la propriété @code{tonic}. Ses valeurs sont constituées d'une liste +de symboles, qu'il s'agisse de formes géométriques (@code{triangle}, +@code{cross}, ou @code{xcircle}) ou basés sur la tradition des graveurs +américains (avec quelques noms de note latins). + +LilyPond dispose de deux raccourcis, @code{\\aikenHeads} et +@code{\\sacredHarpHeads}, permettant de reproduire déanciens recueils de +chansons américaines. + +L'exemple suivant montre plusieurs manières de profiler les têtes de +note, ainsi que la capacité de trnsposer tout en respectant la fonction +harmonique de chaque note dans la gamme. + +" + doctitlefr = "Profilage des notes selon leur degré dans la gamme" + + + texidoc = " +The @code{shapeNoteStyles} property can be used to define various note +head styles for each step of the scale (as set by the key signature or +the @code{tonic} property). This property requires a set of symbols, +which can be purely arbitrary (geometrical expressions such as +@code{triangle}, @code{cross}, and @code{xcircle} are allowed) or based +on old American engraving tradition (some latin note names are also +allowed). + +That said, to imitate old American song books, there are several +predefined note head styles available through shortcut commands such as +@code{\\aikenHeads} or @code{\\sacredHarpHeads}. + +This example shows different ways to obtain shape note heads, and +demonstrates the ability to transpose a melody without losing the +correspondence between harmonic functions and note head styles. + +" + doctitle = "Applying note head styles depending on the step of the scale" +} % begin verbatim + +fragment = { + \key c \major + c2 d + e2 f + g2 a + b2 c +} + +\new Staff { + \transpose c d + \relative c' { + \set shapeNoteStyles = #'#(do re mi fa + #f la ti) + \fragment + } + + \break + + \relative c' { + \set shapeNoteStyles = #'#(cross triangle fa #f + mensural xcircle diamond) + \fragment + } +} +