Hi
I'm trying to skin some buttons to adjust video_delay. In VDJ 7 i used the button action 'video_delay +10ms' or 'video_delay -10ms' to increment the delay, however in VDJ 2018 it sets the video delay to the absolute values +10ms or -10ms rather than incrementing it.
I also tried a slider to adjust it but the slider value just went from '0' to '1' in .01 increments, ideally I need a slider to go from about -2000 to +2000 but cannot find how to do that either.
Any help would be greatly appreciated.
I'm trying to skin some buttons to adjust video_delay. In VDJ 7 i used the button action 'video_delay +10ms' or 'video_delay -10ms' to increment the delay, however in VDJ 2018 it sets the video delay to the absolute values +10ms or -10ms rather than incrementing it.
I also tried a slider to adjust it but the slider value just went from '0' to '1' in .01 increments, ideally I need a slider to go from about -2000 to +2000 but cannot find how to do that either.
Any help would be greatly appreciated.
发表时间 Sat 08 Sep 18 @ 2:05 pm
Looks like it was indeed a bug, will be fixed in next update.
发表时间 Sat 08 Sep 18 @ 3:34 pm
At least I'm not completely doing it wrong then thanks.
However anyone with advice on how to use a slider or knob for video delay would also be greatly appreciated.
ie.how to code getting a value between -2000 & +2000 on a slider assigned to the video delay with 0 at the center point.
Thanks
However anyone with advice on how to use a slider or knob for video delay would also be greatly appreciated.
ie.how to code getting a value between -2000 & +2000 on a slider assigned to the video delay with 0 at the center point.
Thanks
发表时间 Sat 08 Sep 18 @ 5:55 pm
param_add -0.5 & param_multiply 4000 & video_delay
The value of the slider will be between 0 and 1, so by subtracting 0.5, it will be between -0.5 and +0.5
Then multiplying that value by 4000 will result in a value between -2000 and +2000
The value of the slider will be between 0 and 1, so by subtracting 0.5, it will be between -0.5 and +0.5
Then multiplying that value by 4000 will result in a value between -2000 and +2000
发表时间 Sat 08 Sep 18 @ 7:18 pm
That worked a charm thank you.
I have grasped most skin coding but the param functions have until now confused me, hopefully now, having seen your example I can finally understand them.
Thanks again
I have grasped most skin coding but the param functions have until now confused me, hopefully now, having seen your example I can finally understand them.
Thanks again
发表时间 Mon 10 Sep 18 @ 2:21 pm