Anmelden:     


Forum: Old versions

Topic: Gradually change volume with VDJScript

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

Hey guys!

I'm trying to figure this one out, I've also searched the forums and wiki with no luck.

Is there a way of gradually reducing/increasing master volume with a one key-stroke. I can set the master volume to 15%, but then it just 'cuts' from ie. 100% to 15% in an instant. I'd like to make it more like fading, when I press it, it slowly reduces volume to 15%. This would be really easy to do with something like a 'while' loop, but I don't think something like that exists in VDJScript.

Any suggestion would be much appreciated, thx,
ZZ
 

geposted Thu 01 Jul 10 @ 6:01 am
Sorry, it's not possible to do this automatically.

However, you could map it to two keys on your keyboard as follows:

master_volume +1%

master_volume -1%

Holding down the key will then cause the slider to move appropriately when the key starts to repeat.
 

Thx for the info, I had a feeling this might actually be the real reason I can't get it to work.

The solution you suggested is what I'm already using, but as I occasionally work at some events, where there is a lot of talk-overs and plenty of switching between music and speech, I figured it'd be much easier just pressing one button and leaving it to the software to do the rest. Maybe in the future then :)

Just a quick idea that popped in my mind just now. Is there maybe something like a 'sleep' function in VDJScript?
We could then put it together something like this:

master_volume +1% & sleep 10ms & master_volume +1% & sleep 10ms & master_volume +1% etc.

Or is it too far fetched again? :)
 

 

Maybe an alternative solution can to to have , for instance :
one desk playing with your track and the pfl off
one desk not playing with the pfl on
and to use the auto_crossfade function

Syntax
auto_crossfade (number of millil seconds)

Example :
auto_crossfade 2000 .. do a full crossfade gradually in two seconds
.. gradually change the crossfade to the other desk .. so if the the other desk is not playing , your volume gradually decrease

You can tune how it decreases with the crossfader_curve function
 



(Alte Themen und Foren werden automatisch geschlossen)