Can I create custom line object?
Is it possible to create a custom line object by myself?
There is that special object " dynamic + hairpin " in lines menu. I find it useful, and would like to create few similar objects like that in the lines menu and choose them as necessary instead of changing it every time from the default "mf + crescendo hairpin". Is there a functionality for that? Or Is there some scripts, or code lines that run those objects in the system that could be copied and modified? Looks like a simple modification to me, that even the user could do.
Thank you
Sincerely
Anton
Comments
a simple modification, which even the user could make and add to a custom palette: https://musescore.org/en/handbook/palettes#custom-palettes
In reply to a simple modification, which… by Shoichi
Thank you
FWIW, though, if your intention is to create other combinations of dynamics and hairpins, I recommend against using these. They don't actually work properly, not with respect to playback, layout, or MusicXML export (although I gather the latter may be fixed for 3.5). Simply add the dynamic and hairpin separately, MuseScore automatically adjusts the hairpin to start after the dynamic and accounts for the vertical alignment and the playback, The combined element was added back in the early days of MuseScore 3.0 development before those other features were put in place, and probably should have been removed before release, but wasn't, so we continue to support it even if we don't recommend it.
In reply to FWIW, though, if your… by Marc Sabatella
Thank you. Yes of course that works. It's only a matter of a workflow for me. My aim is to try to make things that require repetitive action as automated as possible. Although I have to say that the ability to add hairpins to multiple selected staves greatly helps and beats Sibelius for that functionality. Maybe I should just get detached from Sibelius habits :) . Still I think this combined hairpin-dynamics object is worth getting done properly as I find it to be a great mouse-click saver and thus useful for the users.
In reply to Thank you. Yes of course… by antonjazzsax
Well, they partially work, and as mentioned will work better in 3.5.
I'm not totally sure about the playback story, feel free to experiment to see for yourself, but my main concern is layout. By the very nature of this symbol, it will always force the dynamic and hairpin to align vertically, and always with a fixed amount of space between the dynamic and line, with really no good way to defeat that. If you're OK with that in any given specific situation, and you are OK with whatever the playback story is, great. And if there still are limitations with playback, maybe those too will be addressed in the future.
But in many cases it might not be appropriate to force the dynamic and hairpin to align vertically, and you might need to alter the distance between them. Adding them separately works well in that things align by default but it's really easy to override these. Using the combined symbol takes away some of that flexibility, and that's not really a bug to be fixed, it's inherent in the fact that this is just a single element. That is, the very thing that makes it convenient is what makes it less flexible.