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