Components EffectUnit button parameters#1353
Conversation
…used With shift, the enable buttons of effects can still be toggled while an effect is focused, but the enable switch statuses are only shown on the LEDs when no effect is focused.
|
Note that I have not yet tested this with the allowFocusWhenParametersHidden option, so that might not be working. |
|
There are no public API changes with this. Controller mapping scripts do not need to change anything, just use the midi-components-0.0.js file from this branch. |
|
@ferranpujolcamins, thoughts? |
|
It works fine. As you expected it's buggy with |
|
But I still do have a problem with effect knobs and that worn out knob that sends faulty values between 10 and 1 o'clock, somehow components softTakeover fails now and then.
I disabled softTakeover here and it works. |
|
Thank you for testing. I will look into those bugs. Aside from those, what do you think about the changed functionality? |
|
Hm, as we discussed here, for my use case it's helpful but also disturbing: But that's a rare case I guess. All-in-all I'd say the focus functionality is more consistent now, assuming most users don't need enable buttons AND parameter knobs directly available at the same time, and they learned that dry/wet knob is the emergency brake in case anything goes wrong. |
|
After using this for a bit, I agree. Sometimes it is nice to have easy access to the enable switches. I forgot until now that they're still accessible with shift while an effect is focused (with power window functionality -- can we come up with more self-explanatory name for that behavior?). I think the improved consistency makes the behavior easier to understand. Knobs and buttons both control the chain when unfocused and control a single effect when focused. |
|
@ronso0 I am doubtful the issues with soft takeover you experienced had to do with changes introduced in this branch. That seems like it may be a more general issue with Mixxx's soft takeover implementation. Can we merge this as-is for the beta? I acknowledge the code has gotten a bit hard to follow. I'll work on cleaning it up later. |
I didn't think so, too, the issues existed earlier already. I just suspected it was related to components and thought you might fix it here as well. |
|
Okay, ready for merge then. |
|
Thank you for working on this. |
|
wiki updated: https://mixxx.org/wiki/doku.php/standard_effects_mapping |
Change the behavior of the 3 effect buttons when an effect is focused. Previously, when an effect was focused, the buttons remained controlling the enable switches of the 3 effects like they did when no effect was focused. Now, when an effect is focused, pressing the buttons controls the button parameters of the focused effect and the state of the button parameters is reflected on the buttons' LEDs. The enable switches for the different effects in the chain are still quickly accessible when an effect is focused by pressing shift and the buttons, but the enable switch states are not reflected on the buttons' LEDs. Both when unfocused and focused, the buttons behave as power window buttons (short press to toggle, keep holding to toggle again on button release).
After adding the Triplet parameter to Echo in #1256, I realized that having access to button parameters on controllers is indeed useful. Now that I have implemented this, I am having fun playing with the kill switches of EQ effects.