Se Connecter:     


Forum: General Discussion

Sujet: Is this possible with VDJscript ?

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

I want to create a simple mapping on my VCI-100 that when you move a knob to the left (down), it cuts the eq_low, and when you move it to the right, it brings it back up to 50%, and then if you keep moving right (up), after 50% it starts cutting eq_hi.

This would be easy if the mapping can detect direction and use conditionals like < > or =


Is this possible ?
 

Posté Sun 28 Jun 09 @ 9:09 am
I haven't tested it yet but maybe by using the word "value" in the command:

"value < 50% ? cmd1 : cmd2"
 

value seems to work to extract the value, but the operators <,> and = seem to cause syntax errors.

Does the wiki site have reference for all the operators you can use ?

Just found this on the wiki site... maybe what I need

"To set a variable, you can use verbs like "set", "toggle", "cycle".
To read a variable, you can use verbs like "var", "var_equal", "var_smaller", etc..."
 

You can use the following with knobs to detect the direction:

param_greater 0 ? action_for_turning_right : action_for_turning_left
 

I figured it out via the wiki site, but thanks for that info.

What I used in the end was this:-

param_smaller 51% ? eq_low : param_invert & eq_high & eq_mid

If the knob is at half or less, and you turn it down, you get eq_low, if its at 51% or greater and you turn it up, you get reverse eq on high and mids..

PERFECT! Now just to add a flanger effect and you'll have a cool transition effect.
 



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