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