Skip to content

Commit

Permalink
Changing MusicXML export of "Soft Accent Tenuto Staccato"
Browse files Browse the repository at this point in the history
from `{ "staccato", "soft-accent", "tenuto" }` to `{ "soft-accent", "detached-legato" }`, and changing the order a bit to match how musescore#16828 is doing it for master now.
Adds to an earlier backport of musescore#8190 to 3.x
  • Loading branch information
asattely authored and Jojo-Schmitz committed Mar 15, 2023
1 parent 7ecbf16 commit 8a11fca
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions importexport/musicxml/exportxml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2535,6 +2535,21 @@ static std::vector<QString> symIdToArtics(const SymId sid)
return { "soft-accent" };
break;

case SymId::articSoftAccentStaccatoAbove:
case SymId::articSoftAccentStaccatoBelow:
return { "soft-accent", "staccato" };
break;

case SymId::articSoftAccentTenutoAbove:
case SymId::articSoftAccentTenutoBelow:
return { "soft-accent", "tenuto" };
break;

case SymId::articSoftAccentTenutoStaccatoAbove:
case SymId::articSoftAccentTenutoStaccatoBelow:
return { "soft-accent", "detached-legato" };
break;

case SymId::articStressAbove:
case SymId::articStressBelow:
return { "stress" };
Expand Down Expand Up @@ -2565,22 +2580,6 @@ static std::vector<QString> symIdToArtics(const SymId sid)
return { "tenuto", "accent" };
break;

case SymId::articSoftAccentStaccatoAbove:
case SymId::articSoftAccentStaccatoBelow:
return { "staccato", "soft-accent" };
break;

case SymId::articSoftAccentTenutoAbove:
case SymId::articSoftAccentTenutoBelow:
return { "soft-accent", "tenuto" };
break;


case SymId::articSoftAccentTenutoStaccatoAbove:
case SymId::articSoftAccentTenutoStaccatoBelow:
return { "staccato", "soft-accent", "tenuto" };
break;

default:
; // nothing
break;
Expand Down

0 comments on commit 8a11fca

Please sign in to comment.