Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Use Detune effect in active LOOP?

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

Hi all
I would like to be able to use the Detune effect (extension made by Locodog) in an active LOOP.
Now, when I am in an active (saved) LOOP and I use the Detune effect, my active LOOP goes out of LOOP on the first push (since Detune is also using LOOP to create the effect).
Is it doable to keep the active LOOP (for example 8 bar LOOP) active when using the Detune effect? And deactivate SLIP when Detune is used in an active (saved) LOOP?
I know it's a bit tricky because Detune is also using the LOOP section to do the effect.
So what it should do is:
8 bar LOOP is active, Detune 1/2 key down while button is pushed + SLIP = OFF. Button let go = originally 8 bar LOOP is active again.
And when no LOOP is active, Detune 1/2 key down while button pushed + SLIP = ON

I now have the following Push action in the PAD EDITOR for the Detune effect (effect controls: KEY -1, LOOP 100%, START 1/2):
effect select 'detune' & effect_slider 1 0% & effect_slider 2 50% & effect_slider 3 65% & effect 'detune' active while_pressed & slip while_pressed

Is it possible to do the above? And what would the coding be in the Push action in PAD EDITOR to make it possible?
(sorry, I know very little about the coding-language)

Thanks in advance!
 

Posted Fri 01 May 20 @ 3:47 pm
locoDogPRO InfinityModeratorMember since 2013
Nice idea, always nice to see my toys used in ways I didn't think about.
you've found a minor bug [or at least pointed me towards the bug] I'll fix in a future update [start value doesn't over ride current active loop]

I think this is what you're after, [but I'm not absolutely sure as my version is/might be different to the release]

set 'originLoop' `get_active_loop` & effect select 'detune' & effect_slider 1 0% & effect_slider 2 50% & effect_slider 3 65% & var 'originLoop' 0 ? effect_button 'detune' 1 1 & effect 'detune' active while_pressed & slip while_pressed : effect_button 'detune' 1 0 & down ? loop 0.5 & effect 'detune' active on : effect 'detune' active off & get_var 'originLoop' & param_cast & loop

set 'originLoop' `get_active_loop` & effect select 'detune' & effect_slider 1 0% & effect_slider 2 50% & effect_slider 3 65% & var 'originLoop' 0 ? effect_button 'detune' 1 1 & effect 'detune' active while_pressed & slip while_pressed : effect_button 'detune' 1 0 & down ? loop 0.5 & effect 'detune' active on : effect 'detune' active off & get_var 'originLoop' & param_cast & loop


further questions please post in the addon thread, I'll copy ^this^ in there
http://www.virtualdj.com/forums/233511/Addons/Detune.html
 

Posted Fri 01 May 20 @ 5:31 pm


(Old topics and forums are automatically closed)