mei:vel

(velocity) – MIDI Note-on/off velocity.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
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.
form restriction of xs:token required
Indicates whether this is note-on or note-off velocity
data.
label xs:string optional
Provides a name or label for an element. The value may be any
string.
layer restriction of list of xs:positiveInteger optional
Identifies the layer to which a feature applies.
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.
num mei:mei_data.MIDIVALUE required
MIDI number in the range set by data.MIDIVALUE.
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.
staff restriction of list of xs:positiveInteger optional
Signifies the staff on which a notated event occurs or to which a control
event applies. Mandatory when applicable.
synch restriction of list of mei:mei_data.URI optional
Points to elements that are synchronous with the current
element.
tstamp mei:mei_data.BEAT optional
Encodes the onset time in terms of musical time, i.e.,
beats[.fractional_beat_part].
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.
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.

Used By

Element mei:midi

Source

<xs:element name="vel">
  <xs:annotation>
    <xs:documentation>(velocity) – MIDI Note-on/off velocity.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attributeGroup ref="mei:mei_att.common.anl.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.common.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.midi.event.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.midinumber.attributes"/>
    <xs:attribute name="form" use="required">
      <xs:annotation>
        <xs:documentation>Indicates whether this is note-on or note-off velocity data.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="on">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="off">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample