Swing - Piano Roll Editor - Incompatibility
1) Open the attached score and see for yourself
1) Create a new score
2) Enable Swing:
2.1)Right click anywhere, go to "Style -> Score -> Swing" and hit "eighth note" (so Swing is globally activated)
2.2) Add a local "Swing" Text at the beginning of your score
3) Add some notes, preferably eighth notes so Swing applies correctly
4) Select those notes and right click. Open the Piano Roll Editor (PRE)
5) All of those notes should still be selected in the PRE. Transpose the grouped notes by dragging them up or down with your mouse and hit okay
Expected result: Swing should still apply to those notes
Actual result: Swing does not apply to the transposed group anymore
After some investigation in our community forum, some users managed to figure out as to why this may be:
If taking a look at the code, one can clearly see that there are empty "" tags written by the PRE which override the Swing operation. (I attached a screenshot of the code.)
|Swing - PRE - Incomp.mscz||11.62 KB|
This is the forum thread where we discovered the issue.
The swing playback code deliberately skips notes with custom events attached - it doesn't analyze the content of those events. I think the fix here is to make sure we don't create the empty events in the first place.