Swing command affects grace note duration

• Feb 5, 2020 - 01:20
Reported version
3.4
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
Yes
Project

When a swing command is applied to a score, any acciaccaturas attached to notes falling on the offbeat are unnecessarily lengthened. Effect is exaggerated when using a swing ratio larger than the default of 60% (at high enough values acciaccaturas can last longer than the notes they're attached to). Attached score has 16th swing with a ratio of 67%.

Attachment Size
Swung Grace Note Glitch.mscz 14.33 KB

Comments

Frequency Once Few
Severity S4 - Minor S3 - Major
Workaround No Yes

I've encountered this bug as well. I've explored why this happens; it's most likely because swing doesn't change the behavior of grace notes. In fact, the grace note will play exactly when it would it non-swing. It seems this issue and https://musescore.org/en/node/307719 are related.
Unfortunately, this behavior is replicated in MIDI exports. Not great.

The workaround is to make a tuplet where the swung 8th would be and then putting a grace note on the corresponding tuplet note. In addition to the workaround, the attached score explores the glitch in depth.

Attachment Size
Swing-Grace_Note_glitch+workaround.mscz 20.45 KB