-
-
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
Beat count to next cue #4786
Beat count to next cue #4786
Conversation
Allows to configure WNumberPos to show the number of beats until the next cue comes, relative to play position
…ND_REMAINING deck time display preference
Used to get the loaded track to the player and then compute the beats until the next cue in the song
This works for me, and it is a helpful addition!
|
Thanks for the feedback Joerg ! Glad you find it useful too :)
Thanks for taking a look ! |
Please post screenshots when you modify the GUI |
Thank you, I like the idea. Mixxx uses ControlObjects to communicate between different parts and the GUI or controller scrips. This is also done for the "time_remaining" mixxx/src/widget/wnumberpos.cpp Line 21 in 4637d7c
To follow this pattern, I suggest to create a new ControlObject for your purpose. That can be written in DeckVisuals::process() for instance. |
To fix the Pre-Commit issue, you can download the file pre-commit.patch from the Github artifacts, unzip it in your Mixxx directory, and call |
Thank you everyone for your help here, first time contributing so lots of room for learning and improving ! In terms of the UI, having the beat count in the track time widget was more like a proof of concept than anything else, I think I would rather have that counter directly over the play head in the waveform, but this may be too much of a UI change. WDYT ? |
Have you considered putting this information in the text that appears when hovering cue points on the overview waveform instead? Are you sure you'd want to see this all the time? I'd imagine it would get kinda annoying when you don't have a bunch of cues on a track. |
For me, the feature makes only sense, if it's always visible. |
Makes sense, I will make sure the PR works with the current way of getting the play position (and it passes all the tests!) and then iterate to move to COs and start improving from there. Thanks ! |
The value was saved correctly but the new radio button was never checked once reading the preferences
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.
Just some findings in the pref ui file.
I think I finally got clang-format working on windows, so hopefully no more code style errors |
Please check the CI tests: |
To the see the beats countdown I'd need to select ".. Remaining", though I'd appreciate if the the beat countdown would be a independent option (checkbox below the time display row). |
Will take a look right away, thanks !
Re-reading the comment I see what you mean, so a separate option to decide whether to show it or not, but then keep it displayed on the track time counters, right? |
Jep, that's what I mean.
Sounds good. |
I will finish the feature with the comments you made about having the option as an independent checkbox so we have it ready to merge if we want to, and then move to the advanced visualization on the waveform. As you said, it will probably take us more iterations to decide whether it is the right place to show or not |
This PR is marked as stale because it has been open 90 days with no activity. |
2.3.6 was released today, 2.4 will come during the next few weeks. If someone finishes / adopts this stale PR there's a foundation for other display options. |
Nope, the separate preference checkbox has not been implemented, yet.
2.4 feature freeze has long passed, so this will go to 2.5 soonest. @jmmaldonado Do you intend (and have time) to finish this? |
I definitely want to get back to it - and get the dev env up again, had to tear it down - no ETA I can commit to though :( In the meantime @ejgutierrez74 if you want to try it as it is right now with the basic functionality working but not very well integrated in the UI, you can build from the fork in my repo and see how it goes, we could use your comments and help with the implementation if you are up for it too |
This was superseded by #12994, yes? |
I think so, yes. |
Adds a beat counter from the current play position to the nearest cue point
The information is displayed in the deck time widget
Created a new option when selecting the time display for the decks so you can choose to show the information or keep the traditional deck time information.