<data.SCALEDEGREE>

Scale degree values.
Module
MEI
Used by
These class-based attributes use data.SCALEDEGREE
att.harmonicFunction/@degCaptures scale degree information using Humdrum **deg syntax -- an optional indicator of melodic approach (^ = ascending approach, v = descending approach), a scale degree value (1 = tonic ... 7 = leading tone), and an optional indication of chromatic alteration, "1", "v7", "^1", or "v5+", for example. The amount of chromatic alternation is not indicated.
Declaration
<macroSpec ident="data.SCALEDEGREE" module="MEI" type="dt">
<desc>Scale degree values.</desc>
<content>
<rng:data type="token">
<rng:param name="pattern">(\^|v)?[1-7](\+|\-)?</rng:param>
</rng:data>
</content>
</macroSpec>