mid staff instrument changes at the beginning changes the instrument name for the whole staff
See attached file ("instrumentchangeatbeginning"). The instrument is baroque trumpted in D. I changed it via "mid staff instrument change" to "bugle in D" and in the next measure back again to "baroque trumpet in D".
Expected result: the instrument name should be "trumpet"
Actual result: the instrument name is "bugle"
Or miss I something (it's necessary for "cum santo spiritu" (second attached file) ?
Attachment | Size |
---|---|
instrumentchangeatbegginning.mscz | 4.66 KB |
Cum_sancto_spiritu.mscz | 87.54 KB |
Comments
When I load your score "instrumentchangeatbeginning", I see an instrument whose name is "Horn F", and that doesn't change. You do indeed have instrument changes in bars 1 & 2, and those affect sound and transposition, but currently it is a known limitation that they don't affect the staff names. Not sure where you are seeing "bugle" as the staff name. Maybe it shows that way until you save & reload? I do notice that if you delete the "Bugle" instrument change in bar 1, the name changes to Baroque Trumpet in D. I guess maybe there are further glitches with instrument "changes" at the very beginning of the score...
In reply to When I load your score … by Marc Sabatella
To be more clear steps to reproduce (maybe it was my mistake to confuse with different expressions):
result: the "long instrument name" and the "short instrument name" changes to "Horn in D"
result: it doesn't change back the instrument name.
So in the first case it affects the staff name, in the second case not.
(In my special case may I can live instead of with an staff text, that doesn't affect the sound of the first single note, but also not the instrument name)
note: and maybe to be more clear in my purpose: a mid-staff change should always affect the staff name after a mid-staff change (not before like the first mid-staff change in the example, but indeed after the second mid-staff change).
In reply to To be more clear steps to… by kuwitt
Yes, we would definitely like for instrument changes to affect staff name from that point forward. See #88861: Option for editing abbreviated staff names in instrument changes. As I mention in that issue thread, I did attempt to implement this a while back but a limitation in the data structures and algorithms in use at the time got in my way, so I put it aside in hopes that the changes coming for 3.0 would make this easier to implement. I suspect that is true now.