Hi!
I programmed myself an EchoOut-effect that uses 3 native VDJ-effects and placed this code in a pad_page.
(Just to be clear: I coded the effect-chain with the regular VDJ script inside VDJ - I do NOT mean that I programmed one as a plugin.)
Now I want this 3 effects to stop as soon as a new song gets loaded.
(I know about the setting "resetFXOnLoad"... But I want to have this deactivated, in case I use some other effects meanwhile, and only turn off this 3 specific effects coming from my EchoOut.)
Till now I have any button that starts a loading-command coded to stop this specific effects.
To bypass this mass of text on every single button I thought about using the query "is_using 'load' " in my EchoOut-pad_page to stop the effects every time a song gets loaded.
But this doesn't work because as far as I know the most queries only operate by initiating them (through the push of a button or something).
So now I was wondering about where to place my "is_using 'load' " to get the result I want to achieve.
Meaning: Having the query watching globally about the decks and as soon a song gets loaded it stops my EchoOut-effect-chain.
Is there a special place for that... Maybe even in the skin or something?
And if not... Is there at least a work-around?
I programmed myself an EchoOut-effect that uses 3 native VDJ-effects and placed this code in a pad_page.
(Just to be clear: I coded the effect-chain with the regular VDJ script inside VDJ - I do NOT mean that I programmed one as a plugin.)
Now I want this 3 effects to stop as soon as a new song gets loaded.
(I know about the setting "resetFXOnLoad"... But I want to have this deactivated, in case I use some other effects meanwhile, and only turn off this 3 specific effects coming from my EchoOut.)
Till now I have any button that starts a loading-command coded to stop this specific effects.
To bypass this mass of text on every single button I thought about using the query "is_using 'load' " in my EchoOut-pad_page to stop the effects every time a song gets loaded.
But this doesn't work because as far as I know the most queries only operate by initiating them (through the push of a button or something).
So now I was wondering about where to place my "is_using 'load' " to get the result I want to achieve.
Meaning: Having the query watching globally about the decks and as soon a song gets loaded it stops my EchoOut-effect-chain.
Is there a special place for that... Maybe even in the skin or something?
And if not... Is there at least a work-around?
Posté Sat 26 Jan 19 @ 3:30 am
Set a repeat_start script running at 190ms to query deck 1 load_pulse ? deck 2 load_pulse ? nothing : "kill script for fx on deck 2" : "kill script for fx on deck 1"
Posté Sat 26 Jan 19 @ 5:25 am
Thank you for this tip!
I tried it and it works quite well, but I have to tweek around a little bit to integrate it into my code.
Thanks again!
I tried it and it works quite well, but I have to tweek around a little bit to integrate it into my code.
Thanks again!
Posté Mon 28 Jan 19 @ 7:40 am