-
-
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
add Rate Tap button #12104
add Rate Tap button #12104
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Very weird: I built this locally and it works as expected. mixxx/src/engine/controls/bpmcontrol.cpp Lines 101 to 111 in 0c2faf0
When I change Also, I have no idea why unrelated tests fail on all OS except ARM 64, for example https://github.com/mixxxdj/mixxx/actions/runs/6517384471/job/17707390983?pr=12104 I'd appreciate if someone could give me some hints what's wrong here. |
c6d96be
to
c52d998
Compare
I pushed a different (working) version with my findings added inline. |
9f5aef3
to
8d02348
Compare
Seems this is a known issue? Just stumbled upon mixxx/src/broadcast/broadcastmanager.cpp Lines 71 to 78 in 5582536
Still wondering why the comment was written for Qt5 whereas it worked here with Qt5 and fails with Qt6 🤷 I changed it to call the slot manually. |
I changed all skin buttons to tap the tempo on left click and tap the BPM on right click. |
3aa3e8f
to
7387c6f
Compare
I changed it to Ready to roll! |
7f1769b
to
7fbe271
Compare
9863ab2
to
9ba0f56
Compare
9ba0f56
to
978b4b8
Compare
978b4b8
to
5c2b88c
Compare
I use the BPM tap pretty frequently on tracks where the analyzer still struggles (acapellas or tracks with complex polyrhythms, e.g. Salsa music). Would appreciate to keep having at least an option for making BPM tap available in the UI, having to dig into the track properties makes this too inconvenient to really be useful IMHO. Edit: Ah, I should've read the entire description, BPM tap on right-click seems like a good compromise, but right-clicking on a laptop trackpad is potentially still a bit cumbersome. I'm not sure of a good UI alternative though, perhaps a switch in the skin settings to toggle left/right-click behavior? Moving the BPM tap to the beatgrid editing sections seems reasonable too, to untangle the BPM editing controls from rate changing. |
Good idea!
Hmm, the skin settings menu is growing and growing, in LateNight we already had to squeeze so it fits at minimum height. |
Can you move the first commit to a separate PR? |
Why not view by commit? |
The essence is a84e206 and it's rather small IMO. |
Now a conflict has developed. |
Just filed a feature request to track this.
I'll look into this during beta. |
Conflicts are resolved. |
Now the unit-test are failing. |
Oh sorry, and new conflicts have developed. |
Yeah, a lot has happend in BpmControl since I started this. |
small TODO: |
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.
Only nitpick. rest LGTM. haven't tested though
Thank you. |
tempo_tap
which works exactly like BPM tap, just it sets the tempoquoting myself from #12086
Reasoning
BPM tap edits a track property (permanently) while the rate section is solely about controlling the playback speed (+, -, sync). Hence, IMO BPM tap doesn't belong there.
IIUC the intention for putting it there was to allow setting the track BPM, i.e. set initial value or correct BPM analysis. I assume it was helpful in the early days of Mixxx but with the improved beats analyzer nowadays I suppose it's not needed (that much) anymore. Manual correction can be done in Track Properties > BPM tab.
My use case
Infrequently I need to "Sync" to external players (vinyl via Aux, other DJ in b2b sessions), i.e. at least estimate the target BPM. Until now I was using a Python BPM counter [1], activated with a global hotkey, which gives very accurate results. However, it'd be much more convenient to do this within Mixxx.
Either I apply the guessed target BPM (e.g. 128) to loaded tracks, or I do a bpm search
bpm:125-130
.Rate Tap is a good step forward.
Thinking this further, a BPM tap utility might be helpful, see #12105