Can I create custom line object?

• May 3, 2020 - 15:55

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

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 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 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.

In reply to by Marc Sabatella

Hi Marc Sabatella and congratulations for your very usefully nformations about the MuseScore Studio!

Is there anyone who could help me with creating a custom line? These days I am copying a composer's manuscript into digital format for a publishing house.
There is a note from the composer that is written as: pizz. adlibitum with a continuous dotted line as shown in the screenshot of the manuscript. In the second screenshot of musescore 4 I found something that would serve me if I could first edit the word Staff and replace it by typing pizz. adlibitum. The main reason this serves me is the right part of the line that ends downwards, showing exactly how far the text line applies.

Thank you very much, anyone who can, I would really appreciate it!

Attachment Size
capture_250506_230300.jpg 40.11 KB
capture_250506_230412.jpg 17.15 KB

Do you still have an unanswered question? Please log in first to post your question.