]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/non-traditional-key-signatures.ly
Merge branch 'master' into translation
[lilypond.git] / Documentation / snippets / non-traditional-key-signatures.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.2"
8
9 \header {
10   lsrtags = "version-specific, really-cool, pitches, contemporary-notation, staff-notation"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
13   doctitlees = "Armaduras de tonalidad no tradicionales"
14   texidoces = "
15
16 La muy utilizada instrucción @code{\\key} establece la propiedad
17 @code{keySignature} property, dentro del contexto @code{Staff}.
18
19 Para crear armaduras de tonalidad no estándar, ajuste esta
20 propiedad directamente.  El formato de esta instrucción es una
21 lista:
22
23 @code{\\set Staff.keySignature = #`(((octava . paso) . alteración)
24 ((octava . paso) . alteración) ...)} donde, para cada elemento
25 dentro de la lista, @code{octava} especifica la octava
26 (siendo@tie{}cero la octava desde el Do@tie{}central hasta el Si
27 por encima), @code{paso} especifica la nota dentro de la octava
28 (cero@tie{}significa@tie{}Do y 6@tie{}significa@tie{}Si), y
29 @code{alteración} es @code{,SHARP ,FLAT ,DOUBLE-SHARP}
30 etc. (observe la coma precedente.)
31
32 De forma alternativa, para cada elemento de la lista el uso del
33 formato más conciso @code{(paso . alteración)} especifica que la
34 misma alteración debe estar en todas las octavas.
35
36 He aquí un ejemplo de una posible armadura para generar una escala
37 exátona:
38 "
39
40
41 %% Translation of GIT committish: d76b338302374164acc9b62a0d628d4d230bfa95
42   texidocit = "
43 Il comando @code{\\key} comunemente usato imposta la proprietà
44 @code{keySignature}, che fa parte del contesto @code{Staff}.
45
46 Per creare armature di chiave non standard, tale proprietà va
47 impostata esplicitamente.  Il formato di questo comando è
48 una lista:
49
50 @code{\\set Staff.keySignature = #`(((ottava . grado) . alterazione) ((ottava
51 . grado) . alterazione) ...)} dove, per ogni elemento della lista,
52 @code{ottava} indica l'ottava (0 è l'ottava dal Do centrale
53 al Si precedente), @code{grado} indica la nota all'interno
54 dell'ottava (0 significa Do e 6 significa Si) e @code{alterazione}
55 può essere @code{,SHARP ,FLAT ,DOUBLE-SHARP} etc.  (Si noti la virgola iniziale.)
56 Le alterazioni nell'armatura di chiave appariranno nell'ordine inverso
57 a quello in cui sono sono specificate.
58
59 Altrimenti, usando, per ogni elemento della lista, il formato breve
60 @code{(grado . alterazione)}, ciò indica che la stessa alterazione deve
61 essere presente in tutte le ottave.
62
63 Per le scale microtonali in cui un @qq{diesis} non equivale a cento centesimi, @code{alter}
64 si riferisce all'alterazione come a una proporzione di un duecentesimo di tono intero.
65
66 Ecco un esempio di una possibile armatura per generare una scala
67 a tono intero:
68 "
69   doctitleit = "Armature di chiave non tradizionali"
70
71 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
72   doctitlede = "Untypische Tonarten"
73   texidocde = "
74 Der üblicherweise benutzte @code{\\key}-Befehl setzt die
75 @code{keySignature}-Eigenschaft im @code{Staff}-Kontext.
76
77 Um untypische Tonartenvorzeichen zu erstellen, muss man diese Eigenschaft
78 direkt setzen.  Das Format für den Befehl ist eine Liste: @code{ \\set
79 Staff.keySignature = #`(((Oktave . Schritt) . Alteration) ((Oktave
80 . Schritt) . Alteration) ...)} wobei für jedes Element in der Liste
81 @code{Oktave} die Oktave angibt (0@tie{}ist die Oktave vom
82 eingestrichenen@tie{}C bis zum eingestrichenen@tie{}H), @code{Schritt} gibt
83 die Note innerhalb der Oktave an (0@tie{}heißt@tie{}C und
84 6@tie{}heißt@tie{}H), und @code{Alteration} ist @code{,SHARP ,FLAT
85 ,DOUBLE-SHARP} usw.  (Beachte das beginnende Komma.)
86
87 Alternativ kann auch jedes Element der Liste mit dem allgemeineren Format
88 @code{(Schritt . Alteration)} gesetzt werden, wobei dann die Einstellungen
89 für alle Oktaven gelten.
90
91 Hier ein Beispiel einer möglichen Tonart für eine Ganztonleiter:
92 "
93
94 %% Translation of GIT committish: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
95   texidocfr = "
96 La commande @code{\\key} détermine la propriété @code{keySignature} d'un
97 contexte @code{Staff}.
98
99 Des armures inhabituelles peuvent être spécifiées en modifiant
100 directement cette propriété. Il s'agit en l'occurence de définir une
101 liste@tie{}:
102
103 @code{\\set Staff.keySignature = #`(((octave . pas) . altération) ((octave
104 . pas) . altération) @dots{})}
105
106 dans laquelle, et pour chaque élément,
107 @code{octave} spécifie l'octave (0@tie{}pour celle allant du
108 do@tie{}médium au si supérieur), @code{pas} la note dans cette octave
109 (0@tie{}pour@tie{}do et 6@tie{}pour@tie{}si), et @code{altération} sera
110 @code{,SHARP ,FLAT ,DOUBLE-SHARP} etc.  (attention à la virgule en
111 préfixe).
112
113 Une formulation abrégée -- @code{(pas . altération)} -- signifie que
114 l'altération de l'élément en question sera valide quel que soit l'octave.
115
116
117 Voici, par exemple, comment générer une gamme par ton :
118
119 "
120   doctitlefr = "Armures inhabituelles"
121
122
123   texidoc = "
124 The commonly used @code{\\key} command sets the @code{keySignature}
125 property, in the @code{Staff} context.
126
127 To create non-standard key signatures, set this property directly. The
128 format of this command is a list:
129
130 @code{ \\set Staff.keySignature = #`(((octave . step) . alter) ((octave
131 . step) . alter) ...) } where, for each element in the list,
132 @code{octave} specifies the octave (0 being the octave from middle C to
133 the B above), @code{step} specifies the note within the octave (0 means
134 C and 6 means B), and @code{alter} is @code{,SHARP ,FLAT ,DOUBLE-SHARP}
135 etc. (Note the leading comma.) The accidentals in the key signature
136 will appear in the reverse order to that in which they are specified.
137
138
139 Alternatively, for each item in the list, using the more concise format
140 @code{(step . alter)} specifies that the same alteration should hold in
141 all octaves.
142
143
144 For microtonal scales where a @qq{sharp} is not 100 cents, @code{alter}
145 refers to the alteration as a proportion of a 200-cent whole tone.
146
147
148 Here is an example of a possible key signature for generating a
149 whole-tone scale:
150
151 "
152   doctitle = "Non-traditional key signatures"
153 } % begin verbatim
154
155
156 \relative c' {
157   \set Staff.keySignature = #`(((0 . 6) . ,FLAT)
158                                ((0 . 5) . ,FLAT)
159                                ((0 . 3) . ,SHARP))
160   c4 d e fis
161   aes4 bes c2
162 }
163