Skip to content

Commit

Permalink
Add 2 Couperin ornaments
Browse files Browse the repository at this point in the history
Tremblement appuyé (Couperin), Pincé (Couperin)

Backport of PR musescore#10412
  • Loading branch information
sammik authored and Jojo-Schmitz committed Feb 24, 2022
1 parent 4e87d35 commit c8614a4
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
2 changes: 2 additions & 0 deletions fonttools/smufl2sym-in-trans.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,12 +307,14 @@
"metNoteWhole": null,
"ornamentMordent": null,
"ornamentMordentInverted": null,
"ornamentPinceCouperin": null,
"ornamentPrecompMordentUpperPrefix": null,
"ornamentPrecompSlide": null,
"ornamentShake3": null,
"ornamentShakeMuffat1": null,
"ornamentShortTrill": null,
"ornamentTremblement": null,
"ornamentTremblementCouperin": null,
"ornamentTrill": null,
"ornamentTurn": null,
"ornamentTurnInverted": null,
Expand Down
2 changes: 2 additions & 0 deletions importexport/musicxml/exportxml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2613,9 +2613,11 @@ static QString symIdToOrnam(const SymId sid)
return "inverted-mordent";
break;
case SymId::ornamentTremblement:
case SymId::ornamentTremblementCouperin:
return "inverted-mordent long=\"yes\"";
break;
case SymId::ornamentPrallMordent:
case SymId::ornamentPinceCouperin:
return "mordent long=\"yes\"";
break;
case SymId::ornamentUpPrall:
Expand Down
4 changes: 3 additions & 1 deletion libmscore/articulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,9 @@ bool Articulation::isOrnament() const
|| _symId == SymId::ornamentPrallDown
|| _symId == SymId::ornamentPrecompSlide
|| _symId == SymId::ornamentShake3
|| _symId == SymId::ornamentShakeMuffat1;
|| _symId == SymId::ornamentShakeMuffat1
|| _symId == SymId::ornamentTremblementCouperin
|| _symId == SymId::ornamentPinceCouperin;
}

//---------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions libmscore/rendermidi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1786,6 +1786,9 @@ std::vector<OrnamentExcursion> excursions = {
,{SymId::ornamentShake3, any, _32nd, {1,0}, {1,0}, true, true, {}}
,{SymId::ornamentShakeMuffat1, any, _32nd, {1,0}, {1,0}, true, true, {}}

,{ SymId::ornamentTremblementCouperin,any, _32nd, { 1, 1 }, { 0, 1 }, true, true, { 0, 0 } }
,{ SymId::ornamentPinceCouperin, any, _32nd, { 0 }, { 0, -1 }, true, true, { 0, 0 } }

// [1] Some of the articulations/ornaments in the excursions table above come from
// Baroque Music, Style and Performance A Handbook, by Robert Donington,(c) 1982
// ISBN 0-393-30052-8, W. W. Norton & Company, Inc.
Expand Down
4 changes: 2 additions & 2 deletions libmscore/sym.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5210,7 +5210,7 @@ const std::array<const char*, int(SymId::lastSym)+1> Sym::symUserNames = { {
"Oblique straight line tilted NW-SE",
"Oblique straight line tilted SW-NE",
"Oriscus",
"Pincé (Couperin)",
QT_TRANSLATE_NOOP("symUserNames", "Pincé (Couperin)"),
"Port de voix",
"Supported appoggiatura trill",
"Supported appoggiatura trill with two-note suffix",
Expand Down Expand Up @@ -5252,7 +5252,7 @@ const std::array<const char*, int(SymId::lastSym)+1> Sym::symUserNames = { {
"Ornament top right concave stroke",
"Ornament top right convex stroke",
QT_TRANSLATE_NOOP("symUserNames", "Tremblement"),
"Tremblement appuyé (Couperin)",
QT_TRANSLATE_NOOP("symUserNames", "Tremblement appuyé (Couperin)"),
QT_TRANSLATE_NOOP("symUserNames", "Trill"),
QT_TRANSLATE_NOOP("symUserNames", "Turn"),
QT_TRANSLATE_NOOP("symUserNames", "Inverted turn"),
Expand Down
2 changes: 2 additions & 0 deletions mscore/menus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,8 @@ PalettePanel* MuseScore::newOrnamentsPalettePanel()
SymId::ornamentPrecompSlide,
SymId::ornamentShake3,
SymId::ornamentShakeMuffat1,
SymId::ornamentTremblementCouperin,
SymId::ornamentPinceCouperin,
};
for (auto i : art) {
Articulation* s = new Articulation(i, gscore);
Expand Down

0 comments on commit c8614a4

Please sign in to comment.