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
Moving pianoroll changes into new PR. #9109
base: master
Are you sure you want to change the base?
Conversation
This replaces #9033 which has gotten unmanageable. |
class AutomationVertex : public EngravingItem | ||
{ | ||
double _value; | ||
double _ticks; //Number of whole notes offset from start of score |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how will this work if the user removes or inserts a time range (measure etc.) into the music - will all existing vertices be adjusted accordingly?
All ticks can just be integers no? (even _value might be better as a float or qreal, I haven't seen a lot of doubles being used so far)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was planning for the vertices to be stored in a list sorted by _ticks. _ticks could be an integer or something else, but if it is an integer then we will need to determine what unit one tick is. We could use the 1/480 of a whole note MS3 used - is that unit still relevant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I assumed that's what it was meant to be!
But what I meant is that if you had, say, vertices defined for ticks 480 to 4800 then the user removed the first (4/4) measure entirely, would that modify all extract vertices in all staffs to subtract 480 from the "tick" values?
What if the user removed measures at the end of the piece that meant the vertex tick value was
now beyond the end of the piece? (I would think you couldn't just delete the vertex if it was defining a slope...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a measure is deleted, I would presume any coresponding vertices would be deleted too and it would be up to the user to fix things if it caused a problem. Probably something to ask Martin about, though.
625d44a
to
5632a6d
Compare
928062b
to
afe1270
Compare
6ac2100
to
b8e1cc0
Compare
A rebase is needed. |
Looks like Github just upgraded its security. I need to change all my keys first. |
One unit test failed, see https://github.com/musescore/MuseScore/runs/5579586289?check_suite_focus=true#step:8:1231 I believe the reason is #9109 (comment) |
ce2915e
to
33879a7
Compare
9c7cc98
to
6a2752b
Compare
9620fcb
to
f285e86
Compare
dfa18ff
to
598093b
Compare
Just adding a link to Piano Roll Editor bug reports and requests located in the MuseScore discussion area. |
fa1f8d3
to
525a11a
Compare
Resolves: (direct link to the issue)
(short description of the changes and the motivation to make the changes)