X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fnon-traditional-key-signatures.ly;h=270d1ce6847901a24ab26c292cdbe363d65be503;hb=6f732bd9ce18ac2709a39633332532316b5d22ad;hp=df9a8b630d9a51ad2a0e7c1577a1231f402aeab2;hpb=d7c0f4263534307616c82d9b2ce6fdef9472456f;p=lilypond.git diff --git a/Documentation/snippets/non-traditional-key-signatures.ly b/Documentation/snippets/non-traditional-key-signatures.ly index df9a8b630d..270d1ce684 100644 --- a/Documentation/snippets/non-traditional-key-signatures.ly +++ b/Documentation/snippets/non-traditional-key-signatures.ly @@ -1,11 +1,15 @@ -% Do not edit this file; it is automatically -% generated from Documentation/snippets/new -% This file is in the public domain. -%% Note: this file works from version 2.13.0 -\version "2.13.29" +%% 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: 0b55335aeca1de539bf1125b717e0c21bb6fa31b + lsrtags = "version-specific, really-cool, pitches, contemporary-notation, staff-notation" + +%% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98 doctitlees = "Armaduras de tonalidad no tradicionales" texidoces = " @@ -34,6 +38,31 @@ exátona: " +%% Translation of GIT committish: bbf8fd2b5a3ebf20a1fdc91613dc49045a53a270 + 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@tie{}è l'ottava dal Do@tie{}centrale +al Si precedente), @code{grado} indica la nota all'interno +dell'ottava (0@tie{}significa@tie{}Do e 6@tie{}significa@tie{}Si) e @code{alterazione} +può essere @code{,SHARP ,FLAT ,DOUBLE-SHARP} etc. (Si noti la virgola iniziale.) + +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. + +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 = " @@ -57,14 +86,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{})} @@ -86,27 +115,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