You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
expose the id attribute of dynamics, fermata and accidental-mark in mx::api #403
MusicXML 3.1 gives many elements an optional id attribute. mx::api exposes the id of elements that have a matching mx::api type (#399). <dynamics>, <fermata> and <accidental-mark> were left out.
Today the value is dropped. Reading a file loses it, and there is no way to author one.
These three elements do not have their own type in mx::api. Each one becomes a MarkData with a MarkType value (src/include/mx/api/MarkData.h). Most other MarkType values come from elements that have no id attribute.
MarkDataChoice (src/include/mx/api/MarkDataChoice.h) carries the data that applies to only some MarkType values.
<dynamics> appears both as a <direction-type> child and inside <notations>. Both have an id.
Activity
mx::api. #399fix: write back tuplet position data, midi-unpitched and accidental m…