qlcplus
qlcplus copied to clipboard
Midi feedback for motorized faders
I have a midi control surface with motorized faders. When moved, those faders get back in their original positions. These forum topics are describing the issue:
https://www.qlcplus.org/forum/viewtopic.php?f=29&p=66484 https://www.qlcplus.org/forum/viewtopic.php?t=14190
With the help a of midi sniffer, I found that qlcplus don't send any midi feedback. It is needed to keep the sliders in place. Here is a flow for a simple project with only one slider and its external input mapped to a pitchweel message :
- fader moves
- midi controller sends a pitchwheel message to qlcplus
- VCSlider changes its value
To make the fader stay in place, this extra step is needed :
- VCSlider sends feedback (pitchwheel) to the controller
I added a sendFeedback call in vcslider.cpp and it works great (at least for my Icon Platform M+).
I'm not sure if this is OK for every motorized fader controller. I need to test it with my BCF2000. IIRC sending a feedback while moving a fader will block the fader itself.
There could be an option on the Input profile, under midi global settings.
I also found a little bug when retrieving the original midi channel, in Omni mode, when the slider is on an even page of a frame.