Ingresar:     


Forum: General Discussion

Tópico: Fade volume/level

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

I have 4 buttons set up for controlling level %. One is deck 1 level 100%, another is deck 1 level 100% while_pressed, and the other two are the same as above but for 0%.

Instead of the level % jumping abruptly, is it possible to fade from 0% to 100% very quickly, to give the effect of using a linefader?
 

Mensajes Wed 14 Sep 16 @ 4:28 pm
repeat_start_instant 'rsiFadeD' 33ms & level 0 ? repeat_stop 'rsiFadeD' : level -0.04

will drop from 100% to 0 in 0.825 seconds
 

Thanks that works as a fader. But fitting it into my existing code is is more complicated than I thought. I also have a cancel script attached to the buttons.

Button 1 acts as a 100% to 0% level while_pressed:
down ? deck 1 volume 0% : var_equal 'cancel 1_0%' 1 ? nothing : deck 1 volume 100%

Button 2 acts just as a 100% to 0% level, but also cancels Button 1:
set 'cancel 1_0%' 1 while_pressed & deck 1 level 0%

Is it possible to fit a fader script into these?
 



(Los tópicos y foros antiguos son automáticamente cerrados)