]> 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
34 %% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
35   doctitlede = "Notenkopfstile basierend auf der Tonleiterstufe erstellen"
36   texidocde = "
37 Die @code{shapeNoteStyles}-(NotenFormenStile)-Eigenschaft kann benutzt
38 werden, um verschiedene Notenstile für jeden Schritt der Tonleiter
39 zu definieren (vorgegeben von der Tonart oder der @qq{tonic}
40 (Tonika)-Eigneschaft.  Diese Eigenschaft braucht eine Anzahl von Symbolen,
41 welche beliebig sein können (geometrische Ausdrücke wie @code{triangle}
42 (Dreieck), @code{cross} (Kreuz) und @code{xcircle} (X-Kreis) sind erlaubt)
43 oder basierend auf einer alten amerikanischen Notensatztradition (einige
44 lateinische Notenbezeichnungen sind auch erlaubt).
45
46 Um alte amerikanische Liederbücher zu imitieren, gibt es einige
47 vordefinierte Notenstile wie etwa @code{\\aikenHeads} (im Stil von Aiken)
48 oder @code{\\sacredHarpHeads} (im Stil der Sacred Harp-Tradition).
49
50 Dieses Beispiel zeigt, wie man unterschiedlich geformte Noten erhält und
51 eine Melodie transponieren kann, ohne dass das Verhältnis zwischen den
52 harmonischen Funktionen und dem Notenstil verloren geht.
53
54 "
55
56   texidoc = "
57 The @code{shapeNoteStyles} property can be used to define various note
58 head styles for each step of the scale (as set by the key signature or
59 the \"tonic\" property). This property requires a set of symbols, which
60 can be purely arbitrary (geometrical expressions such as
61 @code{triangle}, @code{cross}, and @code{xcircle} are allowed) or based
62 on old American engraving tradition (some latin note names are also
63 allowed).
64
65 That said, to imitate old American song books, there are several
66 predefined note head styles available through shortcut commands such as
67 @code{\\aikenHeads} or @code{\\sacredHarpHeads}.
68
69 This example shows different ways to obtain shape note heads, and
70 demonstrates the ability to transpose a melody without losing the
71 correspondence between harmonic functions and note head styles.
72
73 "
74   doctitle = "Applying note head styles depending on the step of the scale"
75 } % begin verbatim
76
77 fragment = {
78   \key c \major
79   c2 d
80   e2 f
81   g2 a
82   b2 c
83 }
84
85 \new Staff {
86   \transpose c d
87   \relative c' {
88     \set shapeNoteStyles = #'#(do re mi fa
89                                #f la ti)
90     \fragment
91   }
92
93   \break
94
95   \relative c' {
96     \set shapeNoteStyles = #'#(cross triangle fa #f
97                                mensural xcircle diamond)
98     \fragment
99   }
100 }
101