MIDI Rotary Encoder
Posted: Wed Jan 03, 2024 5:39 pm
Hi,
I trying to get a Midi Rotary Encoder working as a relative input. (Raspberry Pi Pico with "Control Surface" Library).
in Midi View I can see that the Midi Device send a Control change with a value of 1 at CCW and 65 at CW.
- I set up a Input Profil as an encoder, on using the encoder I see the Joystick Symbol
- in VC I create a knob and set up the input device
I can control the knob via the encoder, but it seems it's in absolute Mode.
If the knob value is changed in the VC direct and I turn the Midi Encoder the value jump back to the old value that was set by the Midi Encoder,
so not a relative change of the current knob value.
Is there a way to use the Midi Encoder as a relative Encoder for Knobs, Faders and also for a XY Pad.
So the goal woud be decreasing/increasing the target value by a certain amount per CW/CCW click (and limiting at 0/255).
I also thinking of using a script but have no idea how to do this in QLC+:
trigger on Encoder Input CW >
val = val +1
if val >255 {val=255}
trigger on Encoder Input CCW >
val = val -1
if val <0 {val=0}
BTW: I also try this via OSC, there I have the same problem that the a Encoder is not relative and the value always jumping back to the last Encoder Value
I trying to get a Midi Rotary Encoder working as a relative input. (Raspberry Pi Pico with "Control Surface" Library).
in Midi View I can see that the Midi Device send a Control change with a value of 1 at CCW and 65 at CW.
- I set up a Input Profil as an encoder, on using the encoder I see the Joystick Symbol
- in VC I create a knob and set up the input device
I can control the knob via the encoder, but it seems it's in absolute Mode.
If the knob value is changed in the VC direct and I turn the Midi Encoder the value jump back to the old value that was set by the Midi Encoder,
so not a relative change of the current knob value.
Is there a way to use the Midi Encoder as a relative Encoder for Knobs, Faders and also for a XY Pad.
So the goal woud be decreasing/increasing the target value by a certain amount per CW/CCW click (and limiting at 0/255).
I also thinking of using a script but have no idea how to do this in QLC+:
trigger on Encoder Input CW >
val = val +1
if val >255 {val=255}
trigger on Encoder Input CCW >
val = val -1
if val <0 {val=0}
BTW: I also try this via OSC, there I have the same problem that the a Encoder is not relative and the value always jumping back to the last Encoder Value