vMix Forums
»
General
»
General Discussion
»
Automatically play audio on one of four sources in scene layer
Rank: Newbie
Groups: Registered
Joined: 5/1/2025(UTC) Posts: 3  Location: CA
|
 Hey all, I'm looking to figure out if there's a way that I can script or maybe there's a setting that turns on audio from only the first layer in a input.  My 4 inputs are OBS1, OBS2, OBS3, and OBS4. At any given time any of these 4 can be in the "main larger box" and then the other 3 options are on the side in the smaller views. It's simple to set up triggers to hard code which audio comes on, but what I'm looking to do is rotate through them. The way that I have it set up is I have two identical inputs that I merge between to move the scenes around. So it could be Input one:Main: OBS1 (With Audio) Sidebar: OBS2, OBS3, OBS4 (All Muted) Input two: Main: OBS3 (With Audio) Sidebar: OBS1, OBS2, OBS4 (All Muted) So is there a way when I transition to a scene that VMix looks at what the first layer is, turns that audio on and turns all other layers in the scene off? Thanks in advance for any ideas!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 647  Location: athens Thanks: 155 times Was thanked: 84 time(s) in 80 post(s)
|
Hi there exist at least 2 ways to do it 1.vmix scripting that will check what input is on layer 1 to your input and do the action 2.Bitfocus companion triggers like "on condition become true"-->check internal value-->layer name on the specific input, do the action
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 5/1/2025(UTC) Posts: 3  Location: CA
|
Originally Posted by: nikosman88  Hi there exist at least 2 ways to do it 1.vmix scripting that will check what input is on layer 1 to your input and do the action 2.Bitfocus companion triggers like "on condition become true"-->check internal value-->layer name on the specific input, do the action
Love to hear that, can you think of any scripts that might be close to what I'm asking for? I'll start digging in the meantime! Thanks!
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 5/1/2025(UTC) Posts: 3  Location: CA
|
Ok after some searching the main thing I seem to be getting stuck on is simply how to pull what is on each layer. It seems very simple to set things to layers but much more complex to have the system tell me what's on the layer. Seems like there's some XML solutions so I'll start learning that but it seems like a convoluted solve.
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Automatically play audio on one of four sources in scene layer
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