]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/non-traditional-key-signatures.ly
Merge commit 'origin'
[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   doctitlede = "Untypische Tonarten"
31   texidocde = "
32 Der üblicherweise benutzte @code{\\key}-Befehl setzt die
33 @code{keySignature}-Eigenschaft im @code{Staff}-Kontext.
34
35 Um untypische Tonartenvorzeichen zu erstellen, muss man diese Eigenschaft
36 direkt setzen.  Das Format für den Befehl ist eine Liste: @code{ \\set
37 Staff.keySignature = #`(((Oktave . Schritt) . Alteration) ((Oktave
38 . Schritt) . Alteration) ...)} wobei für jedes Element in der Liste
39 @code{Oktave} die Oktave angibt (0@tie{}ist die Oktave vom
40 eingestrichenen@tie{}C bis zum eingestrichenen@tie{}H), @code{Schritt} gibt
41 die Note innerhalb der Oktave an (0@tie{}heißt@tie{}C und
42 6@tie{}heißt@tie{}H), und @code{Alteration} ist @code{,SHARP ,FLAT
43 ,DOUBLE-SHARP} usw.  (Beachte das beginnende Komma.)
44
45 Alternativ kann auch jedes Element der Liste mit dem allgemeineren Format
46 @code{(Schritt . Alteration)} gesetzt werden, wobei dann die Einstellungen
47 für alle Oktaven gelten.
48
49 Hier ein Beispiel einer möglichen Tonart für eine Ganztonleiter:
50 "
51
52   lsrtags = "pitches, staff-notation"
53   texidoc = "
54 The commonly used @code{\\key} command sets the @code{keySignature}
55 property, in the @code{Staff} context.
56
57 To create non-standard key signatures, set this property directly.  The
58 format of this command is a list:
59
60 @code{\\set Staff.keySignature = #`(((octave . step) . alter) ((octave
61 . step) . alter) ...)} where, for each element in the list,
62 @code{octave} specifies the octave (0@tie{}being the octave from
63 middle@tie{}C to the B above), @code{step} specifies the note within the
64 octave (0@tie{}means@tie{}C and 6@tie{}means@tie{}B), and @code{alter} is
65 @code{,SHARP ,FLAT ,DOUBLE-SHARP} etc.  (Note the leading comma.)
66
67 Alternatively, for each item in the list, using the more concise format
68 @code{(step . alter)} specifies that the same alteration should hold in all
69 octaves.
70
71 Here is an example of a possible key signature for generating a whole-tone
72 scale:
73 "
74   doctitle = "Non-traditional key signatures"
75 } % begin verbatim
76
77
78 \relative c' {
79   \set Staff.keySignature = #`(((0 . 6) . ,FLAT)
80                                ((0 . 5) . ,FLAT)
81                                ((0 . 3) . ,SHARP))
82   c4 d e fis
83   aes4 bes c2
84 }
85