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