Crossfade speed

Need help? Ask your questions here! I'll try to answer every one, but anyone can answer!
Post Reply
Karanight
Posts: 532
Joined: Sat Jan 24, 2009 2:30 am
Location: Stockport UK
Contact:

Crossfade speed

Post by Karanight »

Is there a way to increase the speed that the volume changes on iTunes and kJams using the crossfade script
Posted by Len of LensKaraoke fame

Web site at
http://lenskaraoke.com

DeusExMachina
Posts: 1293
Joined: Sun Apr 20, 2008 9:57 am
Location: Pittsburgh, PA
Contact:

Re: Crossfade speed

Post by DeusExMachina »

Yes, just adjust the step variable. The variable fadeSteps is used to set both. Right now fadeSteps is set to 20. Increasing this value with increase the speed at which the two crossfade. Decreasing it will, um, decrease the crossfade speed. This then sets the two application faders
(Theoretically, you could set the two crossfaders to different speeds by setting kJFadeStep and iTFadeStep manually to different values instead of using the fadeSteps variable, but I can't see why this would be desirable. Doing this will just mean that one application's volume will reach max or min well before the other one does.)

So just find this line:

set fadeSteps to 20

and change the 20 to some other value.
Last edited by DeusExMachina on Thu Feb 21, 2013 11:13 am, edited 1 time in total.

Karanight
Posts: 532
Joined: Sat Jan 24, 2009 2:30 am
Location: Stockport UK
Contact:

Re: Crossfade speed

Post by Karanight »

Thanks, Works a treat
Posted by Len of LensKaraoke fame

Web site at
http://lenskaraoke.com

DeusExMachina
Posts: 1293
Joined: Sun Apr 20, 2008 9:57 am
Location: Pittsburgh, PA
Contact:

Re: Crossfade speed

Post by DeusExMachina »

You're welcome, of course.

dave
Site Admin
Posts: 6688
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: Crossfade speed

Post by dave »

8)

Post Reply