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). <beam> was left out.
Today the value is dropped. Reading a file loses it, and there is no way to author one.
NoteData::beams (src/include/mx/api/NoteData.h) is a std::vector<Beam>, and Beam is an enum. A beam carries no other data in mx::api, so there is nowhere to put an id.
MusicXML 3.1 gives many elements an optional
idattribute.mx::apiexposes theidof elements that have a matchingmx::apitype (#399).<beam>was left out.Today the value is dropped. Reading a file loses it, and there is no way to author one.
NoteData::beams(src/include/mx/api/NoteData.h) is astd::vector<Beam>, andBeamis an enum. A beam carries no other data inmx::api, so there is nowhere to put anid.