Hairpin with dynamics at the end is too short
1) Create any score
2) Add a full-length note at the final measure (such as a whole note in 4/4)
3) Add a hairpin. The hairpin extends to the final barline
4) Add a dynamic to the note. The hairpin shortens to a minimum length. The expected result would be that it extended to the full note.
The attached score shows an example where it is evident that the problem appears in the last measure, it cannot be reproduced with a double barline elsewhere in the score, not even after a section break. The issue doesn't show if the note doesn't last through the end of the last measure. It seems to be related to autoplacement.
Workaround: disable autoplacement and move the hairpin's end manually. However, it is difficult to get an even presentation if the dynamic and hairpin happen to be required on several staves.
Attachment | Size |
---|---|
Test_Hairpin_at_the_end_with_dynamics.mscz | 4.92 KB |
Comments
Confirmed.
In reply to Confirmed. by Marc Sabatella
Thanks
Came up again in #293814: hairpin with dynamic on a whole note in last measure renders badly, dfifferent workaround mentioned there:
add invisible unison or silent notes of shorter duration in another voice
Advantage: no need to manually adjust the hairpin and once is enough to fix similar issues in other staves of the same score
I'm taking a look at this, I think. It's worth noting that this only happens if there is a dynamic at the start of the hairpin.
I assume it's related to the code to extend the hairpin to the next dynamic, maybe even to the code I added fairly recently to not do this is there is already an end dynamic on the hairpin.
In reply to Came up again in #293814:… by Jojo-Schmitz
Jojo, thanks for making us aware!
Fixed in branch master, commit 922e514e49
fix #292960: hairpin with dynamics at the end is too short
Fixed in branch master, commit 0d924d4ca8
_Merge pull request #5282 from jthistle/292960-hairpin-last-bar
fix #292960: hairpin with dynamics at the end is too short_
In reply to Git webhook message by Git Message
Thanks to all who made this fix possible!
Automatically closed -- issue fixed for 2 weeks with no activity.