Documentation
Alphabetic list of elements (v1.0)
Graphic_event |
<!ELEMENT graphic_event EMPTY> |
Element graphic_event is used to map the occurrence of a music event in the graphic file and to link it to the spine structure.
Attributes
- event_ref, a mandatory attribute to identify the spine event which the graphic event should be linked to.
- upper_left_x, a mandatory attribute to define the horizontal coordinate of the upper left corner of the bounding box which surrounds the event. Value 0 is given to the leftmost points of the image. The measurement unit is the one defined in the corresponding graphic_instance container element.
- upper_left_y, a mandatory attribute to define the vertical coordinate of the upper left corner of the bounding box which surrounds the event. Value 0 is given to the topmost points of the image. The measurement unit is the one defined in the corresponding graphic_instance container element.
- lower_right_x, a mandatory attribute to define the horizontal coordinate of the lower right corner of the bounding box which surrounds the event. The measurement unit is the one defined in the corresponding graphic_instance container element.
- lower_right_y, a mandatory attribute to define the vertical coordinate of the lower right corner of the bounding box which surrounds the event. The measurement unit is the one defined in the corresponding graphic_instance container element.
- highlight_color, an optional attribute to specify a color for the bounding box, by using an RGB code both in decimal and in hexadecimal values (e.g., respectively "255,000,000" or "#FF0000" for red).
- description, an optional attribute used to provide a textual description of the event.
Laboratorio di Informatica Musicale | |||||
Dipartimento di Informatica Università degli Studi di Milano Via G. Celoria, 18 - 20133 Milano, ITALY |
Goffredo Haus, PAR1599 chair Phone: +39 02 50316 222 E-mail: goffredo.haus@unimi.it |
Luca A. Ludovico, PAR1599 vice-chair Phone: +39 02 50316 382 E-mail: luca.ludovico@unimi.it |
Laboratory Phone: +39 02 50316 382 E-mail: lim@di.unimi.it |