mei:curve

A curved line that cannot be represented by a more specific element, such as
a slur.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
bezier restriction of list of union of(xs:decimal, xs:decimal) optional
Records the placement of Bezier control points as a series of pairs of
space-separated values; e.g., 19 45 -32 118.
bulge restriction of list of union of(xs:decimal, mei:mei_data.PERCENT) optional
Describes a curve as one or more pairs of values with respect to an
imaginary line connecting the starting and ending points of the curve. The first value
captures a distance to the left (positive value) or right (negative value) of the line,
expressed in virtual units. The second value of each pair represents a point along the
line, expressed as a percentage of the line's length. N.B. An MEI virtual unit (VU) is
half the distance between adjacent staff lines.
color mei:mei_data.COLOR optional
Used to indicate visual appearance. Do not confuse this with the musical
term 'color' as used in pre-CMN notation.
copyof mei:mei_data.URI optional
Points to an element of which the current element is a
copy.
corresp restriction of list of mei:mei_data.URI optional
Used to point to other elements that correspond to this one in a generic
fashion.
curvedir restriction of xs:token optional
Describes a curve with a generic term indicating the direction of
curvature.
endho mei:mei_data.MEASUREMENTREL optional
Records the horizontal adjustment of a feature's
programmatically-determined end point.
endid mei:mei_data.URI optional
Indicates the final element in a sequence of events to which the feature
applies.
endto mei:mei_data.TSTAMPOFFSET optional
Records a timestamp adjustment of a feature's programmatically-determined
end point.
endvo mei:mei_data.MEASUREMENTREL optional
Records a vertical adjustment of a feature's programmatically-determined
end point.
facs restriction of list of mei:mei_data.URI optional
Permits the current element to reference a facsimile surface or image zone
which corresponds to it.
ho mei:mei_data.MEASUREMENTREL optional
Records a horizontal adjustment to a feature's programmatically-determined
location in terms of staff interline distance; that is, in units of 1/2 the distance
between adjacent staff lines.
label xs:string optional
Provides a name or label for an element. The value may be any
string.
lform mei:mei_data.LINEFORM optional
Describes the line style of a curve.
lwidth mei:mei_data.LINEWIDTH optional
Width of a curved line.
n optional
Provides a number-like designation for an element.
next restriction of list of mei:mei_data.URI optional
Used to point to the next event(s) in a user-defined
collection.
prev restriction of list of mei:mei_data.URI optional
Points to the previous event(s) in a user-defined
collection.
sameas restriction of list of mei:mei_data.URI optional
Points to an element that is the same as the current element but is not a
literal copy of the current element.
startho mei:mei_data.MEASUREMENTREL optional
Records the horizontal adjustment of a feature's
programmatically-determined start point.
startid mei:mei_data.URI optional
Holds a reference to the first element in a sequence of events to which
the feature applies.
startto mei:mei_data.TSTAMPOFFSET optional
Records a timestamp adjustment of a feature's programmatically-determined
start point.
startvo mei:mei_data.MEASUREMENTREL optional
Records a vertical adjustment of a feature's programmatically-determined
start point.
subtype xs:NMTOKEN optional
Provide any sub-classification for the element, additional to that given
by its type attribute.
synch restriction of list of mei:mei_data.URI optional
Points to elements that are synchronous with the current
element.
to mei:mei_data.TSTAMPOFFSET optional
Records a timestamp adjustment of a feature's programmatically-determined
location in terms of musical time; that is, beats.
type xs:NMTOKEN optional
Characterizes the element in some sense, using any convenient
classification scheme or typology.
vo mei:mei_data.MEASUREMENTREL optional
Records the vertical adjustment of a feature's programmatically-determined
location in terms of staff interline distance; that is, in units of 1/2 the distance
between adjacent staff lines.
when mei:mei_data.URI optional
Indicates the point of occurrence of this feature along a time line. Its
value must be the ID of a when element elsewhere in the document.
x xs:decimal optional
Encodes an x coordinate for a feature in an output coordinate system. When
it is necessary to record the placement of a feature in a facsimile image, use the facs
attribute.
x2 xs:decimal optional
Encodes the optional 2nd x coordinate.
xml:base mei:mei_data.URI optional
Provides a base URI reference with which applications can resolve relative
URI references into absolute URI references.
xml:id xs:ID optional
Regularizes the naming of an element and thus facilitates building links
between it and other resources. Each id attribute within a document must have a unique
value.
y xs:decimal optional
Encodes an y coordinate for a feature in an output coordinate system. When
it is necessary to record the placement of a feature in a facsimile image, use the facs
attribute.
y2 xs:decimal optional
Encodes the optional 2nd y coordinate.

Used By

Source

<xs:element name="curve" substitutionGroup="mei:mei_model.graphicprimitiveLike">
  <xs:annotation>
    <xs:documentation>A curved line that cannot be represented by a more specific element, such as a slur.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attributeGroup ref="mei:mei_att.common.anl.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.color.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.common.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.curvature.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.curverend.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.facsimile.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.startendid.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.typed.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.visualoffset.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.visualoffset2.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.xy.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.xy2.attributes"/>
  </xs:complexType>
</xs:element>

Sample