]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/non-traditional-key-signatures.ly
Docs: LM 4.3.1: Add warning about setting stencil to #f
[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: 674a5f874c07063ae56d55be25c55fc3b4bdb7bf
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}.
12
13 Para crear armaduras de tonalidad no estándar, ajuste esta propiedad
14 directamente.  El formato de esta instrucción es una lista:
15
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.)
23
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.
27
28 He aquí un ejemplo de una posible armadura para generar una escala
29 exátona:
30 "
31
32 %% Translation of GIT committish: 6bf3e9149eb97e66b4c813e41dc7625f06c501aa
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   lsrtags = "pitches, staff-notation"
56   texidoc = "
57 The commonly used @code{\\key} command sets the @code{keySignature}
58 property, in the @code{Staff} context.
59
60 To create non-standard key signatures, set this property directly.  The
61 format of this command is a list:
62
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@tie{}being the octave from
66 middle@tie{}C to the B above), @code{step} specifies the note within the
67 octave (0@tie{}means@tie{}C and 6@tie{}means@tie{}B), and @code{alter} is
68 @code{,SHARP ,FLAT ,DOUBLE-SHARP} etc.  (Note the leading comma.)
69
70 Alternatively, for each item in the list, using the more concise format
71 @code{(step . alter)} specifies that the same alteration should hold in all
72 octaves.
73
74 Here is an example of a possible key signature for generating a whole-tone
75 scale:
76 "
77   doctitle = "Non-traditional key signatures"
78 } % begin verbatim
79
80
81 \relative c' {
82   \set Staff.keySignature = #`(((0 . 6) . ,FLAT)
83                                ((0 . 5) . ,FLAT)
84                                ((0 . 3) . ,SHARP))
85   c4 d e fis
86   aes4 bes c2
87 }
88