Circular Labs Forums  

Go Back   Circular Labs Forums > Mobius Discussion > Scripting

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-28-2011, 05:03 PM
gtodd876's Avatar
gtodd876 gtodd876 is offline
Member
 
Join Date: Nov 2009
Location: VA
Posts: 86
Default Fade Out Sudden In

I guessed at a tweak to the fade out/in script so it will fade out the selecte track yet instead of fading in it will go straight back to full volume.... and it worked!
Here it is in case somebody else needs something like this in the future:

!name Fade Out Sudden In
!autoload
Variable track lastLevel
if output = 0
while output < lastLevel
set output 127
Wait msec 100
next
else
set lastLevel output
while output > 0
set output output - 1
Wait msec 100
next
endif
Reply With Quote
  #2  
Old 04-21-2012, 03:02 PM
james db james db is offline
Member
 
Join Date: Nov 2011
Posts: 32
Default

hey, i'm using a variation on this script. Do you know how to add a mute/unmute to it?
So, it either fades down to 0, then goes to mute..... OR it unmutes, then fades up...
Reply With Quote
  #3  
Old 04-21-2012, 04:52 PM
Jeff's Avatar
Jeff Jeff is offline
Benevolent Dictator
 
Join Date: Oct 2009
Location: Austin, Texas
Posts: 721
Default

If you're fading down to output level 0 you don't really need to Mute. The only reason you might want to use Mute is if you wanted to retrigger from the beginning when you wanted to fade back in. Here is one example, this is different than Todd's script because it fades slowly back in rather than going to 127. It assumes that you have MuteMode set to Start.

Code:
!name Fade Out/Mute/FadeIn
!autoload 
Variable track lastLevel 
if output = 0 
  MuteOff
  while output < lastLevel
    set output output + 1
    Wait msec 100
  next
else
  set lastLevel output
  while output > 0
    set output output - 1
    Wait msec 100
  next
  MuteOn
endif
Reply With Quote
  #4  
Old 04-23-2012, 03:09 PM
james db james db is offline
Member
 
Join Date: Nov 2011
Posts: 32
Default

i've sorted it, i was just wanting to go into mute so visually it was clearer for me. Im just using a very quick fade in/out to smooth over mutes basically
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:58 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.