Hi there,
I have a midi device that sends midi controller messages out of VDJ to Ableton so that I can utilise some spare controller buttons/sliders/Rotary's.
The rotary knobs are endless and I'm trying to put a min/max on them, but that only slows down the speed it turns, it doesn't stop at 127 or 0 it just resets and counts again. I'm wandering is it possible to change the mapping of and endless rotary Encoder from relative to absolute?
The messages are currently being sent out of VDJ via the <bar> message.
This is what I have
Any thoughts?
Thanks
Bryn
I have a midi device that sends midi controller messages out of VDJ to Ableton so that I can utilise some spare controller buttons/sliders/Rotary's.
The rotary knobs are endless and I'm trying to put a min/max on them, but that only slows down the speed it turns, it doesn't stop at 127 or 0 it just resets and counts again. I'm wandering is it possible to change the mapping of and endless rotary Encoder from relative to absolute?
The messages are currently being sent out of VDJ via the <bar> message.
This is what I have
<bar cc="0x5C" name="ABLE_ROT1" channel="0" min="0x01" max="0x7f"/>
Any thoughts?
Thanks
Bryn
Posted 2 days ago @ 12:01 pm
I'd solve it in HW mapping, not let my variable exceed 0.0-1.0
maybe something like this but there are a few ways
Slightly more complicated than needs be but it does allow changing the sensitivity by just changing the 127/-127.
Edit; I'm assuming you're using a variable and your .def snippet is from a virtualDevice.
maybe something like this but there are a few ways
param_bigger 0 ? set $myVar `param_add 'get_var $myVar' 'constant 127 & param_1_x'` & var_greater $myVar 1.0 ? set $myVar 1.0 : : set $myVar `param_add 'get_var $myVar' 'constant -127 & param_1_x'` & var_smaller $myVar 0.0 ? set $myVar 0.0 :
Slightly more complicated than needs be but it does allow changing the sensitivity by just changing the 127/-127.
Edit; I'm assuming you're using a variable and your .def snippet is from a virtualDevice.
Posted yesterday @ 2:02 am
That's superb, works perfectly, thank you.
Posted 12 hours ago





