diff --git a/_tutorials-ES/102_incipit/102_incipit.json b/_tutorials-ES/102_incipit/102_incipit.json index da9235eca..6373c2031 100644 --- a/_tutorials-ES/102_incipit/102_incipit.json +++ b/_tutorials-ES/102_incipit/102_incipit.json @@ -481,16 +481,16 @@ {"rule": "\/\/mei:measure[4]\/mei:staff\/mei:layer\/mei:note\/mei:artic\/@artic = 'acc'", "renderanyway": false, "hint": "Compás n=3: necesitas un atributo @artic con un valor acc en el elemento artic."}, {"rule": "\/\/mei:measure[4]\/mei:staff\/mei:layer\/mei:note\/mei:artic\/@place = 'above'", "renderanyway": false, "hint": "Compás n=3: necesitas un atributo @place con un valor above en el elemento artic."}, {"rule": "count(\/\/mei:measure[4]\/mei:staff\/mei:layer\/mei:beam[1]\/mei:note[1]\/@*) = 4", "renderanyway": false, "hint": "Necesitas cuatro atributos en la primera nota barrada (@pname, @oct, @dur & @xml:id) del primer elemento beam."}, - {"rule": "\/\/mei:measure[4]\/mei:staff\/mei:layer\/mei:beam[1]\/mei:note[1]\/@*[name()='xml:id'] = 'd1e4614'", "renderanyway": false, "hint": "Necesitas a @xml:id attribute con un valor `d1e4614` en la primera nota barrada del primer elemento beam."}, + {"rule": "\/\/mei:measure[4]\/mei:staff\/mei:layer\/mei:beam[1]\/mei:note[1]\/@*[name()='xml:id'] = 'd4567'", "renderanyway": false, "hint": "Necesitas a @xml:id attribute con un valor `d4567` en la primera nota barrada del primer elemento beam."}, {"rule": "count(\/\/mei:measure[4]\/mei:staff\/mei:layer\/mei:beam[1]\/mei:note[2]\/@*) = 4", "renderanyway": false, "hint": "Necesitas cuatro atributos en la segunda nota barrada (@pname, @oct, @dur & @xml:id) del primer elemento beam."}, - {"rule": "\/\/mei:measure[4]\/mei:staff\/mei:layer\/mei:beam[1]\/mei:note[2]\/@*[name()='xml:id'] = 'd1e4615'", "renderanyway": false, "hint": "Necesitas a @xml:id attribute con un valor `d1e4615` en la segunda nota barrada del primer elemento beam."}, + {"rule": "\/\/mei:measure[4]\/mei:staff\/mei:layer\/mei:beam[1]\/mei:note[2]\/@*[name()='xml:id'] = 'd4568'", "renderanyway": false, "hint": "Necesitas a @xml:id attribute con un valor `d4568` en la segunda nota barrada del primer elemento beam."}, {"rule": "count(\/\/mei:measure[4]\/mei:slur) = '1'", "renderanyway": false, "hint": "Necesitas un elemento slur como hijo de measure."}, {"rule": "\/\/mei:measure[4]\/mei:staff\/following-sibling::mei:slur", "renderanyway": false, "hint": "el elemento slur tiene que seguir el elemento staff."}, {"rule": "count(\/\/mei:measure[4]\/mei:slur\/@*) = 4", "renderanyway": false, "hint": "Necesitas cuatro atributos en el elemento slur (@staff, @curvedir, @startid & @endid)."}, {"rule": "\/\/mei:measure[4]\/mei:slur\/@staff = '1'", "renderanyway": false, "hint": "Necesitas a @staff attribute con un valor 1 en slur."}, {"rule": "\/\/mei:measure[4]\/mei:slur\/@curvedir = 'above'", "renderanyway": false, "hint": "Necesitas a @curvedir attribute con un valor above en slur."}, - {"rule": "\/\/mei:measure[4]\/mei:slur\/@startid = '#d1e4614'", "renderanyway": false, "hint": "Necesitas a @startid attribute con un valor #d1e4614 en slur."}, - {"rule": "\/\/mei:measure[4]\/mei:slur\/@endid = '#d1e4615'", "renderanyway": false, "hint": "Necesitas an @endid attribute con un valor #d1e4615 en slur."} + {"rule": "\/\/mei:measure[4]\/mei:slur\/@startid = '#d4567'", "renderanyway": false, "hint": "Necesitas a @startid attribute con un valor #d4567 en slur."}, + {"rule": "\/\/mei:measure[4]\/mei:slur\/@endid = '#d4568'", "renderanyway": false, "hint": "Necesitas an @endid attribute con un valor #d4568 en slur."} ] } ], diff --git a/_tutorials-ES/102_incipit/102_incipit.md b/_tutorials-ES/102_incipit/102_incipit.md index cdc977fad..b6759f8e3 100644 --- a/_tutorials-ES/102_incipit/102_incipit.md +++ b/_tutorials-ES/102_incipit/102_incipit.md @@ -2,7 +2,7 @@ layout: tutorials-ES type: tutorial-ES name: "AVANZADO: Codificación de íncipit" -fullname: "Un tutorial avanzado sobre cómo codificar íncipits en MEII" +fullname: "Un tutorial avanzado sobre cómo codificar íncipits en MEI" data: "102_incipit.json" --- ¡Bienvenido/a! En este tutorial aprenderás cómo codificar un íncipit (secuencia inicial de notas en una composición musical) en MEI con el siguiente ejemplo: diff --git a/_tutorials-ES/102_incipit/step-04/102_incipit_step-04-desc.html b/_tutorials-ES/102_incipit/step-04/102_incipit_step-04-desc.html index 64e412b6d..42ba4fca1 100644 --- a/_tutorials-ES/102_incipit/step-04/102_incipit_step-04-desc.html +++ b/_tutorials-ES/102_incipit/step-04/102_incipit_step-04-desc.html @@ -9,7 +9,7 @@
  • @dur (duración) - por ejemplo, "1" para la redonda, "2" para la blanca, "4" para la negra, "8" para la corchea, "16" para la semicorchea, ... "2048" para la 2048ª nota, utiliza "4".
  • -

    Aquí hay un ejemplo de cómo codificar una redonda C4: <nota pname="c" oct="4" dur="1"></nota>.

    +

    Aquí hay un ejemplo de cómo codificar una redonda C4: <note pname="c" oct="4" dur="1"/>.

    En el editor de abajo, introduce la codificación de la primera nota del ejemplo dentro del elemento <layer>.

    diff --git a/_tutorials-ES/102_incipit/step-12/102_incipit_step-12-desc.html b/_tutorials-ES/102_incipit/step-12/102_incipit_step-12-desc.html index 1367ff03c..4057b04fa 100644 --- a/_tutorials-ES/102_incipit/step-12/102_incipit_step-12-desc.html +++ b/_tutorials-ES/102_incipit/step-12/102_incipit_step-12-desc.html @@ -7,17 +7,36 @@
  • Un elemento separado <slur>.
  • -

    En este último paso, se utilizará el segundo enfoque: Al igual que las dinámicas, los elementos <slur> son eventos de control. No se codifican como elementos hijos de los eventos correspondientes que deben controlar, sino que se colocan en la mayoría de los casos fuera de los elementos staff.

    +

    En este último paso, se utilizará el segundo enfoque: Al igual que las dinámicas, los elementos <slur> (ligaduras) son eventos de control. No se codifican como elementos hijos de los eventos correspondientes que deben controlar, sino que se colocan en la mayoría de los casos fuera de los elementos staff. + Para permitir un control preciso sobre la ubicación de la ligadura en relación al pentagrama, se puede usar el atributo @staff. Este atributo identifica el número del pentagrama al que se aplica el elemento <slur>.

    -

    Para indicar el punto inicial y el punto final de la ligadura, es posible aplicar una referencia al correspondiente @xml:id de un elemento <note> o <chord>. Los @xml:ids son identificadores con una secuencia de caracteres arbitraria pero única que regulariza la denominación de un elemento a lo largo de un documento y facilita así la construcción de enlaces entre elementos y otros recursos. En el caso de <slur>, la referencia al @xml:id de un elemento puede darse a través de los atributos @startid y @endid.

    +

    Para indicar el punto inicial y el punto final de la ligadura, se pueden usar los atributos @startid y @endid. + Para hacerlo, los valores de los atributos @startid y @endid deben hacer referencia al valor del atributo @xml:id de los elementos donde comienza y termina la ligadura. + Los @xml:id son identificadores con una secuencia de caracteres arbitraria pero única que regularizan la denominación de un elemento a lo largo de un documento + y así facilitan la creación de enlaces entre elementos y otros recursos. Este es un mecanismo de referencia común en XML: aplicar un @xml:id a un elemento y referenciarlo desde otro elemento.

    +

    En el caso de una ligadura <slur>, el atributo @startid hace referencia al @xml:id del elemento donde la ligadura inicia y el atributo @endid hace referencia al @xml:id del elemento donde la ligadura termina.

    +

    Por ejemplo, si tienes un elemento <note> con un @xml:id de "note-1" y otro elemento <note> con un @xml:id de "note-2", + puedes crear un <slur> que comienza en la primera nota y termina en la segunda nota configurando el atributo @startid a "#note-1" y el atributo @endid a "#note-2". + Nota que el hash de referencia # solo se usa con los atributos de referencia, no con los @xml:id en sí mismos:

    + +

    + <note xml:id="note-1" pname="g" oct="4" dur="4"/>
    + <note xml:id="note-2" pname="a" oct="4" dur="4"/>
    + ...
    + <slur staff="1" curvedir="above" startid="#note-1" endid="#note-2"/> +

    -

    Junto con @startid y @endid, se deben utilizar los siguientes atributos en este paso:

    +

    Debido a que las ligaduras pueden estar curvadas en diferentes direcciones, el atributo @curvedir describe una curva con un término genérico que indica la dirección de la curvatura de la ligadura: “above”, “below” o “mixed”.

    + +

    Así que los siguientes atributos deben usarse con el elemento <slur> en este paso:

    -

    Identifica la primera y la última nota a la que se une la ligadura (dentro del primer elemento <beam> del compás 3) y añade @xml:ids a ambos elementos <note>. Establece un valor único para cada @xml:id, para este ejemplo puedes utilizar los valores: “d1e4614”, “d1e4615”. Añade un elemento de control <slur> después de la etiqueta de cierre del elemento <staff> y aplica los atributos correspondientes.

    +

    Identifica la primera y la última nota que forman parte de la ligadura (dentro del primer elemento <beam> del compás 3) y añade @xml:ids a ambos elementos <note>. + Estos deben ser valores únicos para cada @xml:id, por lo que para este ejemplo usamos los valores: "d4567" para el xml:id de la nota inicial y "d4568" para el xml:id de la nota final. + Añade un elemento de control <slur> después de la etiqueta de cierre del elemento <staff> y aplica los atributos correspondientes.

    diff --git a/_tutorials/102_incipit/102_incipit.json b/_tutorials/102_incipit/102_incipit.json index b50739594..75708d822 100644 --- a/_tutorials/102_incipit/102_incipit.json +++ b/_tutorials/102_incipit/102_incipit.json @@ -481,16 +481,16 @@ {"rule": "//mei:measure[4]/mei:staff/mei:layer/mei:note/mei:artic/@artic = 'acc'", "renderanyway": false, "hint": "Measure n=3: You need a @artic attribute with a value of acc on artic element."}, {"rule": "//mei:measure[4]/mei:staff/mei:layer/mei:note/mei:artic/@place = 'above'", "renderanyway": false, "hint": "Measure n=3: You need an @place attribute with a value of above on the artic element."}, {"rule": "count(//mei:measure[4]/mei:staff/mei:layer/mei:beam[1]/mei:note[1]/@*) = 4", "renderanyway": false, "hint": "You need four attributes on the first beamed note (@pname, @oct, @dur & @xml:id) of the first beam."}, - {"rule": "//mei:measure[4]/mei:staff/mei:layer/mei:beam[1]/mei:note[1]/@*[name()='xml:id'] = 'd1e4614'", "renderanyway": false, "hint": "You need a @xml:id attribute with a value of `d1e4614` on the first beamed note of the first beam."}, + {"rule": "//mei:measure[4]/mei:staff/mei:layer/mei:beam[1]/mei:note[1]/@*[name()='xml:id'] = 'd4567'", "renderanyway": false, "hint": "You need a @xml:id attribute with a value of `d4567` on the first beamed note of the first beam."}, {"rule": "count(//mei:measure[4]/mei:staff/mei:layer/mei:beam[1]/mei:note[2]/@*) = 4", "renderanyway": false, "hint": "You need four attributes on the second beamed note (@pname, @oct, @dur & @xml:id) of the first beam."}, - {"rule": "//mei:measure[4]/mei:staff/mei:layer/mei:beam[1]/mei:note[2]/@*[name()='xml:id'] = 'd1e4615'", "renderanyway": false, "hint": "You need a @xml:id attribute with a value of `d1e4615` on the second beamed note of the first beam."}, + {"rule": "//mei:measure[4]/mei:staff/mei:layer/mei:beam[1]/mei:note[2]/@*[name()='xml:id'] = 'd4568'", "renderanyway": false, "hint": "You need a @xml:id attribute with a value of `d4568` on the second beamed note of the first beam."}, {"rule": "count(//mei:measure[4]/mei:slur) = '1'", "renderanyway": false, "hint": "You need a slur element as child of measure."}, {"rule": "//mei:measure[4]/mei:staff/following-sibling::mei:slur", "renderanyway": false, "hint": "slur element has to follow the staff element."}, {"rule": "count(//mei:measure[4]/mei:slur/@*) = 4", "renderanyway": false, "hint": "You need four attributes on the slur element (@staff, @curvedir, @startid & @endid)."}, {"rule": "//mei:measure[4]/mei:slur/@staff = '1'", "renderanyway": false, "hint": "You need a @staff attribute with a value of 1 on slur."}, {"rule": "//mei:measure[4]/mei:slur/@curvedir = 'above'", "renderanyway": false, "hint": "You need a @curvedir attribute with a value of above on slur."}, - {"rule": "//mei:measure[4]/mei:slur/@startid = '#d1e4614'", "renderanyway": false, "hint": "You need a @startid attribute with a value of #d1e4614 on slur."}, - {"rule": "//mei:measure[4]/mei:slur/@endid = '#d1e4615'", "renderanyway": false, "hint": "You need an @endid attribute with a value of #d1e4615 on slur."} + {"rule": "//mei:measure[4]/mei:slur/@startid = '#d4567'", "renderanyway": false, "hint": "You need a @startid attribute with a value of #d4567 on slur."}, + {"rule": "//mei:measure[4]/mei:slur/@endid = '#d4568'", "renderanyway": false, "hint": "You need an @endid attribute with a value of #d4568 on slur."} ] } ], diff --git a/_tutorials/102_incipit/step-04/102_incipit_step-04-desc.html b/_tutorials/102_incipit/step-04/102_incipit_step-04-desc.html index 37247b3b6..5929a7122 100644 --- a/_tutorials/102_incipit/step-04/102_incipit_step-04-desc.html +++ b/_tutorials/102_incipit/step-04/102_incipit_step-04-desc.html @@ -9,7 +9,7 @@
  • @dur (duration) – e.g. “1” for whole note, “2” for half note, “4” for quarter note, “8” for eighth note, “16” for sixteenth note, … “2048” for 2048th note, use “4”
  • -

    Here is an example of how to encode a whole note C4: <note pname="c" oct="4" dur="1"></note>.

    +

    Here is an example of how to encode a whole note C4: <note pname="c" oct="4" dur="1"/>.

    In the editor below, please enter the encoding of the first note of the example inside the <layer> element.

    diff --git a/_tutorials/102_incipit/step-12/102_incipit_step-12-desc.html b/_tutorials/102_incipit/step-12/102_incipit_step-12-desc.html index 6a9a6a7b6..533d3be2a 100644 --- a/_tutorials/102_incipit/step-12/102_incipit_step-12-desc.html +++ b/_tutorials/102_incipit/step-12/102_incipit_step-12-desc.html @@ -8,20 +8,39 @@
  • A separate <slur> element.
  • -

    In this last step, you will use the second approach: Like dynamics, <slur> elements are control events. They are not encoded as child elements of the corresponding events that they are meant to control but are placed in most cases outside the staff elements.

    +

    In this last step, you will use the second approach: Like dynamics, <slur> elements are control events. They are not encoded as child elements of the corresponding events that they are meant to control but are placed in most cases outside the staff elements. + To still allow precise control over the placement of the slur in relation to the musical staff, the @staff attribute can be used. This attribute identifies the number of the staff to which the <slur> element is applied.

    -

    To indicate the starting point and end point of the slur, it is possible to apply a reference to the corresponding @xml:id of a <note> or - <chord> element. @xml:ids are identifiers with an arbitrary but unique character sequence that regularize the naming of an element throughout a document - and thus facilitate building links between elements and other resources. For <slur>s, a reference to the @xml:id of an element can be given via the - attributes @startid and @endid.

    +

    To indicate the starting point and end point of the slur, the @startid and @endid attributes can be used. + To do so, the values of the @startid and @endid attributes need to reference an attribute called @xml:id of the actual elements where the slur starts and ends. + @xml:ids are identifiers with an arbitrary but unique character sequence that regularize the naming of an element throughout a document + and thus facilitate building links between elements and other resources. This is a common reference mechanism in XML: applying an @xml:id to one element, and referencing it from another element.

    -

    Along with @startid and @endid, the following attributes should be used in this step:

    +

    For <slur>s, the @startid attribute contains a reference to the @xml:id of the element where the slur begins, and the @endid attribute contains a reference to the @xml:id of the element where the slur ends.

    + +

    For example, if you have a <note> element with an @xml:id of "note-1" and another <note> element with an @xml:id of "note-2", + you can create a <slur> that starts at the first note and ends at the second note by setting the @startid attribute to "#note-1" and the @endid attribute to "#note-2". + Note that the reference hash # is only used with the referencing attributes, not with the @xml:ids itself:

    + +

    + <note xml:id="note-1" pname="g" oct="4" dur="4"/>
    + <note xml:id="note-2" pname="a" oct="4" dur="4"/>
    + ...
    + <slur staff="1" curvedir="above" startid="#note-1" endid="#note-2"/> +

    + +

    Since slurs can be curved in different directions, the @curvedir attribute describes a curve with a generic term indicating the direction of curvature of the slur: “above”, “below” or “mixed”.

    + + +

    So the following attributes should be used with the <slur> element in this step:

    -

    Please identify the first and the last note to which the slur is attached (inside the first <beam> element of measure 3) and add @xml:ids to both <note> elements. Set a unique value for each @xml:id, for this example you can use the values: “d1e4614”, “d1e4615”. Add a <slur> control element after the closing tag of <staff> element and apply the corresponding attributes.

    +

    Please identify the first and the last note to which the slur is attached (inside the first <beam> element of measure 3) and add @xml:ids to both <note> elements. + These need to be unique values for each @xml:id, so for this example we use the values: "d4567" for the xml:id of the start note and "d4568" for the xml:id of the end note of the slur. + Add a <slur> control element after the closing tag of <staff> element and apply the corresponding attributes.

    diff --git a/_tutorials/102_incipit/step-12/102_incipit_step-12.xml b/_tutorials/102_incipit/step-12/102_incipit_step-12.xml index 2f379bfbf..369388376 100644 --- a/_tutorials/102_incipit/step-12/102_incipit_step-12.xml +++ b/_tutorials/102_incipit/step-12/102_incipit_step-12.xml @@ -60,8 +60,8 @@ - - + + @@ -74,7 +74,7 @@ - +