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?
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?
geposted Sun 17 Oct 21 @ 1:34 pm
(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
deck 1 play & repeat_start 'rsiFadeD' 120ms -1 & level 1 ? repeat_stop 'rsiFadeD' : level +0.04
geposted Sun 17 Oct 21 @ 1:58 pm
make the level query against 1 instead of zero, get rid of the unload, make the level modifier positive instead of negative
geposted Sun 17 Oct 21 @ 1:58 pm