Connexion rapide:  

Forum: VirtualDJ Technical Support

Sujet crossfader script for leak
i saw the below script in a post about a workaround for leaking crossfader,,,,

param_smaller 0 ? crossfader 0 : param_multiply 1.041666 & crossfader


is this for the specific leak areas or a general fix for all???
 

Posté Thu 11 Jul 24 @ 12:56 am
locoDogPRO InfinityModeratorMember since 2013
specific and really only a temp fix unless there's a consistent HW error.
 

Posté Thu 11 Jul 24 @ 7:44 am
This is a fix that worked for me on dials that don't quite centre on 0.5

param_smaller 0.48 ? filter : param_bigger 0.52 ? filter : filter 0.5


I guess that would also work with the crossfader.
 

Posté Thu 11 Jul 24 @ 9:54 am
locoDogPRO InfinityModeratorMember since 2013
@DJPhallus you could cut that down to
param_bigger 0.48 && param_smaller 0.52 ? filter 0.5 : filter


not that it makes much difference, but it tidies up "between" type queries.
 

Posté Thu 11 Jul 24 @ 10:37 am
For fear of going slightly off topic but....

param_bigger 0.48 && param_smaller 0.52 ? filter 0.5 : filter

doesn't work for reasons unknown? It filters out high but not low. Also..

param_smaller 0.52 && param_bigger 0.48 ? filter 0.5 : filter

filters low but not high?
 

Posté Thu 11 Jul 24 @ 8:40 pm
locoDogPRO InfinityModeratorMember since 2013
oh my mistake, I thought the implicit would get into the && query.

Something like this works, it's one query but more typing so not really worth the effort in this case, but if you understand it, it might come into play with something a bit more involved.
filter & param_equal `param_bigger 0.48 filter` `param_smaller 0.52 filter` ? filter 0.5 : 
 

Posté Thu 11 Jul 24 @ 9:23 pm