X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fnon-traditional-key-signatures.ly;h=becf9ac6fe32e6e2491f230aa9f9dd4d940a944b;hb=6ae36b6f8a7cf2df5f4e46c3c06820fccd9f35e1;hp=0767f65d30a7a460ff2da9916c34a930b133da64;hpb=a56a90a33aa7cc847252da56b3a4be1c1aa40c08;p=lilypond.git diff --git a/Documentation/snippets/non-traditional-key-signatures.ly b/Documentation/snippets/non-traditional-key-signatures.ly index 0767f65d30..becf9ac6fe 100644 --- a/Documentation/snippets/non-traditional-key-signatures.ly +++ b/Documentation/snippets/non-traditional-key-signatures.ly @@ -1,14 +1,15 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.13.36 -\version "2.13.36" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.dsi.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% +%% This file is in the public domain. +\version "2.14.2" \header { -%% Translation of GIT committish: fa19277d20f8ab0397c560eb0e7b814bd804ecec + lsrtags = "version-specific, really-cool, pitches, contemporary-notation, staff-notation" + +%% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa doctitlees = "Armaduras de tonalidad no tradicionales" texidoces = " @@ -37,6 +38,36 @@ exátona: " +%% Translation of GIT committish: d76b338302374164acc9b62a0d628d4d230bfa95 + texidocit = " +Il comando @code{\\key} comunemente usato imposta la proprietà +@code{keySignature}, che fa parte del contesto @code{Staff}. + +Per creare armature di chiave non standard, tale proprietà va +impostata esplicitamente. Il formato di questo comando è +una lista: + +@code{\\set Staff.keySignature = #`(((ottava . grado) . alterazione) ((ottava +. grado) . alterazione) ...)} dove, per ogni elemento della lista, +@code{ottava} indica l'ottava (0 è l'ottava dal Do centrale +al Si precedente), @code{grado} indica la nota all'interno +dell'ottava (0 significa Do e 6 significa Si) e @code{alterazione} +può essere @code{,SHARP ,FLAT ,DOUBLE-SHARP} etc. (Si noti la virgola iniziale.) +Le alterazioni nell'armatura di chiave appariranno nell'ordine inverso +a quello in cui sono sono specificate. + +Altrimenti, usando, per ogni elemento della lista, il formato breve +@code{(grado . alterazione)}, ciò indica che la stessa alterazione deve +essere presente in tutte le ottave. + +Per le scale microtonali in cui un @qq{diesis} non equivale a cento centesimi, @code{alter} +si riferisce all'alterazione come a una proporzione di un duecentesimo di tono intero. + +Ecco un esempio di una possibile armatura per generare una scala +a tono intero: +" + doctitleit = "Armature di chiave non tradizionali" + %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40 doctitlede = "Untypische Tonarten" texidocde = " @@ -60,14 +91,14 @@ für alle Oktaven gelten. Hier ein Beispiel einer möglichen Tonart für eine Ganztonleiter: " -%% Translation of GIT committish: 4ab2514496ac3d88a9f3121a76f890c97cedcf4e +%% Translation of GIT committish: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4 texidocfr = " La commande @code{\\key} détermine la propriété @code{keySignature} d'un contexte @code{Staff}. Des armures inhabituelles peuvent être spécifiées en modifiant directement cette propriété. Il s'agit en l'occurence de définir une -liste : +liste@tie{}: @code{\\set Staff.keySignature = #`(((octave . pas) . altération) ((octave . pas) . altération) @dots{})} @@ -89,27 +120,34 @@ Voici, par exemple, comment générer une gamme par ton : doctitlefr = "Armures inhabituelles" - lsrtags = "pitches, staff-notation" texidoc = " The commonly used @code{\\key} command sets the @code{keySignature} property, in the @code{Staff} context. -To create non-standard key signatures, set this property directly. The +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@tie{}being the octave from -middle@tie{}C to the B above), @code{step} specifies the note within the -octave (0@tie{}means@tie{}C and 6@tie{}means@tie{}B), and @code{alter} is -@code{,SHARP ,FLAT ,DOUBLE-SHARP} etc. (Note the leading comma.) +@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.) The accidentals in the key signature +will appear in the reverse order to that in which they are specified. + 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. +@code{(step . alter)} specifies that the same alteration should hold in +all octaves. + + +For microtonal scales where a @qq{sharp} is not 100 cents, @code{alter} +refers to the alteration as a proportion of a 200-cent whole tone. + + +Here is an example of a possible key signature for generating a +whole-tone scale: -Here is an example of a possible key signature for generating a whole-tone -scale: " doctitle = "Non-traditional key signatures" } % begin verbatim