]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/non-traditional-key-signatures.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / non-traditional-key-signatures.ly
index fd57c48b66b63cee7f0f8277be52cd1c1afd555d..c6a77f294ab2779d65180dfa76f04026afc25b78 100644 (file)
@@ -1,32 +1,64 @@
 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
 %% This file is in the public domain.
-\version "2.11.38"
+\version "2.11.62"
 
 \header {
   lsrtags = "pitches, staff-notation"
- texidoc = "
+
+doctitlees = "Armaduras de tonalidad no tradicionales"
+texidoces = "
+La muy utilizada instrucción @code{\\key} establece la propiedad
+@code{keySignature} property, dentro del contexto @code{Staff}.
+
+Para crear armaduras de tonalidad no estándar, ajuste esta propiedad
+directamente. El formato de esta instrucción es una lista:
+
+@code{ \\set Staff.keySignature = #`(((octava . paso) . alteración)
+((octava . paso) . alteración) ...) } donde, para cada elemento dentro
+de la lista, @code{octava} especifica la octava (siendo cero la octava
+desde el Do central hasta el Si por encima), @code{paso} especifica la
+nota dentro de la octava (cero significa Do y 6 significa Si), y
+@code{alteración} es @code{,SHARP ,FLAT ,DOUBLE-SHARP} etc. (observe
+la coma precedente.)
+
+Alternativamente, para cada elemento de la lista el uso del formato
+más conciso @code{(paso . alteración)} especifica que la misma
+alteración debe estar en todas las octavas.
+
+He aquí un ejemplo de una posible armadura para generar una escala
+exátona:
+
+"
+
+  texidoc = "
 The commonly used @code{\\key} command sets the @code{keySignature}
-property, in the @code{Staff} context. However, non-standard key
-signatures can be specified by setting this property directly. The
-format of this command is a list: @code{ \\set Staff.keySignature =
-#'(((octave . step) . alter) ((octave . step) . alter) ...) } where,
-for each element in the list, octave specifies the octave (0 being the
-octave from middle C to the B above), step specifies the note within
-the octave (0 means C and 6 means B), and alter is ,SHARP ,FLAT
-,DOUBLE-SHARP etc. (Note the leading comma.)
+property, in the @code{Staff} context.
+
+To create non-standard key signatures, set this property directly. The
+format of this command is a list:
+
+@code{ \\set Staff.keySignature = #`(((octave . step) . alter) ((octave
+. step) . alter) ...) } where, for each element in the list,
+@code{octave} specifies the octave (0 being the octave from middle C to
+the B above), @code{step} specifies the note within the octave (0 means
+C and 6 means B), and @code{alter} is @code{,SHARP ,FLAT ,DOUBLE-SHARP}
+etc. (Note the leading comma.)
 
-However, for each item in the list, you can also use the alternative
-format (step . alter), which specifies that the same alteration should
-hold in all octaves.
+
+Alternatively, for each item in the list, using the more concise format
+@code{(step . alter)} specifies that the same alteration should hold in
+all octaves.
 
 
 Here is an example of a possible key signature for generating a
 whole-tone scale: 
-" }
-% begin verbatim
+
+"
+  doctitle = "Non-traditional key signatures"
+} % begin verbatim
 \relative c' {
-  \set Staff.keySignature =
-    #`(((0 .  3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))
-  c d e fis aes bes c2
+  \set Staff.keySignature = #`(((0 .  3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))
+  c4 d e fis
+  aes4 bes c2
 }