Rank: Advanced Member
Groups: Registered
Joined: 11/22/2018(UTC) Posts: 94 Location: Worthing Thanks: 1 times Was thanked: 4 time(s) in 3 post(s)
|
Hi,
I have a simple VB.net script that I am running before the stream starts and it plays a slidelshow then a few titles that I can update. I would like to add music to this but I haven't find a way to turn on the Audio input.
I have tried input.find("21").Function("AudioOn") but the audio on 21 is still not going to the output
Any tips?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/20/2015(UTC) Posts: 493 Location: Copenhagen, Denmark Thanks: 389 times Was thanked: 100 time(s) in 79 post(s)
|
API.Function("AudioOn", Input:=21)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 11/22/2018(UTC) Posts: 94 Location: Worthing Thanks: 1 times Was thanked: 4 time(s) in 3 post(s)
|
thanks that works.
I have also tried SetVolumeFade API.Function("SetVolumeFade", Value:=0, Duration:=500, Input:=21) but I couldn't get that to work, obviously I'm misunderstanding the syntax. Any clues?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: FrankLeggett thanks that works.
I have also tried SetVolumeFade API.Function("SetVolumeFade", Value:=0, Duration:=500, Input:=21) but I couldn't get that to work, obviously I'm misunderstanding the syntax. Any clues? Please check in the shortcut list for details !! Value should be volumelevel , duration !
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 11/22/2018(UTC) Posts: 94 Location: Worthing Thanks: 1 times Was thanked: 4 time(s) in 3 post(s)
|
Thanks doggy the shortcut list isn't specific.
this is what the shortcut list says "SetVolumeFade - Set volume gradually over x milliseconds. - Value = Volume 0-100,Milliseconds - Value,Input"
I have also tried API.Function("SetVolumeFade", Value:=0, 500, Input:=21) That causes an error when saving the script
If I understand you correctly I should instead enter API.Function("SetVolumeFade", Volumelevel:=0, Duration:=500, Input:=21)
The shortcut list doesn't say add "Duration" and it doesn't say "Volumelevel" basically it isn't obvious unless you have experience with syntax
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 6/16/2020(UTC) Posts: 77 Thanks: 8 times Was thanked: 2 time(s) in 2 post(s)
|
|
|
|
|
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