-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[MusicXML] export all articulations #27314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
7161b96 to
7d63942
Compare
export all remaining articulations as other-articulation Backport of musescore#27314
export all remaining articulations as other-articulation Backport of musescore#27314
src/importexport/musicxml/internal/musicxml/export/exportmusicxml.cpp
Outdated
Show resolved
Hide resolved
e942162 to
dbfd087
Compare
dbfd087 to
2a4133d
Compare
2a4133d to
5e492ec
Compare
| AsciiStringView noteheadName = SymNames::nameForSymId(sid); | ||
| otherArtic += String(u" smufl=\"%1\"").arg(String::fromAscii(noteheadName.ascii())); | ||
| m_xml.tagRaw(otherArtic); | ||
| m_xml.endElement(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not super familiar with the MusicXML export code, but when comparing this to line 3536, I wonder why there is an endElement here and not there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. I removed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cbjeukendrup turns out, the endElement is needed there, although I should have used articulations.etag. Working on a fix right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good. Perhaps we should also have a unit test here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix with test ready in #29447.
5e492ec to
c8f10bd
Compare
export all remaining articulations as other-articulation Backport of musescore#27314
export all remaining articulations as other-articulation Backport of musescore#27314
[MusicXML] export all articulations
Backport of musescore#29447, fixing issues introduced with the backport of musescore#27314
Backport of musescore#29447, fixing issues introduced with the backport of musescore#27314
Backport of musescore#29447, fixing issues introduced with the backport of musescore#27314
Backport of musescore#29447, fixing issues introduced with the backport of musescore#27314
This PR makes sure all articulations previously unhandled are exported as
other-articulation.