Skip to content

Conversation

@rettinghaus
Copy link
Contributor

This PR makes sure all articulations previously unhandled are exported as other-articulation.

@rettinghaus rettinghaus force-pushed the xml/articulations branch 2 times, most recently from 7161b96 to 7d63942 Compare March 23, 2025 16:43
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Mar 23, 2025
export all remaining articulations as other-articulation

Backport of musescore#27314
@ghost ghost requested a review from miiizen March 24, 2025 09:47
@ghost ghost added the MusicXML label Mar 24, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Mar 29, 2025
export all remaining articulations as other-articulation

Backport of musescore#27314
@ghost ghost added this to MuseScore Studio 4.6 Apr 1, 2025
@ghost ghost moved this to In Progress in MuseScore Studio 4.6 Apr 1, 2025
@rettinghaus rettinghaus marked this pull request as draft August 12, 2025 16:25
@rettinghaus rettinghaus marked this pull request as ready for review August 17, 2025 13:01
@rettinghaus rettinghaus requested a review from miiizen August 17, 2025 13:01
AsciiStringView noteheadName = SymNames::nameForSymId(sid);
otherArtic += String(u" smufl=\"%1\"").arg(String::fromAscii(noteheadName.ascii()));
m_xml.tagRaw(otherArtic);
m_xml.endElement();
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

Copy link
Member

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.

Copy link
Contributor Author

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.

Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 17, 2025
export all remaining articulations as other-articulation

Backport of musescore#27314
@cbjeukendrup cbjeukendrup merged commit 6b4c4d0 into musescore:master Aug 17, 2025
13 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Needs porting in MuseScore Studio 4.6 Aug 17, 2025
@rettinghaus rettinghaus deleted the xml/articulations branch August 17, 2025 16:34
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 17, 2025
export all remaining articulations as other-articulation

Backport of musescore#27314
RomanPudashkin pushed a commit to RomanPudashkin/MuseScore that referenced this pull request Aug 27, 2025
@RomanPudashkin RomanPudashkin mentioned this pull request Aug 27, 2025
@RomanPudashkin RomanPudashkin moved this from Needs porting to Done in MuseScore Studio 4.6 Aug 27, 2025
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 29, 2025
Backport of musescore#29447, fixing issues introduced with the backport of musescore#27314
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 29, 2025
Backport of musescore#29447, fixing issues introduced with the backport of musescore#27314
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 29, 2025
Backport of musescore#29447, fixing issues introduced with the backport of musescore#27314
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 29, 2025
Backport of musescore#29447, fixing issues introduced with the backport of musescore#27314
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants