GSoC 2024 - Dynamics Popup - Week 6

Posted 5 months ago

Hello everyone,

Last week, I continued working on the grip functionality to add hairpins. I made some changes to the positioning of the hairpin. Earlier, if we had a whole note, the drawn hairpin's length would take up the entire measure, but now it will be set according to the cursor position (which doesn't appear to be buggy as earlier), as you can see below.

I have added the functionality to the left grip as well, which can be used to draw a decrescendo hairpin (which can be changed to a crescendo by pressing the Shift key while dragging, which I will implement further).

Also, now the grips on either side are not shown if the dynamic already has a hairpin on either side or if its tick is zero, as shown in the image below.
Update_On_Grips.jpg

The details of my implementation can be found in my latest PR (it's still a work in progress): https://github.com/musescore/MuseScore/pull/23038

Next Steps

There are some issues while rebasing my pull request on the latest master, so I will focus on fixing them first this week. Furthermore, I will also try to implement the Shift key functionality, which, when pressed while grips are being dragged, will change the crescendo to decrescendo or vice versa.

Thanks for reading!

You can keep track of progress via my:


Comments