]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/applying-note-head-styles-depending-on-the-step-of-the-scale.ly
lilypond-book robustness: ensure EOL at the end of @verbatim
[lilypond.git] / input / lsr / applying-note-head-styles-depending-on-the-step-of-the-scale.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.13.1"
4
5 \header {
6   lsrtags = "pitches, editorial-annotations"
7
8 %% Translation of GIT committish: 48f804da6794a7bc8e7fdd4b1649f485b0b09d26
9   doctitlees = "Aplicar estilos de cabeza según la nota de la escala"
10   texidoces = "
11 La propiedad @code{shapeNoteStyles} se puede usar para definir varios
12 estilos de cabezas de nota para cada grado de la escala (según esté
13 establecido por la armadura o por la propiedad \"tonic\").  Esta
14 propiedad requiere un conjunto de símbolos, que pueden ser puramente
15 arbitrarios (se permiten expresiones geométricas como @code{triangle},
16 triángulo, @code{cross}, aspas, y @code{xcircle}, círculo con aspas) o
17 basados en una antigua tradición americana de grabado (ciertos nombres
18 de nota latinos trambién se permiten).
19
20 Dicho esto, para imitar antiguos cancioneros americanos, existen varios
21 estilos predefinidos de cabezas de nota disponibles a través de
22 instrucciones de abreviatura como @code{\\aikenHeads} o
23 @code{\\sacredHarpHeads}.
24
25 Este ejemplo muestra distintas formas de obtener cabezas de notas con forma,
26 y muestra la capacidad de transportar una melodía sin perder la
27 correspondencia entre las funciones armónicas y los estilos de cabezas de
28 nota.
29
30 "
31
32 %% Translation of GIT committish: e75f1604a1b866c853dee42dbffcb7800c706a5f
33   doctitlede = "Notenkopfstile besierend auf der Tonleiterstufe erstellen"
34   texidocde = "
35 Die @code{shapeNoteStyles}-(NotenFormenStile)-Eigenschaft kann benutzt
36 werden, um verschiedene Notenstile für jeden Schritt der Tonleiter
37 zudefinieren (vorgegeben von der Tonart oder der @q{tonic}
38 (Tonika)-Eigneschaft.  Diese Eigenschaft braucht eine Anzahl von Symbolen,
39 welche beliebig sein können (geometrische Ausdrücke wie @code{triangle}
40 (Dreieck), @code{cross} (Kreuz) und @code{xcircle} (X-Kreis) sind erlaubt)
41 oder basierend auf einer alten amerikanischen Notensatztradition (einige
42 lateinische Notenbezeichnungen sind auch erlaubt).
43
44 Um alte amerikanische Liederbücher zu imitieren, gibt es einige
45 vordefinierte Notenstile wie etwa @code{\\aikenHeads} (im Stil von Aiken)
46 oder @code{\\sacredHarpHeads} (im Stil der Sacred Harp-Tradition).
47
48 Dieses Beispiel zeigt, wie man unterschiedlich geformte Noten erhält und
49 eine Melodie transponieren kann, ohne dass das Verhältnis zwischen den
50 harmonischen Funktionen und dem Notenstil verloren geht.
51
52 "
53
54   texidoc = "
55 The @code{shapeNoteStyles} property can be used to define various note
56 head styles for each step of the scale (as set by the key signature or
57 the \"tonic\" property). This property requires a set of symbols, which
58 can be purely arbitrary (geometrical expressions such as
59 @code{triangle}, @code{cross}, and @code{xcircle} are allowed) or based
60 on old American engraving tradition (some latin note names are also
61 allowed).
62
63 That said, to imitate old American song books, there are several
64 predefined note head styles available through shortcut commands such as
65 @code{\\aikenHeads} or @code{\\sacredHarpHeads}.
66
67 This example shows different ways to obtain shape note heads, and
68 demonstrates the ability to transpose a melody without losing the
69 correspondence between harmonic functions and note head styles. 
70
71 "
72   doctitle = "Applying note head styles depending on the step of the scale"
73 } % begin verbatim
74
75 fragment = {
76   \key c \major
77   c2 d
78   e2 f
79   g2 a
80   b2 c
81 }
82
83 \score {
84   \new Staff {
85     \transpose c d 
86     \relative c' {
87       \set shapeNoteStyles = #'#(do re mi fa
88                                  #f la ti)
89       \fragment
90     }
91
92     \break
93
94     \relative c' {
95       \set shapeNoteStyles = #'#(cross triangle fa #f
96                                  mensural xcircle diamond)
97       \fragment
98     }
99   }
100   \layout { ragged-right = ##t }
101 }
102