Connexion rapide:  

Forum: VirtualDJ Skins

Sujet Video Delay

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

djkrysrPRO InfinityMember since 2010
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.
 

Posté Sat 08 Sep 18 @ 2:05 pm
AdionPRO InfinityCTOMember since 2006
Looks like it was indeed a bug, will be fixed in next update.
 

Posté Sat 08 Sep 18 @ 3:34 pm
djkrysrPRO InfinityMember since 2010
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
 

Posté Sat 08 Sep 18 @ 5:55 pm
AdionPRO InfinityCTOMember since 2006
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
 

Posté Sat 08 Sep 18 @ 7:18 pm
djkrysrPRO InfinityMember since 2010
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
 

Posté Mon 10 Sep 18 @ 2:21 pm


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