data.INTERVAL.MELODIC

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.
Module
Used by
Remarks

Interval direction only:

  • u = up/higher,
  • d = down/lower,
  • s = same,
  • n = neutral/unknown,
  • sd = same or lower (but not higher),
  • su = same or higher (but not lower)

Interval direction, quality, and size:

  • optional sign,
  • optional quality indicator:
    • A = augmented,
    • d = diminished,
    • M = major,
    • m = minor,
    • P = perfect
  • integer value

Interval in half steps:

  • optional sign,
  • decimal value
  • "hs"

Declaration
<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>