Connexion rapide:  

Forum: Old versions

Sujet A mapping question (hopefully not a dumb one)

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

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
 

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

Pitch

 

Posté 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
 

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

Posté Tue 22 Sep 15 @ 3:20 pm


(Les anciens sujets et forums sont automatiquement fermés)