Ingreso rápido:  

Forum: VirtualDJ Technical Support

Tema: How to create a reversed version of this action?
kzbkzbHome userMember since 2021
Hi, so I have an action adapted from this forum that fades a deck and unloads it:

deck 1 repeat_start 'rsiFadeD' 120ms -1 & level 0 ? repeat_stop 'rsiFadeD' & unload : level -0.04

What I'd like to do is create a reverse of this action, that instead of fading it gradually, takes it to full volume. So basically a fade in instead of a fade out.

Also, instead of unloading the deck, I'd like it to start playing the deck - not at the end, but as soon as the action is started. So it starts playing as the fade in begins.

I can't figure out how to make it work though, I've tried a few things. Any help?
 

Mensajes Sun 17 Oct 21 @ 1:34 pm
NicotuxHome userMember since 2014
(deck 1 repeat_start 'rsiFadeD' 120ms -1 & level 0 ? repeat_stop 'rsiFadeD' & unload : level -0.04) ^ -1 ==

deck 1 play & repeat_start 'rsiFadeD' 120ms -1 & level 1 ? repeat_stop 'rsiFadeD' : level +0.04
 

Mensajes Sun 17 Oct 21 @ 1:58 pm
locoDogPRO InfinityModeratorMember since 2013
make the level query against 1 instead of zero, get rid of the unload, make the level modifier positive instead of negative
 

Mensajes Sun 17 Oct 21 @ 1:58 pm