]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/applying-note-head-styles-depending-on-the-step-of-the-scale.ly
Change stringTunings from list of semitones to list of pitches
[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.39"
5
6 \header {
7   lsrtags = "pitches, editorial-annotations"
8
9 %% Translation of GIT committish: a874fda3641c9e02f61be5c41b215b8304b8ed00
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 @code{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: 0a868be38a775ecb1ef935b079000cebbc64de40
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)-Eigenschaft.  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 %% Translation of GIT committish: 4ab2514496ac3d88a9f3121a76f890c97cedcf4e
57   texidocfr = "
58 La propriété @code{shapeNoteStyles} permet d'affecter un profil
59 particulier à chaque degré de la gamme -- à partir de l'armure ou
60 de la propriété @code{tonic}.  Ses valeurs sont constituées d'une liste
61 de symboles, qu'il s'agisse de formes géométriques (@code{triangle},
62 @code{cross}, ou @code{xcircle}) ou basés sur la tradition des graveurs
63 américains (avec quelques noms de note latins).
64
65 LilyPond dispose de deux raccourcis, @code{\\aikenHeads} et
66 @code{\\sacredHarpHeads}, permettant de reproduire déanciens recueils de
67 chansons américaines.
68
69 L'exemple suivant montre plusieurs manières de profiler les têtes de
70 note, ainsi que la capacité de trnsposer tout en respectant la fonction
71 harmonique de chaque note dans la gamme.
72
73 "
74   doctitlefr = "Profilage des notes selon leur degré dans la gamme"
75
76
77   texidoc = "
78 The @code{shapeNoteStyles} property can be used to define various note
79 head styles for each step of the scale (as set by the key signature or
80 the @code{tonic} property). This property requires a set of symbols,
81 which can be purely arbitrary (geometrical expressions such as
82 @code{triangle}, @code{cross}, and @code{xcircle} are allowed) or based
83 on old American engraving tradition (some latin note names are also
84 allowed).
85
86 That said, to imitate old American song books, there are several
87 predefined note head styles available through shortcut commands such as
88 @code{\\aikenHeads} or @code{\\sacredHarpHeads}.
89
90 This example shows different ways to obtain shape note heads, and
91 demonstrates the ability to transpose a melody without losing the
92 correspondence between harmonic functions and note head styles.
93
94 "
95   doctitle = "Applying note head styles depending on the step of the scale"
96 } % begin verbatim
97
98 fragment = {
99   \key c \major
100   c2 d
101   e2 f
102   g2 a
103   b2 c
104 }
105
106 \new Staff {
107   \transpose c d
108   \relative c' {
109     \set shapeNoteStyles = #'#(do re mi fa
110                                #f la ti)
111     \fragment
112   }
113
114   \break
115
116   \relative c' {
117     \set shapeNoteStyles = #'#(cross triangle fa #f
118                                mensural xcircle diamond)
119     \fragment
120   }
121 }
122