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>
.
<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:id
s 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:
@staff
- el número de identificación del pentagrama al que se aplica un elemento, por ejemplo, "1"
en este caso,@curvedir
(dirección de la curva) - describe una curva con un término genérico que indica la dirección de la curvatura: ”above"
, "below"
o "mixed"
,@startid
- referencia al xml:id
de la nota de inicio de la ligadura, de la forma: #xml:id
(nótese el signo #
),@endid
- referencia al xml:id
de la nota final de la ligadura, de la forma: #xml:id
(nótese el signo #
).@curvedir
(dirección de la curva) - describe una curva con un término genérico que indica la dirección de la curvatura: ”above"
, "below"
o "mixed"
,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:id
s 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:id
s 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.
@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.
<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:id
s 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:id
s 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:id
s 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:
@staff
– the identification number of the staff to which an element is applied, e.g. “1”
in this case,@curvedir
(curve direction) – describes a curve with a generic term indicating the direction of curvature: “above”
, “below”
or “mixed”
,@startid
– reference to the xml:id
of the start note of the slur, in the form: #xml:id
(note the hash #
),@endid
– reference to the xml:id
of the ending note of the slur, in the form: #xml:id
(note the hash #
).@curvedir
(curve direction) – describes a curve with a generic term indicating the direction of curvature of the slur: “above”
, “below”
or “mixed”
,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:id
s 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:id
s 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.