-
-
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
Tempo locking controls #13041
Tempo locking controls #13041
Conversation
Thanks for this PR! Since this is a deck control we should eep it simple and have just one control: In case this shall be adopted for the library later on we will also make do with just one control, even if multiple tracks with locked/unlocked are selected:
|
As a first-time contributor we need you to sign the Mixxx Contributor Agreement and comment here when you have done so. It gives us permission to distribute your contribution under the GPL v2 or later license and the Apple Mac App Store. It is also helpful for us to have contact information for contributors in case we may need it in the future. Please comment here when done. |
In case you adopt this you may very well create a fixup commit, squash all (the 4) commits and force-push. |
cb70ced
to
9a61072
Compare
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.
Thank, this is much cleaner now.
Some comments though
75b9bdd
to
eb2ef79
Compare
Thanks, I'll try this next days. |
(feel free to ping me in case this slips off my table ; ) |
std:make_unique instead of new fix crash when channel/trackpointer is empty renaming the variables changing "tempo" for "bpm" "Toggle lock" instead of "lock"/"unlock" forgot to save the file lol Update src/engine/controls/bpmcontrol.cpp Co-authored-by: ronso0 <ronso0@mixxx.org> fixing the description unnecessary comment more explicit command
eb2ef79
to
faf5ed8
Compare
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.
perfecto, LGTM
FYI review conversations are resolved by reviewers only (and when the contributor picks a code suggestion :| ). Otherwise it's tedious for reviewers to check whether all comments have been addressed. |
Thank you! Can you please take care of the documentation in https://manual.mixxx.org/2.5/chapters/appendix/mixxx_controls.html ? |
If you want to work on that, too, note that the control flow is a bit more elaborate: you may also take a loot at the helper WTrackMenu::getTrackBpmLockStates() |
Please see: mixxxdj/manual#637 |
I'm not sure I understand: how is it supposed to be different from the command which toggles lock/unlock when clicking the lock icon in the track field? BTW I've just discover the "auto unlock" when one selects a locked track with no BPM. This feels super weird, like it's a bug… why not preventing from locking in the first place? |
It would toggle lock for all selected tracks at once. |
@FrankwaP Thank you for your contributions. I would like to add you to the contributor list at the Mixxx about box. Shall I use your full name or a nick name? |
Thank you for taking time to explain the logic for the multi-track toggle :-)
Thanks for the attention :-) you can use FrankwaP. |
This PR adds controls for tempo locking (
tempo_lock
) and unlocking (locking
) so they can be used through keyboard shortcuts or MIDI inputs,a s suggested in 13038.