Soft-takeover not working on dynamic physical controls
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Triaged
|
Medium
|
Unassigned | ||
2.0 |
Fix Released
|
Medium
|
Sean M. Pappalardo | ||
2.3 |
Triaged
|
Medium
|
Unassigned |
Bug Description
I have a physical knob on a controller I'm working with that can be toggled between controlling [EffectRack1_
The handling function for this control is:
if (deck.controlEf
} else {
}
And soft-takeover is initialized at the start of the script for these MixxxControls:
engine.
engine.
engine.
engine.
Changed in mixxx: | |
status: | New → Confirmed |
Changed in mixxx: | |
milestone: | none → 2.0.0 |
summary: |
- Soft-takeover not working on dynamic physical controls from scripting + Soft-takeover not working on dynamic physical controls |
This happens due to the nature of soft takeover.
If you control the CO by midi, it is stored that the last value was from midi (it is in sync with midi from now) All subsequent commands from midi are treated as in sync and are not ignored. The out of sync state is only adopted if the CO is changed by a non midi write, the case that the controller knob is changed without effecting the CO is not considered.
The controller needs to tell the softtakover that is returns from "shift mode" to adopt the out of sync state.