Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: Change crossfader curve with a button?

This topic is old and might contain outdated or incorrect information.

Hey, I was just wondering if it is possible to switch between 2 crossfader types by pushing a button on a controller? I mean something along the lines of

button active crossfader_curves "scratch"
button not active crossfader_curves "full"

Would anyone have any idea what the code would be if it is possible?

(I wasn't sure if there was a general thread for coding enquiries so I'm sorry if this is in the wrong place!)

Thanks


 

Posted Sat 03 Mar 12 @ 11:45 am
Here's from the Wiki,

crossfader_curve : select the curve of the crossfader. enter a value to adjust the slope from a X curve (0%) to a inverted-U curve (100%). you can also specify common curves by name ("smooth", "full", "scratch", "cut", "disabled"). or you can draw your own curve, using a syntax like 'crossfader_curve "0=[1,0]/0.5=[1,1]/1=[0,1]"'.

Try just mapping 2 buttons with,
Crossfader_curve 'full'
Crossfader_curve 'scratch'

Hope that helps
Huey
 

Posted Sat 03 Mar 12 @ 1:12 pm
Or you can map it to a single toggle button using the following:

crossfader_curve 'full' ? crossfader_curve 'scratch' : crossfader_curve 'full'
 

Posted Sun 04 Mar 12 @ 10:01 am
Thats exactly what I was looking for, thanks for the help!
 

Posted Mon 05 Mar 12 @ 11:09 am


(Old topics and forums are automatically closed)