vMix Forums
»
General
»
General Discussion
»
Fade audio out when using a shortcut
Rank: Advanced Member
Groups: Registered
Joined: 1/15/2017(UTC) Posts: 45 Location: Exeter, UK
Thanks: 17 times Was thanked: 1 time(s) in 1 post(s)
|
Is there anyway to fade out an audio input by using shortcuts?
Alex
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
Yep! SetVolume is the command to use. Scripting for creating the loop based on your will: logarithmic, straight, etc... However normally a fade out has to be done in some "tempo", not always at the same speed. This is difficult to script!
|
1 user thanked DWAM for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 1/15/2017(UTC) Posts: 45 Location: Exeter, UK
Thanks: 17 times Was thanked: 1 time(s) in 1 post(s)
|
DWAM wrote:Yep! SetVolume is the command to use. Scripting for creating the loop based on your will: logarithmic, straight, etc... However normally a fade out has to be done in some "tempo", not always at the same speed. This is difficult to script! Hi DWAM, Thanks for your reply. I don't suppose you could give me any pointers please as I have not done anything like this before. Happy to test a more basic fade as I think this will work. Alex
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 11/11/2016(UTC) Posts: 378 Location: Europe Thanks: 23 times Was thanked: 38 time(s) in 32 post(s)
|
DWAM wrote:Yep! SetVolume is the command to use. Scripting for creating the loop based on your will: logarithmic, straight, etc... However normally a fade out has to be done in some "tempo", not always at the same speed. This is difficult to script! a realy fade would be great At the moment, I do it with SetVolume, but I have to keep the original in a variable, to set the old Volume at Fade in it would be much easier to have a fade out/in instead of manipulate the volume (adjusted by the sound people)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
Trying to do an audio fade in or out with a shortcut triggered by a keystroke doesn't make much sense in my opinion when it is so handy to do it with a fader which is made for that. If you don't have a midi device (or a simple joystick), why don't you simply use vMix Audio Mixer?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 1/15/2017(UTC) Posts: 45 Location: Exeter, UK
Thanks: 17 times Was thanked: 1 time(s) in 1 post(s)
|
DWAM wrote:Trying to do an audio fade in or out with a shortcut triggered by a keystroke doesn't make much sense in my opinion when it is so handy to do it with a fader which is made for that. If you don't have a midi device (or a simple joystick), why don't you simply use vMix Audio Mixer?
Agreed (for live production) but we are creating recordings and our setup is automated. Any help you can offer would be much appreciated :) Alex
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
If you still want to try, you can use SetVolume with a value like +=5 to increase volume by keypress or -=5 to decrease it. Several quick key presses in a row will create some sort of fade effect. That's the principle. I wouldn't do that!
A nicer effect can be achieved by creating a loop in a script that would use values like +=1 or -=1 for smoother fades. But still it would not fade according to a tempo speed. But I can't teach you how to script here. If you want to learn, there are hundreds of vb.net tutorials online.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 11/11/2016(UTC) Posts: 378 Location: Europe Thanks: 23 times Was thanked: 38 time(s) in 32 post(s)
|
we have a nearly complete remote controler for vMix, except these shortcuts, which are missing therefor the volountiers have to handle with vMix it would be nice, the only have to deal with the remote control machine, so they can't change the config or something else, they are not "allowed"
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/11/2018(UTC) Posts: 60 Thanks: 33 times Was thanked: 6 time(s) in 6 post(s)
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 6/24/2019(UTC) Posts: 13 Location: MD Was thanked: 2 time(s) in 2 post(s)
|
Originally Posted by: ThomasK This function doesn't seem to work for the 'ever elusive vmix fade' as promised. I enter the value=1-100 Milliseconds i.e.(-=20) as indicated on the guide, ...annnnd nothing. what am I doing wrong?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/23/2019(UTC) Posts: 556
Thanks: 62 times Was thanked: 130 time(s) in 118 post(s)
|
Value = Volume,Milliseconds
So if you want to fade out in 2 seconds, the value would be:
0,2000
If you want to fade in to full volume in one second:
100,1000
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Fade audio out when using a shortcut
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close