Skip to content

Commit

Permalink
Fix GH#24941: revert exchange of staccatissimo and spiccato
Browse files Browse the repository at this point in the history
Backport of musescore#25428
  • Loading branch information
Jojo-Schmitz committed Feb 27, 2025
1 parent 60280a3 commit 8553937
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions importexport/musicxml/exportxml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2863,6 +2863,8 @@ static std::vector<QString> symIdToArtics(const SymId sid)
return { "staccato" };
break;

case SymId::articStaccatissimoAbove:
case SymId::articStaccatissimoBelow:
case SymId::articStaccatissimoWedgeAbove:
case SymId::articStaccatissimoWedgeBelow:
return { "staccatissimo" };
Expand Down Expand Up @@ -2933,8 +2935,6 @@ static std::vector<QString> symIdToArtics(const SymId sid)
return { "tenuto", "accent" };
break;

case SymId::articStaccatissimoAbove:
case SymId::articStaccatissimoBelow:
case SymId::articStaccatissimoStrokeAbove:
case SymId::articStaccatissimoStrokeBelow:
return { "spiccato" };
Expand Down
4 changes: 2 additions & 2 deletions importexport/musicxml/importmxmlpass2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1288,8 +1288,8 @@ static bool convertArticulationToSymId(const QString& mxmlName, SymId& id)
map["staccato"] = SymId::articStaccatoAbove;
map["tenuto"] = SymId::articTenutoAbove;
map["detached-legato"] = SymId::articTenutoStaccatoAbove;
map["staccatissimo"] = SymId::articStaccatissimoWedgeAbove;
map["spiccato"] = SymId::articStaccatissimoAbove;
map["staccatissimo"] = SymId::articStaccatissimoAbove;
map["spiccato"] = SymId::articStaccatissimoStrokeAbove;
map["stress"] = SymId::articStressAbove;
map["unstress"] = SymId::articUnstressAbove;
map["soft-accent"] = SymId::articSoftAccentAbove;
Expand Down

0 comments on commit 8553937

Please sign in to comment.