]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/applying-note-head-styles-depending-on-the-step-of-the-scale.ly
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / Documentation / snippets / applying-note-head-styles-depending-on-the-step-of-the-scale.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.4"
5
6 \header {
7   lsrtags = "pitches, editorial-annotations"
8
9 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
10   doctitlees = "Aplicar estilos de cabeza según la nota de la escala"
11   texidoces = "
12 La propiedad @code{shapeNoteStyles} se puede usar para definir varios
13 estilos de cabezas de nota para cada grado de la escala (según esté
14 establecido por la armadura o por la propiedad \"tonic\").  Esta
15 propiedad requiere un conjunto de símbolos, que pueden ser puramente
16 arbitrarios (se permiten expresiones geométricas como @code{triangle},
17 triángulo, @code{cross}, aspas, y @code{xcircle}, círculo con aspas) o
18 basados en una antigua tradición americana de grabado (ciertos nombres
19 de nota latinos trambién se permiten).
20
21 Dicho esto, para imitar antiguos cancioneros americanos, existen varios
22 estilos predefinidos de cabezas de nota disponibles a través de
23 instrucciones de abreviatura como @code{\\aikenHeads} o
24 @code{\\sacredHarpHeads}.
25
26 Este ejemplo muestra distintas formas de obtener cabezas de notas con forma,
27 y muestra la capacidad de transportar una melodía sin perder la
28 correspondencia entre las funciones armónicas y los estilos de cabezas de
29 nota.
30
31 "
32
33 %% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
34   doctitlede = "Notenkopfstile basierend auf der Tonleiterstufe erstellen"
35   texidocde = "
36 Die @code{shapeNoteStyles}-(NotenFormenStile)-Eigenschaft kann benutzt
37 werden, um verschiedene Notenstile für jeden Schritt der Tonleiter
38 zu definieren (vorgegeben von der Tonart oder der @qq{tonic}
39 (Tonika)-Eigneschaft.  Diese Eigenschaft braucht eine Anzahl von Symbolen,
40 welche beliebig sein können (geometrische Ausdrücke wie @code{triangle}
41 (Dreieck), @code{cross} (Kreuz) und @code{xcircle} (X-Kreis) sind erlaubt)
42 oder basierend auf einer alten amerikanischen Notensatztradition (einige
43 lateinische Notenbezeichnungen sind auch erlaubt).
44
45 Um alte amerikanische Liederbücher zu imitieren, gibt es einige
46 vordefinierte Notenstile wie etwa @code{\\aikenHeads} (im Stil von Aiken)
47 oder @code{\\sacredHarpHeads} (im Stil der Sacred Harp-Tradition).
48
49 Dieses Beispiel zeigt, wie man unterschiedlich geformte Noten erhält und
50 eine Melodie transponieren kann, ohne dass das Verhältnis zwischen den
51 harmonischen Funktionen und dem Notenstil verloren geht.
52
53 "
54 %% Translation of GIT committish: 59968a089729d7400f8ece38d5bc98dbb3656a2b
55   texidocfr = "
56 La propriété @code{shapeNoteStyles} permet d'affecter un profil
57 particulier à chaque degré de la gamme -- à partir de l'armure ou
58 de la propriété @code{tonic}.  Ses valeurs sont constituées d'une liste 
59 de symboles, qu'il s'agisse de formes géométriques (@code{triangle},
60 @code{cross}, ou @code{xcircle}) ou basés sur la tradition des graveurs
61 américains (avec quelques noms de note latins).
62
63 LilyPond dispose de deux raccourcis, @code{\aikenHeads} et
64 @code{\sacredHarpHeads}, permettant de reproduire déanciens recueils de
65 chansons américaines. 
66
67 L'exemple suivant montre plusieurs manières de profiler les têtes de
68 note, ainsi que la capacité de trnsposer tout en respectant la fonction
69 harmonique de chaque note dans la gamme. 
70
71 "
72   doctitlefr = "Profilage des notes selon leur degré dans la gamme"
73
74
75   texidoc = "
76 The @code{shapeNoteStyles} property can be used to define various note
77 head styles for each step of the scale (as set by the key signature or
78 the @code{tonic} property). This property requires a set of symbols,
79 which can be purely arbitrary (geometrical expressions such as
80 @code{triangle}, @code{cross}, and @code{xcircle} are allowed) or based
81 on old American engraving tradition (some latin note names are also
82 allowed).
83
84 That said, to imitate old American song books, there are several
85 predefined note head styles available through shortcut commands such as
86 @code{\\aikenHeads} or @code{\\sacredHarpHeads}.
87
88 This example shows different ways to obtain shape note heads, and
89 demonstrates the ability to transpose a melody without losing the
90 correspondence between harmonic functions and note head styles.
91
92 "
93   doctitle = "Applying note head styles depending on the step of the scale"
94 } % begin verbatim
95
96 fragment = {
97   \key c \major
98   c2 d
99   e2 f
100   g2 a
101   b2 c
102 }
103
104 \new Staff {
105   \transpose c d
106   \relative c' {
107     \set shapeNoteStyles = #'#(do re mi fa
108                                #f la ti)
109     \fragment
110   }
111
112   \break
113
114   \relative c' {
115     \set shapeNoteStyles = #'#(cross triangle fa #f
116                                mensural xcircle diamond)
117     \fragment
118   }
119 }
120