Global Fade trick

mardi 19 mai 2015

Omni G'day :)
This may already be obvious to some but I just realised something and I though I would share.

I have been using 5 different scripts for fading out all tracks
G-Fade 100ms
G-Fade 200ms
G-Fade 300ms
G-Fade 400ms
G-Fade 500ms

I discovered that I can run “G-Fade 100ms” script more then once simultaneously, to speed up fade times, I can start a fade slowly then increase the rate exponentially.

This also reduces the number of scripts I have.

Code:

!name G-Fade 250ms
#!autoload
##################################################################
# Fade out all output levels
# Glynndub 02-09-2013
##################################################################

Variable done false

Message G-Fade
##################################################################
while !done
  set done true 
  for *
    if output > 0
      set output output - 1
      set done false
    endif
  next
  if !done
    Wait msec 100
  endif
END END END END END END END END END END END END END END END END END
END END END END END END END END END END END END END END END END END



0 commentaires:

Enregistrer un commentaire

 

Lorem

Ipsum

Dolor