-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: add support for scaling BPM by different ratios #12934
Conversation
Unfortunately clang-format is still complaining. |
That syntax gives me this though;
|
missing closing |
with closing bracket;
|
Aah cmake cache again.. edit: nope.. |
Yes, it's a unique_ptr now so we need to
|
The style changes mentioned are inconsistent, I could do the extra line breaks, but it's not asking for them in all cases..? |
Builds are currently failing because the explicit In case you still can't build locally I can provide fixups and push to your branch. |
Can do, will be afk for a couple of days tho |
d95620f
to
63278a4
Compare
ping clang-format wants to break some long lines.
|
src/engine/controls/bpmcontrol.cpp
Outdated
@@ -1,4 +1,4 @@ | |||
#include "engine/controls/bpmcontrol.h" | |||
#include "bpmcontrol.h" |
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.
Why did you change this?
We use the full path for all other includes.
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.
Ah that was me trying reacting to the red squiggly lines the MS IntelliSense extension in VSCodium put under the path saying the file could not be found.
It's frustrating because I tried the other Clang based debugger mentioned on Zulip a while back and it sucks compared to the MS IntelliSense extension re advising what the cause of and solution for most a true problems are.
I'll fix and force push again in a bit.
"The style changes mentioned are inconsistent, I could do the extra line breaks, but it's not asking for them in all cases..?" Unless I misread then, and I havn't relooked yet - I'll do so after I've done the other thing - it was wanting me to remove line breaks, and for some reason only wanting me to add line breaks to some of the code I'd added thus I assumed that adding further linebreaks would hit me with a requirement to remove those new line breaks too. Maybe I was wrong. I'll suffer trying to fix it multiple times again and it continually giving me inconsistent output until I rage quit and go to bed. Also, running locally give no problematic output. I guess either I'm doing something wrong or the instructions are inadequate. Well, it is giving a silly number of "skipped", obviously part of the problem, given it should be giving me an error, but I'm not sure how I've fluffed the process. |
63278a4
to
b2160ef
Compare
It's skipping because you have no file changes for pre-commit to check. You can do (by the way I very much recommend the zsh |
now it wants to move the header include... please revert and re-commit as described above, actually pre-commit should only act on changed lines. |
5ffcb02
to
f607409
Compare
...and trailing whitespaces 😆 |
f607409
to
5ad8971
Compare
I'm the only reviewer until now and I'm fine with cherry-picking / rebasing and amend the commit of #12941. |
Cool cool. I was using Git Butler to "undo" and force push the PR commits, now it has stopped working, as I made a mess trying to get multiple feature PRs into the same branch so removed the repo dir and recloned but apparently broke some part of a workflow. I learnt some I also retrieved both my PRs with |
Ah, Lets see how wrong I get this.. |
85e97ba
to
3f8ac55
Compare
I assume this is the MIDI Input table. Actions are sorted by control, and IIRC that is Yeah please file a new issue! |
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.
LGTM, except one tiny yet significant character
Please take this off my hands, I don't have the capacity to focus on fixing and finishing this PR. Thanks. |
213fb90
to
5daa61c
Compare
I have just rebased, fixed and force-pushed to your branch. |
Since I worked on this, too, someone else needs to review and merge. |
I've split the commit into the std::unique_ptr changes and the actual feature commit. |
5daa61c
to
1fa0c48
Compare
We have a conflict unfortunately |
resolved. There'll be some more #12104 when this is merged 💦 |
Thank you. |
Thanks @mxmilkiib for starting this, and their patience. |
This change introduces the ability to scale the BPM of a track by different ratios using ControlPushButton objects. Each button is connected to a lambda function that calls the slotScaleBpm method with the corresponding BPM scale factor.