]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/non-traditional-key-signatures.ly
Merge branch 'master' into dev/texi2html
[lilypond.git] / input / lsr / non-traditional-key-signatures.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.51"
4
5 \header {
6   lsrtags = "pitches, staff-notation"
7
8 doctitlees = "Armaduras de tonalidad no tradicionales"
9 texidoces = "
10 La muy utilizada instrucción @code{\key} establece la propiedad
11 @code{keySignature} property, dentro del contexto @code{Staff}.
12
13 Para crear armaduras de tonalidad no estándar, ajuste esta propiedad
14 directamente. El formato de esta instrucción es una lista:
15
16 @code{ \set Staff.keySignature = #`(((octava . paso) . alteración)
17 ((octava . paso) . alteración) ...) } donde, para cada elemento dentro
18 de la lista, @code{octava} especifica la octava (siendo cero la octava
19 desde el Do central hasta el Si por encima), @code{paso} especifica la
20 nota dentro de la octava (cero significa Do y 6 significa Si), y
21 @code{alteración} es @code{,SHARP ,FLAT ,DOUBLE-SHARP} etc. (observe
22 la coma precedente.)
23
24
25 Alternativamente, para cada elemento de la lista el uso del formato
26 más conciso @code{(paso . alteración)} especifica que la misma
27 alteración debe estar en todas las octavas.
28
29
30 He aquí un ejemplo de una posible armadura para generar una escala
31 exátona:
32 "
33
34   texidoc = "
35 The commonly used @code{\\key} command sets the @code{keySignature}
36 property, in the @code{Staff} context.
37
38 To create non-standard key signatures, set this property directly. The
39 format of this command is a list:
40
41 @code{ \\set Staff.keySignature = #`(((octave . step) . alter) ((octave
42 . step) . alter) ...) } where, for each element in the list,
43 @code{octave} specifies the octave (0 being the octave from middle C to
44 the B above), @code{step} specifies the note within the octave (0 means
45 C and 6 means B), and @code{alter} is @code{,SHARP ,FLAT ,DOUBLE-SHARP}
46 etc. (Note the leading comma.)
47
48
49 Alternatively, for each item in the list, using the more concise format
50 @code{(step . alter)} specifies that the same alteration should hold in
51 all octaves.
52
53
54 Here is an example of a possible key signature for generating a
55 whole-tone scale: 
56
57 "
58   doctitle = "Non-traditional key signatures"
59 } % begin verbatim
60 \relative c' {
61   \set Staff.keySignature = #`(((0 .  3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))
62   c4 d e fis
63   aes4 bes c2
64 }
65