Interval direction only:
Interval direction, quality, and size:
Interval in half steps:
<dataSpec xmlns="http://www.tei-c.org/ns/1.0" rend="add" ident="data.INTERVAL.MELODIC" module="MEI">
<desc xml:lang="en">A token indicating direction of the interval but not its precise value, a diatonic
interval (with optional direction and quality), or a decimal value in half steps.
Decimal
values are permitted to accommodate micro-tuning.</desc>
<content>
<alternate minOccurs="1" maxOccurs="1"><dataRef name="token">
<dataFacet name="pattern" value="u|d|s|n|sd|su"/>
</dataRef>
<dataRef name="token">
<dataFacet name="pattern" value="(\+|\-)?([AdMmP])?[0-9]+"/>
</dataRef>
<dataRef name="token">
<dataFacet name="pattern" value="(\+|\-)?\d+(\.\d+)?hs"/>
</dataRef></alternate>
</content>
<remarks xml:lang="en">
<p>
<list>
<head>Interval direction only:</head>
<item>u = up/higher,</item>
<item>d = down/lower,</item>
<item>s = same,</item>
<item>n = neutral/unknown,</item>
<item>sd = same or lower (but not higher),</item>
<item>su = same or higher (but not lower)</item>
</list>
</p>
<p>
<list>
<head>Interval direction, quality, and size:</head>
<item>optional sign,</item>
<item>
<list>
<head>optional quality indicator:</head>
<item>A = augmented,</item>
<item>d = diminished,</item>
<item>M = major,</item>
<item>m = minor,</item>
<item>P = perfect</item>
</list>
</item>
<item>integer value</item>
</list>
</p>
<p>
<list>
<head>Interval in half steps:</head>
<item>optional sign,</item>
<item>decimal value</item>
<item>"hs"</item>
</list>
</p>
</remarks>
</dataSpec>