Quick Sign In:  

Forum: Old versions

Topic: A mapping question (hopefully not a dumb one)

This topic is old and might contain outdated or incorrect information.

mcs1234PRO InfinityMember since 2010
VDJ Pro 7 user here.
Using a Behringer controller pad CMD-DC1.
I'm trying to learn XML commands as I've been programming this thing, but....
Does anyone know if it's possible to map a variable knob on a MIDI device to the Pitch Up/Down feature in VDJ.
I'm aware of using hard buttons to "up by 2%", "down by 5%", etc, but don't know if it can be assigned to a rotary knob...
Something like "12 o'clock" being normal, and swing either way for down/up.
Thanks all,
Doug
 

Posted Mon 21 Sep 15 @ 10:16 pm
PachNPRO InfinityMember since 2009
Have you tried to assign this action only

Pitch

 

Posted Tue 22 Sep 15 @ 2:05 pm
What you can't:
Have a knob that sets the velocity of the slider-change.

What you can:
Map a non-infinite knob to the pitch slider (from 0% to 100% by default ofcourse).
12 o'clock would be +0.0 pitch.

Script:
 pitch 


If you want to map an endless encoder (like a browse knob) that has steps to control the pitch,
you could also use
pitch

but you probably want to manually change the size of the steps.
To do this use this code:
param_bigger 0 ? pitch +X : pitch -X

Replace X with the percentage value that you want to move each step, for example:
param_bigger 0 ? pitch +1.0% : pitch -1.0%


That's it!
Also no, it's not really a dumb question since vdjscript is a lot different than other languages and it can be quite confusing some time.

Regards,
Daniel
 

Posted Tue 22 Sep 15 @ 2:10 pm
mcs1234PRO InfinityMember since 2010
BOTH solutions work perfectly!
Thanks guys!
:-))
 

Posted Tue 22 Sep 15 @ 3:20 pm


(Old topics and forums are automatically closed)