Skip to content

Commit

Permalink
Merge pull request music-encoding#1569 from rettinghaus/dev/harpPedal
Browse files Browse the repository at this point in the history
schema: extract data class for harp pedal position
  • Loading branch information
musicEnfanthen authored Dec 20, 2024
2 parents 2e7985d + 84f3728 commit 18ce61c
Showing 1 changed file with 37 additions and 77 deletions.
114 changes: 37 additions & 77 deletions source/modules/MEI.cmn.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,22 @@
</valList>
</content>
</macroSpec>
<macroSpec ident="data.HARPPEDALPOSITION" module="MEI.cmn" type="dt">
<desc xml:lang="en">Indicates the pedal setting for a harp strings.</desc>
<content>
<valList type="closed">
<valItem ident="f">
<desc xml:lang="en">Flat.</desc>
</valItem>
<valItem ident="n">
<desc xml:lang="en">Natural.</desc>
</valItem>
<valItem ident="s">
<desc xml:lang="en">Sharp.</desc>
</valItem>
</valList>
</content>
</macroSpec>
<macroSpec ident="data.STAFFITEM.cmn" module="MEI.cmn" type="dt">
<desc xml:lang="en">Items in the CMN repertoire that may be printed near a staff.</desc>
<content>
Expand Down Expand Up @@ -583,108 +599,52 @@
<attList>
<attDef ident="c" usage="opt">
<desc xml:lang="en">Indicates the pedal setting for the harp’s C strings.</desc>
<datatype>
<rng:ref name="data.HARPPEDALPOSITION"/>
</datatype>
<defaultVal>n</defaultVal>
<valList type="closed">
<valItem ident="f">
<desc xml:lang="en">Flat.</desc>
</valItem>
<valItem ident="n">
<desc xml:lang="en">Natural.</desc>
</valItem>
<valItem ident="s">
<desc xml:lang="en">Sharp.</desc>
</valItem>
</valList>
</attDef>
<attDef ident="d" usage="opt">
<desc xml:lang="en">Indicates the pedal setting for the harp’s D strings.</desc>
<datatype>
<rng:ref name="data.HARPPEDALPOSITION"/>
</datatype>
<defaultVal>n</defaultVal>
<valList type="closed">
<valItem ident="f">
<desc xml:lang="en">Flat.</desc>
</valItem>
<valItem ident="n">
<desc xml:lang="en">Natural.</desc>
</valItem>
<valItem ident="s">
<desc xml:lang="en">Sharp.</desc>
</valItem>
</valList>
</attDef>
<attDef ident="e" usage="opt">
<desc xml:lang="en">Indicates the pedal setting for the harp’s E strings.</desc>
<datatype>
<rng:ref name="data.HARPPEDALPOSITION"/>
</datatype>
<defaultVal>n</defaultVal>
<valList type="closed">
<valItem ident="f">
<desc xml:lang="en">Flat.</desc>
</valItem>
<valItem ident="n">
<desc xml:lang="en">Natural.</desc>
</valItem>
<valItem ident="s">
<desc xml:lang="en">Sharp.</desc>
</valItem>
</valList>
</attDef>
<attDef ident="f" usage="opt">
<desc xml:lang="en">Indicates the pedal setting for the harp’s F strings.</desc>
<datatype>
<rng:ref name="data.HARPPEDALPOSITION"/>
</datatype>
<defaultVal>n</defaultVal>
<valList type="closed">
<valItem ident="f">
<desc xml:lang="en">Flat.</desc>
</valItem>
<valItem ident="n">
<desc xml:lang="en">Natural.</desc>
</valItem>
<valItem ident="s">
<desc xml:lang="en">Sharp.</desc>
</valItem>
</valList>
</attDef>
<attDef ident="g" usage="opt">
<desc xml:lang="en">Indicates the pedal setting for the harp’s G strings.</desc>
<datatype>
<rng:ref name="data.HARPPEDALPOSITION"/>
</datatype>
<defaultVal>n</defaultVal>
<valList type="closed">
<valItem ident="f">
<desc xml:lang="en">Flat.</desc>
</valItem>
<valItem ident="n">
<desc xml:lang="en">Natural.</desc>
</valItem>
<valItem ident="s">
<desc xml:lang="en">Sharp.</desc>
</valItem>
</valList>
</attDef>
<attDef ident="a" usage="opt">
<desc xml:lang="en">Indicates the pedal setting for the harp’s A strings.</desc>
<datatype>
<rng:ref name="data.HARPPEDALPOSITION"/>
</datatype>
<defaultVal>n</defaultVal>
<valList type="closed">
<valItem ident="f">
<desc xml:lang="en">Flat.</desc>
</valItem>
<valItem ident="n">
<desc xml:lang="en">Natural.</desc>
</valItem>
<valItem ident="s">
<desc xml:lang="en">Sharp.</desc>
</valItem>
</valList>
</attDef>
<attDef ident="b" usage="opt">
<desc xml:lang="en">Indicates the pedal setting for the harp’s B strings.</desc>
<datatype>
<rng:ref name="data.HARPPEDALPOSITION"/>
</datatype>
<defaultVal>n</defaultVal>
<valList type="closed">
<valItem ident="f">
<desc xml:lang="en">Flat.</desc>
</valItem>
<valItem ident="n">
<desc xml:lang="en">Natural.</desc>
</valItem>
<valItem ident="s">
<desc xml:lang="en">Sharp.</desc>
</valItem>
</valList>
</attDef>
</attList>
</classSpec>
Expand Down

0 comments on commit 18ce61c

Please sign in to comment.