]> git.donarmstrong.com Git - lilypond.git/blob - input/new/revised/non-traditional-key-signatures.ly
Doc-es: pre-merge update of texidoc committishes.
[lilypond.git] / input / new / revised / 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
4 \version "2.11.62"
5
6 \header {
7   lsrtags = "pitches, staff-notation"
8
9
10   doctitlees = "Armaduras de tonalidad no tradicionales"
11   texidoces = "
12 La muy utilizada instrucción @code{\\key} establece la propiedad
13 @code{keySignature} property, dentro del contexto @code{Staff}.
14
15 Para crear armaduras de tonalidad no estándar, ajuste esta propiedad
16 directamente.  El formato de esta instrucción es una lista:
17
18 @code{\\set Staff.keySignature = #`(((octava . paso) . alteración) ((octava
19 . paso) . alteración) ...)} donde, para cada elemento dentro de la lista,
20 @code{octava} especifica la octava (siendo cero la octava desde el Do
21 central hasta el Si por encima), @code{paso} especifica la nota dentro de la
22 octava (cero significa Do y 6 significa Si), y @code{alteración} es
23 @code{,SHARP ,FLAT ,DOUBLE-SHARP} etc. (observe la coma precedente.)
24
25 Alternativamente, para cada elemento de la lista el uso del formato más
26 conciso @code{(paso . alteración)} especifica que la misma alteración debe
27 estar en todas las octavas.
28
29 He aquí un ejemplo de una posible armadura para generar una escala exátona:
30 "
31
32
33   doctitlede = "Untypische Tonarten"
34   texidocde = "
35 Der üblicherweise benutzte @code{\\key}-Befehl setzt die
36 @code{keySignature}-Eigenschaft im @code{Staff}-Kontext.
37
38 Um untypische Tonartenvorzeichen zu erstellen, muss man diese Eigenschaft
39 direkt setzen.  Das Format für den Befehl ist eine Liste: @code{\\set
40 Staff.keySignature = #`(((Oktave . Schritt) . Alteration) ((Oktave .
41 Schritt) . Alteration) ...)}, wobei für jedes Element in der Liste
42 @code{Oktave} die Oktave angibt (0@tie{}ist die Oktave vom
43 eingestrichenen@tie{}C bis zum eingestrichenen@tie{}H).  @code{Schritt} gibt
44 die Note innerhalb der Oktave an (0@tie{}heißt@tie{}C und
45 6@tie{}heißt@tie{}H), und @code{Alteration} ist @code{,SHARP ,FLAT
46 ,DOUBLE-SHARP} usw.  (Beachte das beginnende Komma.)
47
48 Alternativ kann auch jedes Element der Liste mit dem allgemeineren Format
49 @code{(Schritt . Alteration)} gesetzt werden, wobei dann die Einstellungen
50 für alle Oktaven gelten.
51
52 Hier ein Beispiel einer möglichen Tonart für eine Ganztonleiter:
53 "
54
55
56   doctitle = "Non-traditional key signatures"
57   texidoc = "
58 The commonly used @code{\\key} command sets the @code{keySignature}
59 property, in the @code{Staff} context.
60
61 To create non-standard key signatures, set this property directly.  The
62 format of this command is a list:
63
64 @code{\\set Staff.keySignature = #`(((octave . step) . alter) ((octave
65 . step) . alter) ...)} where, for each element in the list,
66 @code{octave} specifies the octave (0@tie{}being the octave from
67 middle@tie{}C to the B above), @code{step} specifies the note within the
68 octave (0@tie{}means@tie{}C and 6@tie{}means@tie{}B), and @code{alter} is
69 @code{,SHARP ,FLAT ,DOUBLE-SHARP} etc.  (Note the leading comma.)
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 all
73 octaves.
74
75 Here is an example of a possible key signature for generating a whole-tone
76 scale:
77 "
78 } % begin verbatim
79 \relative c' {
80   \set Staff.keySignature = #`(((0 . 6) . ,FLAT)
81                                ((0 . 5) . ,FLAT)
82                                ((0 . 3) . ,SHARP))
83   c4 d e fis
84   aes4 bes c2
85 }