Sign In:     


Forum: Old versions

Topic: Help Mapping a button to turn crossfader on and off

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

Hey new mapper here in need of some help! I like using the crossfader on my MIDI controller, but sometimes I bump it when i dont want to, so i want to be able t press a key on my keyboard to turn it on and off. How do I map this? I tried 'activate on" "activate off" and it didnt work.
Thanks in advance.
 

Posted Thu 24 Jan 13 @ 2:59 am
button to tun on/off
toggle 'cf_off'

crossfader
var 'cf_off' ? nothing : crossfader

if you want to take advantage of the soft takeover map this to the crossfader instead
var 'cf_off' ? nothing : crossfader_slider


 

on the button.
"var_equal '$faderon' 1 ? set '$faderon' 0 : '$faderon' 1"

on the crossfader
"var_equal '$faderon' 1 ? crossfader_slider : nothing"

if you want a led to display whether crossfader is enabled
"var_equal '$faderon' 1 ? on : off"

edit: my method is the same method as synthet1c posted, just far more long winded and might be easier to understand for some people
 

IT WORKS LIKE A CHARM
Thank you both, you guys helped me out unbelievably quickly. I'll be making this mod to my jogwheel too.
Much appreciated
 

You can always use the internal crossfader adjustment too:

"crossfader_curve 'disabled' ? crossfader_curve 'smooth' : crossfader_curve 'disabled'"

And for the LED:
"crossfader_curve 'disabled' ? off : on"



PS: The "crossfder_curve" command controls the internal crossfader option of the software. In other words it will disable the crossfader on BOTH the controller, AND the skin/GUI!!! It's the same as opening config and turning crossfader option to "disabled"
 

Thanks so much the crossfader doesn't work at all.
 

Break69 wrote :
Thanks so much the crossfader doesn't work at all.


On the screen with your mouse?

Or on a controller? Because you shouldn't be able to use VDJ with a controller for more than a 10 min test period when you use the free home edition
 



(Old topics and forums are automatically closed)