vMix Forums
»
General
»
General Discussion
»
"Route ALL Inputs to BUS X" Is there any single action (trigger/shortcut) for this?
Rank: Member
Groups: Registered
Joined: 1/20/2021(UTC) Posts: 11 Location: Istanbul
Thanks: 8 times
|
Hello,
I couldn't find any specific way to achieve this (maybe it's here in different topics and i couldn't find the correct search keywords)
The question is same as the topic.
I'm looking for a single action (trigger/shortcut) to toggle Routing All Inputs to Bus X (can be any of the 8 audio Bus).
I can achieve this by adding a trigger for every single input. But i feel there is an easier way which i couldn't find.
PS: I can't turn off Audio's of the inputs or of a Bus.
Thank you in advance,
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 292 times Was thanked: 955 time(s) in 790 post(s)
|
by calling a script that loops through all the inputs to Set to bus X ?
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 1/20/2021(UTC) Posts: 11 Location: Istanbul
Thanks: 8 times
|
Thank you very much for quick reply doggy. I'm not familiar with scripting at the moment, it seems that i must work on it.
While writing a script, will i need to specify every single input separately or is there a command to trigger all inputs?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 292 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: hardayildiz Thank you very much for quick reply doggy. I'm not familiar with scripting at the moment, it seems that i must work on it.
While writing a script, will i need to specify every single input separately or is there a command to trigger all inputs? you could have a instruction for every input separately but that is not practical unless you always have a fixed amount of inputs , then one might as well have such a bunch of shortcut all with the same trigger key. a script ( vb.net programming) can do it regardless of the amount of inputs , do only the ones that are able to ( titles for example have no effect to it ) etc. One creates a command Basically one creates a loop for every input ( 1 to input count) instruct the audio bus next one can get the amount of inputs retrieving (counting) it from the vMix Api Check out "scripting for dummies" post regarding scripting basics
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 292 times Was thanked: 955 time(s) in 790 post(s)
|
togglebus.JPG (42kb) downloaded 3 time(s).For even more fun/flexibiity , create various shorcuts to SetDynamicValueX to any specific bus you want and call the script with the function in the script having Value:= DynamicX (x= 1-4)
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/6/2020(UTC) Posts: 98 Was thanked: 21 time(s) in 21 post(s)
|
Apologies for being too lazy right now to turn on the vMix machine and try for myself, but... What would be the best way to get the category for each Input in the script ?
I was thinking that I could modify the script to assign all Inputs in the 'Red' category to Bus A, all the Inputs in the 'Blue' category to Bus C, etc. That way, I could categorise my inputs as I add them and then easily route all audio files to one bus, all vMix Calls to another, and so on.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 292 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: matkeane Apologies for being too lazy right now to turn on the vMix machine and try for myself, but... What would be the best way to get the category for each Input in the script ?
I was thinking that I could modify the script to assign all Inputs in the 'Red' category to Bus A, all the Inputs in the 'Blue' category to Bus C, etc. That way, I could categorise my inputs as I add them and then easily route all audio files to one bus, all vMix Calls to another, and so on. if you are able to find which inputs belong to which color tab from the API XML you could . Too lazy and no free (uncompensated) time left to check ;-).
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/6/2020(UTC) Posts: 98 Was thanked: 21 time(s) in 21 post(s)
|
Originally Posted by: doggy if you are able to find which inputs belong to which color tab from the API XML you could . Too lazy and no free (uncompensated) time left to check ;-). Haha, fair enough! ;-) After a quick test of the API, it seems like the Input category is not included in the XML response. I can set the category for an input with the SelectCategory shortcut but not read the current value, unless I'm missing something. On the other hand, the API does return a 'type' property for each input - e.g. "Image", "VideoCall", "AudioFile", "Video", etc - so I could use that to send all calls to one bus and all video & audio files to another, which will make the sound guy happy. Right now though, the weather is improving so it's time to get out on the bike - API scripting tests will have to wait until later !
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 292 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: matkeane After a quick test of the API, it seems like the Input category is not included in the XML response.
Bingo Quote:I can set the category for an input with the SelectCategory shortcut but not read the current value, unless I'm missing something. On the other hand, the API does return a 'type' property for each input - e.g. "Image", "VideoCall", "AudioFile", "Video", etc - so I could use that to send all calls to one bus and all video & audio files to another, which will make the sound guy happy. Double Bingo
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
"Route ALL Inputs to BUS X" Is there any single action (trigger/shortcut) for this?
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