Forum: General Discussion
If you need extended support, contact our Support Team.
Forum Guidelines (*) The moderators hold the rights to move or modify posts in order to keep the discussions clear or to facilitate the search.
VDJ Script: Turn...
Sujet VDJ Script: Turn Off Effect When Deck Output is 0
deck 1 effect_3slots_layout & deck 1 effect_select 1 'reverb' & deck 1 effect_select 2 'echo' & deck 1 effect_slider 1 1 0% & deck 1 effect_slider 2 1 0% & deck 1 effect_active 1 & deck 1 effect_active 2 & repeat_start_instant 'sweep' 300ms 10 & deck 1 effect_slider 1 1 +10% & deck 1 effect_slider 2 1 +1%
Here's where I'm stuck: I'd then like the script to automatically turn off the effects. I'm using this for transitions, basically hitting the button a measure before stopping deck 1 and starting deck 2. As is, I do what I want, the reverb hangs over the cut and everything sounds beautiful, but then I have to remember to turn off Reverb and Echo before I start playing on deck 1 again.
I want to include a repeat_start_instant that checks whether deck 1 has gone silent. If silent, stop the repeat and turn off the effects. Something like:
repeat_start_instant 'volume_check' 100ms & [IS THERE SOUND FROM DECK ONE] ? nothing : repeat_stop 'volume_check' & deck 1 effect_active 1 & deck 1 effect_active 2
What should I fill in there? My first guess, "deck 1 is_audible?" triggers as soon as I stop the track (instead of what I want, for it to trigger after the reverb dies). Should there be some way of making "deck 1 get_level" work with this?
Posté Sun 23 Sep 18 @ 10:45 pm
Posté Mon 24 Sep 18 @ 10:57 am
Posté Mon 24 Sep 18 @ 11:21 am