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