]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/non-traditional-key-signatures.ly
Merge master into nested-bookparts
[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.62"
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 Alternativamente, para cada elemento de la lista el uso del formato
25 más conciso @code{(paso . alteración)} especifica que la misma
26 alteración debe estar en todas las octavas.
27
28 He aquí un ejemplo de una posible armadura para generar una escala
29 exátona:
30
31 "
32
33   texidoc = "
34 The commonly used @code{\\key} command sets the @code{keySignature}
35 property, in the @code{Staff} context.
36
37 To create non-standard key signatures, set this property directly. The
38 format of this command is a list:
39
40 @code{ \\set Staff.keySignature = #`(((octave . step) . alter) ((octave
41 . step) . alter) ...) } where, for each element in the list,
42 @code{octave} specifies the octave (0 being the octave from middle C to
43 the B above), @code{step} specifies the note within the octave (0 means
44 C and 6 means B), and @code{alter} is @code{,SHARP ,FLAT ,DOUBLE-SHARP}
45 etc. (Note the leading comma.)
46
47
48 Alternatively, for each item in the list, using the more concise format
49 @code{(step . alter)} specifies that the same alteration should hold in
50 all octaves.
51
52
53 Here is an example of a possible key signature for generating a
54 whole-tone scale: 
55
56 "
57   doctitle = "Non-traditional key signatures"
58 } % begin verbatim
59 \relative c' {
60   \set Staff.keySignature = #`(((0 .  3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))
61   c4 d e fis
62   aes4 bes c2
63 }
64