]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/non-traditional-key-signatures.ly
Merge branch 'master' of git://git.sv.gnu.org/lilypond.git
[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 doctitlede = "Untypische Tonarten"
34
35 texidocde = "
36 Der üblicherweise benutzte @code{\\key}-Befehl setzt die
37 @code{keySignature}-Eigenschaft im @code{Staff}-Kontext.
38
39 Um untypische Tonartenvorzeichen zu erstellen, muss man diese Eigenschaft
40 direkt setzen.  Das Format für den Befehl ist eine Liste:
41
42 @code{ \\set Staff.keySignature = #`(((Oktave . Schritt) . Alteration) ((Oktave
43 . Schritt) . Alteration) ...) } wobei für jedes Element in der Liste
44 @code{Oktave} die Oktave angibt (0 ist die Oktave vom eingestrichenen C bis
45 zum eingestrichenen H), @code{Schritt} gibt die Note innerhalb der Oktave an
46 (0 heißt C und 6 heißt H), und @code{Alteration} ist @code{,SHARP ,FLAT ,DOUBLE-SHARP}
47 usw. (Beachte das beginnende Komma.)
48
49 Alternativ kann auch für jedes Element der Liste mit dem allgemeineren
50 Format @code{(Schritt . Alteration)} bestimmt werden, wobei dann die
51 Einstellungen für alle Oktaven gelten.
52
53 Hier ein Beispiel einer möglichen Tonart für eine Ganztonleiter:
54 "
55
56   texidoc = "
57 The commonly used @code{\\key} command sets the @code{keySignature}
58 property, in the @code{Staff} context.
59
60 To create non-standard key signatures, set this property directly. The
61 format of this command is a list:
62
63 @code{ \\set Staff.keySignature = #`(((octave . step) . alter) ((octave
64 . step) . alter) ...) } where, for each element in the list,
65 @code{octave} specifies the octave (0 being the octave from middle C to
66 the B above), @code{step} specifies the note within the octave (0 means
67 C and 6 means B), and @code{alter} is @code{,SHARP ,FLAT ,DOUBLE-SHARP}
68 etc. (Note the leading comma.)
69
70
71 Alternatively, for each item in the list, using the more concise format
72 @code{(step . alter)} specifies that the same alteration should hold in
73 all octaves.
74
75
76 Here is an example of a possible key signature for generating a
77 whole-tone scale: 
78
79 "
80   doctitle = "Non-traditional key signatures"
81 } % begin verbatim
82 \relative c' {
83   \set Staff.keySignature = #`(((0 .  3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))
84   c4 d e fis
85   aes4 bes c2
86 }
87