-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues around instrument changes and key signatures and clefs #18590
Comments
Is no. 4 really a problem? I wouldn't expect to see a clef there. |
Well, it shouldnt be visible there in transposing pitch, but definitely should be there as object (which is defined as pair "concert - 8ba treble / transposing - treble". Now, if you switch to concert pitch, clef is missing there. I think, proper "bass clarinet cleff" should be there. Similar situation is with key signatures. There is key signature, if you change flute to clarinet. But in concertpitch, it shouldnt be (visible) there. So I think, we should place theese objects (clefs, key signatures) in all places, where they change, and find some way, how just hide them if they are not neccessary (in concert pitch, or in transposing pitch, depending on preceding one). |
working on it |
@sammik you mentioned you started on this last July but there's been no update (or PR) since? Can take it over if you want, can you share what you found/did so far? |
|
Ok, I'm not sure what to make of that, in fact the issue changing between pitched and unpitched percussion is exactly one that I had encountered myself. Still, that was all 6 months ago, which is a long time between drinks considering how rapidly the codebase is changing. |
Solution, I used was:
This simple rules made code much cleaner, as all ad hoc conditions needed before could be removed It brought some other problems, as instrument change is segment base and could be in the middle of the bar, but stafftype change is measure based. Ideal solution would be to refactor stafftype change to be segment - based. Temporary solution was to restrict also instrument change to be at the begining of the measure (or split measure, if it was not). Main problem is stafftype change itself. It has many issues, which should be solved first. |
Issue type
Engraving bug
Bug description
IC1.mp4
IC2.mp4
IC3.mp4
in 4.0.2:
EDIT: added video to explicitely see, what is the problem with clef:
IC-clef.mp4
IC5.mp4
IC6.mp4
Steps to reproduce
Issue one
Issue two
MuseScore Version
4.1 and master
Regression
1., 2. and 5. are not regressions
3., 4. and 6. are regressions from 4.0.2
Operating system
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: