-
-
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
Update Vestax VCI-300 mapping for 1.12 #280
Conversation
Please convert beatsync buttons to sync_enabled and retest. You should be able to push-and-hold the sync button to engage sync lock (master sync) mode |
When setting "sync_enabled" to 1 Mixxx crashes while dereferencing a null pointer #0 0x0000003db9035c39 in raise () from /lib64/libc.so.6 |
Are you building with vinylcontrol=0? And if not, when you run scons does it say whether vinylcontrol is enabled or disabled? Does it say whether the Mac App Store build is enabled or disabled? |
I guess I already know the answers to these questions -- I've fixed the crash, and vinyl control should be on by default again. |
Thanks for your quick fix, Owen. Now it works! I'm still not sure if I got it right. Had a quick look in the source code to get a grasp of the dependencies between "sync_enabled" and "sync_mode". I'm using sync_mode == 1 as an additional indicator to show if a deck is in follower mode for the corresponding LED. It's currently not possible to switch the sync mode of a deck with the VCI-300. I also need to adjust my mapping for the MC6000MK2. If you have any ideas on how it "should" work, please feel free to send me your ideas. I'm not using sync at all, so my perspective might be limited ;) |
The sync_mode is an internal variable and doesn't really need to be revealed to the user at all. It's enough to have the button light up when sync_enabled=1. (Eventually skins will also have a button and light for sync_master, but there are bugs in that mode so it's not necessary for now.) |
@ywwg are you ok with this now? |
sync_enabled needs to support push-and-hold. As long as the script binding doesn't break that behavior, this is ok |
@ywwg can you please check that. I'm not sure where I can check if this script doesn't change the behavior |
Setting the value of "sync_enabled" from the script does not trigger any push-and-hold behaviour. I think this is a bug (or simply not implemented) in Mixxx? Workaround: I will try to add the "sync_enabled" control directly in the MIDI mapping file instead of setting the value from the script. Drawback: Overlay mapping with modifiers like the Shift key is no longer possible. Also needs to be fixed for the MC6000MK2 mapping that has recently been integrated. |
it might be possible to trigger push-and-hold from the script as long as pressing the button sets the value to 1 and releasing it sets the value to 0. But it might be that a value set from a script does not go through the same handling code, so it doesn't get the push-and-hold behavior. That's worth filing as a bug. What did you have linked to the shift button for this control, if anything? |
I already handle button press and release separately, doesn't work. Seems that there is a different code path for the MIDI mapping. My current overlay mappings are: Well, not really necessary ;) As long as we have a consistent sync mapping for all controllers. Unfortunately there are no examples yet and I'm also not quiet sure how you intended Sync to work. When or how does a deck switch between NONE/FOLLOWER/MASTER sync mode? Some kind of state diagram would be helpful. On the MC6000MK2 I'm displaying the sync mode for each deck: OFF = NONE, BLINKING = FOLLOWER, ON = MASTER. But I was not able to switch a deck into MASTER sync mode solely by long button presses mapped to sync_enabled. The sync mode of each deck only switches between NONE and FOLLOWER. With its visual feedback the MC6000MK2 would be the ideal candidate for a reference implementation. |
Please see the Sync section of http://mixxx.org/wiki/doku.php/getting_ready_for_112 -- there is no need to have visual feedback for follower or master. Just sync_enabled. Just support tap and press-and-hold and it will all work. Try using the GUI buttons in the new Latenight-Stacked skin to see how it looks. |
- Replace script binding with direct MIDI mapping wherever possible - Use new cue/play controls - Rework looping
- Assign 1st/2nd effect unit with preselected Filter chain to left/right deck respectively - Shift + Censor button enables/disables the filter effect - Mid EQ controls the filter parameter while the filter is enabled
- Track the knob's value and restore it when switching between mid EQ and filter effect
The "Auto Tempo" button now triggers the new "sync_enabled" control (push-and-hold). Tapping the BPM manually by holding "Scroll" is still possible.
- Use MIDI mapping for "sync_enabled" to support push-and-hold - Use setParameter() instead of setValue() for effect parameters
Updated. Sync with push-and-hold should now work as expected. |
I'll take your word for it, thanks! LGTM |
Update Vestax VCI-300 mapping for 1.12
@uklotzde Thanks for your work |
https://bugs.launchpad.net/mixxx/+bug/1332809