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