<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- header_tag --> <html lang="es"> <head> <title>Clave - Referencia de la notación de GNU LilyPond</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="Referencia de la notación de GNU LilyPond"> <meta name="generator" content="makeinfo 4.11"> <link title="Top" rel="start" href="index.es.html#Top"> <link rel="up" href="Displaying-pitches.es.html#Displaying-pitches" title="Imprimir las alturas"> <link rel="next" href="Key-signature.es.html#Key-signature" title="Armadura de la tonalidad"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <!-- Copyright (C) 1999--2007 por los autores _The translation of the following copyright notice is provided for courtesy to non-English speakers, but only the notice in English legally counts._ _La traducción de la siguiente nota de copyright se ofrece como cortesía para las personas de habla no inglesa, pero únicamente la nota en inglés tiene validez legal._ Se otorga permiso para copiar, distribuir y/o modificar este documento bajo los términos de la Licencia de Documentación Libre de GNU, versión 1.1 o cualquier versión posterior publicada por la Free Software Foundation; sin ninguna de las secciones invariantes. Se incluye una copia de esta licencia dentro de la sección titulada ``Licencia de Documentación Libre de GNU''. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections. A copy of the license is included in the section entitled ``GNU Free Documentation License''. --> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } hr { border:0; height:1; color: #000000; background-color: #000000; } /* hr { border: none; height: 1px; color: #666666; background-color: #666666; } body { border-left: 1px solid #666666; border-right: 1px solid #666666; color: #332d28; margin-right: auto; margin-left: auto; width: 60em; list-style-type: square; font-family: Arial,Helvetica,sans-serif; padding-right: 1em; padding-left: 1em; } a { border-bottom: 1px dashed #344242; text-decoration: none; color: #344242; } a:link { text-decoration: none; } a:visited { border-bottom: 1px dashed #666666; color: #666666; } a:active { border-bottom: 1px solid #00cccc; color: #00cccc; } a:hover { border-bottom: 1px solid #1d7b85; color: #1d7b85; } blockquote { border: 1px solid #cccccc; padding: 3px; width: 40em; } .node { border-left: 1px solid #666666; margin: -0.5em 0px 1em; padding: 2px 1px 0px; font-style: italic; } .node a { border: none; text-decoration: underline; font-style: normal; font-weight: bold; } .verbatim { font-family: "Courier New",Courier,monospace; } .unnumberedsubsubsec { font-size: large; color: #1d7b85; } .subsubheading { font-size: large; color: #3b220d; } .contents { border: 1px dashed #339999; margin: 3px 2em; list-style-type: square; padding-right: 1em; width: 40em; background-color: #fcfff9; } .contents a { border-bottom: 1px dashed #423d34; text-decoration: none; color: #423d34; } .contents a:visited { border-bottom: 1px dashed #666666; color: #666666; } .contents a:active { border-bottom: 1px solid #f0d86d; color: #f0d86d; } .contents a:hover { border-bottom: 1px solid #3b220d; color: #3b220d; } .menu { border-left: 1px dashed #339999; margin: 3px 2em 1em; list-style-type: square; padding-left: 1.4em; width: 40em; } .unnumbered { } h2 { font-size: x-large; color: #1d7b85; } */ --></style> </head> <BODY BGCOLOR=WHITE TEXT=BLACK> <div class="node"> <p> <a name="Clef"></a> Siguiente: <a rel="next" accesskey="n" href="Key-signature.es.html#Key-signature">Armadura de la tonalidad</a>, Arriba: <a rel="up" accesskey="u" href="Displaying-pitches.es.html#Displaying-pitches">Imprimir las alturas</a> <hr> </div> <h5 class="unnumberedsubsubsec">Clave</h5> <p><a name="index-g_t_005cclef-86"></a><a name="index-g_t_005cclef-87"></a> <a name="index-Sol_002c-clave-de-88"></a><a name="index-Do_002c-clave-de-89"></a><a name="index-Fa_002c-clave-de-90"></a><a name="index-viol_00c3_00adn_002c-clave-de-91"></a><a name="index-alto_002c-clave-de-92"></a><a name="index-tenor_002c-clave-de-93"></a><a name="index-bajo_002c-clave-de-94"></a><a name="index-francesa_002c-clave-95"></a><a name="index-soprano_002c-clave-de-96"></a><a name="index-mezzosoprano_002c-clave-de-97"></a><a name="index-bar_00c3_00adtono_002c-clave-de-98"></a><a name="index-contrabajo_002c-clave-de-99"></a><a name="index-clave-100"></a><a name="index-antiguas_002c-claves-101"></a><a name="index-clave-antigua-102"></a><a name="index-clave-de-Sol-103"></a><a name="index-clave-de-Do-104"></a><a name="index-clave-de-Fa-105"></a><a name="index-clave-de-viol_00c3_00adn-106"></a><a name="index-clave-de-alto-107"></a><a name="index-clave-de-tenor-108"></a><a name="index-clave-de-bajo-109"></a><a name="index-clave-francesa-110"></a><a name="index-clave-de-soprano-111"></a><a name="index-clave-de-mezzosoprano-112"></a><a name="index-clave-de-bar_00c3_00adtono-113"></a><a name="index-clave-de-contrabajo-114"></a> La clave se establece con la instrucción <code>\clef</code> <var>nombre_de_clave</var>. En todos los ejemplos se muestra el Do central. <blockquote> <pre class="verbatim"> \clef treble c2 c \clef alto c2 c \clef tenor c2 c \clef bass c2 c </pre> <p> <a href="../86/lily-352f27aa.ly"> <img align="middle" border="0" src="../86/lily-352f27aa.png" alt="[image of music]"> </a> </p> </blockquote> <p>Otras claves son las siguientes: <blockquote> <pre class="verbatim"> \clef french c2 c \clef soprano c2 c \clef mezzosoprano c2 c \clef baritone c2 c \break \clef varbaritone c2 c \clef subbass c2 c \clef percussion c2 c \clef tab c2 c </pre> <p> <a href="../e1/lily-5fe1112c.ly"> <img align="middle" border="0" src="../e1/lily-5fe1112c.png" alt="[image of music]"> </a> </p> </blockquote> <p>Están contempladas claves adicionales que se describen bajo <a href="Ancient-clefs.es.html#Ancient-clefs">Claves antiguas</a>. <p><a name="index-transpositoras_002c-claves-115"></a><a name="index-clave-transpositora-116"></a><a name="index-octava_002c-transposici_00c3_00b3n-de-117"></a> Al añadir <code>_8</code> o <code>^8</code> al nombre de la clave, la clave se transpone una octava hacia abajo o hacia arriba, respectivamente, y <code>_15</code> y <code>^15</code> la transpone dos octavas. El argumento <var>nombre_de_clave</var> se debe encerrar entre comillas cuando contiene guiones bajos o dígitos. <p><a name="index-choral_002c-clave-de-tenor-118"></a> <blockquote> <pre class="verbatim"> \clef "treble_8" c2 c \clef "bass^15" c2 c </pre> <p> <a href="../40/lily-450d2b26.ly"> <img align="middle" border="0" src="../40/lily-450d2b26.png" alt="[image of music]"> </a> </p> </blockquote> <p class="noindent"> <h5 class="subsubheading">Fragmentos de código seleccionados</h5> <p>La instrucción <code>\clef "treble_8"</code> equivale a un ajuste de <code>clefGlyph</code>, <code>clefPosition</code> (que controla la posición vertical de la clave), <code>middleCPosition</code> y <code>clefOctavation</code>. Se imprime una clave cada vez que se modifica cualquiera de las propiedades excepto <code>middleCPosition</code>. <p>Observe que la modificación del glifo, la posición de la clave o su octavación, no cambian 'per se' la posición de las siguientes notas del pentagrama: para hacer esto también se debe especificar la posición del Do central. Los parámetros posicionales están en relación con la tercera línea del pentagrama, los números positivos desplazan hacia arriba, contando una unidad por cada línea y espacio. El valor de <code>clefOctavation</code> se establecería normalmente a 7, -7, 15 or -15, pero son válidos otros valores. <p>Cuando se produce un cambio de clave en el salto de línea se imprime la clave nueva tanto al final de la línea anterior como al principio de la nueva, de forma predeterminada. Si no se necesita la clave de advertencia al final de la línea anterior, se puede quitar estableciendo el valor de la propiedad <code>explicitClefVisibility</code> de <code>Staff</code>, a <code>end-of-line-invisible</code>. El comportamiento predeterminado se puede recuperar con <code>\unset Staff.explicitClefVisibility</code>. <p>Los siguientes ejemplos muestran las posibilidades cuando se ajustan estas propiedades manualmente. En la primera línea, los cambios manuales preservan el posicionamiento relativo estándar de las claves y las notas, pero no lo hacen en la segunda línea. <blockquote> <pre class="verbatim"> { % The default treble clef c'1 % The standard bass clef \set Staff.clefGlyph = #"clefs.F" \set Staff.clefPosition = #2 \set Staff.middleCPosition = #6 c'1 % The baritone clef \set Staff.clefGlyph = #"clefs.C" \set Staff.clefPosition = #4 \set Staff.middleCPosition = #4 c'1 % The standard choral tenor clef \set Staff.clefGlyph = #"clefs.G" \set Staff.clefPosition = #-2 \set Staff.clefOctavation = #-7 \set Staff.middleCPosition = #1 c'1 % A non-standard clef \set Staff.clefPosition = #0 \set Staff.clefOctavation = #0 \set Staff.middleCPosition = #-4 c'1 \break % The following clef changes do not preserve % the normal relationship between notes and clefs: \set Staff.clefGlyph = #"clefs.F" \set Staff.clefPosition = #2 c'1 \set Staff.clefGlyph = #"clefs.G" c'1 \set Staff.clefGlyph = #"clefs.C" c'1 \set Staff.clefOctavation = #7 c'1 \set Staff.clefOctavation = #0 \set Staff.clefPosition = #0 c'1 % Here we go back to the normal clef: \set Staff.middleCPosition = #0 c'1 } </pre> <p> <a href="../af/lily-32e7e88c.ly"> <img align="middle" border="0" src="../af/lily-32e7e88c.png" alt="[image of music]"> </a> </p> </blockquote> <p class="noindent"> <h5 class="subsubheading">Véase también</h5> <p class="indent"> <p>Referencia de la notación: <a href="Ancient-clefs.es.html#Ancient-clefs">Claves antiguas</a>. <p>Fragmentos de código: <a href="../../../input/lsr/lilypond-snippets/Pitches.html#Pitches">Alturas</a>. <p>Referencia de funcionamiento interno: <a name="index-Clef_005fengraver-119"></a><a href="../lilypond-internals/Clef_005fengraver.es.html#Clef_005fengraver">Clef_engraver</a>, <a name="index-Clef-120"></a><a href="../lilypond-internals/Clef.es.html#Clef">Clave</a>, <a name="index-OctavateEight-121"></a><a href="../lilypond-internals/OctavateEight.es.html#OctavateEight">OctavateEight</a>, <a name="index-clef_002dinterface-122"></a><a href="../lilypond-internals/clef_002dinterface.es.html#clef_002dinterface">clef-interface</a>. <!-- footer_tag --><br><hr> <div class="node"> <p> Siguiente: <a rel="next" accesskey="n" href="Key-signature.es.html#Key-signature">Armadura de la tonalidad</a>, Arriba: <a rel="up" accesskey="u" href="Displaying-pitches.es.html#Displaying-pitches">Imprimir las alturas</a> </div> <div style="background-color: #e8ffe8; padding: 2; border: #c0ffc0 1px solid;"> <p> <font size="-1"> Esta página corresponde a LilyPond-2.11.57 (rama de desarrollo). <br> <address> Informe de los fallos a través de la lista en español <a href="http://es.groups.yahoo.com/group/lilypond-es/">lilypond-es</a>, o en inglés a través de <a href="http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs">http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs</a>. </address> <br> Se agradecen las <a href="http://lilypond.org/web/devel/participating/documentation-adding">sugerencias para la documentación</a>. </font> </p> </div> <P> Otros idiomas: <a href="Clef.html">English</a>, <a href="Clef.fr.html">français</a>, <a href="Clef.de.html">deutsch</a>. <BR> </P> </BODY></html>