I want Ableton Link permanently enabled but resetFXOnLoad turns off Ableton Link when I load a new track. I really need resetFXOnLoad to reset effects automatically because I ALWAYS forget to do it manually. The three other reasons are, to free up the effects slots, and I don’t want to have to switch to the MASTER tab every time to re-enable Ableton Link in the MASTER EFFECT, and I want ECHO always enabled in the Sampler. Is there a way to map Ableton Link in ONINIT as a way to  bypass resetFXOnLoad?
       
    Posté Tue 26 Apr 22 @ 12:12 am
          Just now, I found that Master Effect is not affected by resetFXOnLoad. Cool. But I can't get a script to work in ONINIT
effect_active 1 'Ableton Link' on &
or
deck master effect_active 1 'Ableton Link' on &
       
    effect_active 1 'Ableton Link' on &
or
deck master effect_active 1 'Ableton Link' on &
Posté Tue 26 Apr 22 @ 3:37 am
          deck master effect_active 'ableton link' 
should work
    should work
Posté Tue 26 Apr 22 @ 4:29 am
          OH SWEET! It works! Thanks, Rune! 
Is the example given in the Mapping section wrong? It says
activate/deactivate the effect on a specific slot. example: effect_active 1 'flanger' on or effect_active 1
I also got the sampler effect to stay on by omitting on & 1
Maybe the examples are outdated? Is there a website dedicated to Virtual DJ Script, with a noob section would be nice :D
    Is the example given in the Mapping section wrong? It says
activate/deactivate the effect on a specific slot. example: effect_active 1 'flanger' on or effect_active 1
I also got the sampler effect to stay on by omitting on & 1
Maybe the examples are outdated? Is there a website dedicated to Virtual DJ Script, with a noob section would be nice :D
Posté Tue 26 Apr 22 @ 4:53 am
          Maybe it was the & sign you put at end.
Otherwise it looked correct yours ;-)
    Otherwise it looked correct yours ;-)
Posté Tue 26 Apr 22 @ 5:35 am
          Here 's my controller's ONINIT script. As I understand it, the "&" is supposed to separate each statement and commands. It works fine on everything. I'm afraid to change it now, I just know I'll wreck myself if I do. Thanks for the tips!
set "$mode" 1 & deck 1 vinyl_mode 0 & deck 2 vinyl_mode 0 &
sampler_volume_master 30% &
deck master effect_active 'ableton link' &
effect_active 'sampler' &
video on &
deck 1 leftvideo &
deck 2 rightvideo &
headphone_mix 50% &
mic on &
mic_volume 50% &
video_crossfader on
    set "$mode" 1 & deck 1 vinyl_mode 0 & deck 2 vinyl_mode 0 &
sampler_volume_master 30% &
deck master effect_active 'ableton link' &
effect_active 'sampler' &
video on &
deck 1 leftvideo &
deck 2 rightvideo &
headphone_mix 50% &
mic on &
mic_volume 50% &
video_crossfader on
Posté Tue 26 Apr 22 @ 6:00 am
          yes.. if you had more statements the & sign is correct ;-)
       
    Posté Tue 26 Apr 22 @ 6:04 am
          I was right, yay!
Ouch! I just injured my shoulder trying to pat myself on the back 😂
    Ouch! I just injured my shoulder trying to pat myself on the back 😂
Posté Tue 26 Apr 22 @ 6:26 am









