Diatonic transposition requires both trans.diat and trans.semi attributes in order to distinguish the difference, for example, between a transposition from C to C♯ and one from C to D♭.
<classSpec ident="att.transposition" module="MEI.shared" type="atts">
<desc>Attributes that describe transposition.</desc>
<attList org="group">
<attDef ident="trans.diat" usage="opt">
<desc>Records the amount of diatonic pitch shift, e.g., C to C♯ = 0, C to D♭ = 1, necessary
to calculate the sounded pitch from the written one.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:data type="decimal"/>
</datatype>
</attDef>
<attDef ident="trans.semi" usage="opt">
<desc>Records the amount of pitch shift in semitones, e.g., C to C♯ = 1, C to D♭ = 1,
necessary to calculate the sounded pitch from the written one.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:data type="decimal"/>
</datatype>
</attDef>
</attList>
<remarks>
<p part="N">Diatonic transposition requires both
<att scheme="TEI">trans.diat</att> and
<att scheme="TEI">trans.semi</att>
attributes in order to distinguish the difference, for example, between a transposition
from
C to C♯ and one from C to D♭.</p>
</remarks>
</classSpec>