martha-thomae / JS_ScUp

MIT License
2 stars 0 forks source link

Add support for mensur within staffDef #11

Open martha-thomae opened 4 years ago

martha-thomae commented 4 years ago

Mensuration can be encoded using staffDef's attributes, but they can also be encoded using mensur as a child of staffDef.

JRegimbal commented 4 years ago

Is there functionality in mensur that isn't in the staffDef attributes?

martha-thomae commented 4 years ago

@JRegimbal, the functionality is the same regarding the encoding of the mensuration (you use similar attributes in both). But <mensur> allows you to encode a @facs attribute to point to the zone where the mensuration sign appears. This cannot be done with <staffDef>. Even if it could be done, lots of information can be provided in <staffDef> (including, key signature, clef, and mensuration), so one would not be sure what this @facs attribute in <staffDef> is referring to.