]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/applying-note-head-styles-depending-on-the-step-of-the-scale.ly
Merge branch 'lilypond/translation' of ssh://trettig@git.sv.gnu.org/srv/git/lilypond...
[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.11.49"
4
5 \header {
6   lsrtags = "pitches, editorial-annotations"
7
8   doctitle = "Applying note head styles depending on the step of the scale"
9
10   texidoc = "
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
21 varios 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
26 forma, y muestra la capacidad de transportar una melodía sin perder la
27 correspondencia entre las funciones armónicas y los estilos de cabezas
28 de nota.
29
30 "
31
32
33
34   texidoc = "
35 The @code{shapeNoteStyles} property can be used to define various note
36 head styles for each step of the scale (as set by the key signature or
37 the \"tonic\" property). This property requires a set of symbols, which
38 can be purely arbitrary (geometrical expressions such as
39 @code{triangle}, @code{cross}, and @code{xcircle} are allowed) or based
40 on old American engraving tradition (some latin note names are also
41 allowed).
42
43 That said, to imitate old American song books, there are several
44 predefined note head styles available through shortcut commands such as
45 @code{\\aikenHeads} or @code{\\sacredHarpHeads}.
46
47 This example shows different ways to obtain shape note heads, and
48 demonstrates the ability to transpose a melody without losing the
49 correspondence between harmonic functions and note head styles. 
50
51 "
52   doctitle = "Applying note head styles depending on the step of the scale"
53 } % begin verbatim
54 fragment = {
55   \key c \major
56   c2 d
57   e2 f
58   g2 a
59   b2 c
60 }
61
62 \score {
63   \new Staff {
64     \transpose c d 
65     \relative c' {
66       \set shapeNoteStyles = ##(do re mi fa #f la ti)
67       \fragment
68     }
69     
70     \relative c' {
71       \set shapeNoteStyles  = ##(cross triangle fa #f mensural xcircle diamond)
72       \fragment
73     }
74   }
75 }
76