midi xml mapping Invert option doesn't work with Pitch Bend Change midi messages with 14-bits values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
New
|
Undecided
|
Unassigned |
Bug Description
The Invert option in controls mapping of XML midi mapping is documented as:
Invert: Subtracts the value from 127, giving an inverted control (-127..0)
This doesn't work with Pitch Bend Change (PBC) midi messages because they have 14-bit values sent in byte 2 and 3 of the midi message.
So basically, you can not map an inverted pitch slider in pure XML and you need to script it to reverse it. Without that, the physical controller slider is inverted versus the on-screen slider. Using the pitch reverse option doesn't change anything, the physical and on-screen sliders remain inverted.
we should either extend the invert option to be compatible with PBC messages or add a new option to handle this situation.
summary: |
- midi xml mapping Invert optipon doesn't work with Pitch Bend Change midi + midi xml mapping Invert option doesn't work with Pitch Bend Change midi messages with 14-bits values |
Took a while until I found the proper workaround there www.mixxx. org/wiki/ doku.php/ midi_scripting# available_ common_ functions midiPitch( LSB, MSB, status)
http://
> script.
Mapped pitch slider to this function in MyController.js: pitchSlider = function (channel, control, value, status, group) { setValue( group," rate",- script. midiPitch( control, value, status));
TerminalMix.
engine.
}