logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
fgolman  
#1 Posted : Thursday, October 24, 2024 9:06:26 AM(UTC)
fgolman

Rank: Advanced Member

Groups: Registered
Joined: 3/30/2023(UTC)
Posts: 85
United States
Location: Chicago

Thanks: 8 times
Was thanked: 3 time(s) in 2 post(s)
Here is the scenario:

We need to alter which audio source is going to a stream output.

I can control which video is applied to the output (EG, output 4) from the API. However, it doesn't appear there is a way to assign an audio source or bus to the output except what is hard coded in the cog assignment on the output panel.

We are calling the API command to alter the video going to output 4 via the SetOuput4 API call on a Stream Deck but I need to add to that the audio source (either a bus or specific input).


Is there a way to dynamically control that audio channel from an API call?

I see that there's a bus assignment via preset but this seems obtuse as to its application.

Can someone take a few moments to outline it?

Thanks in advance for this.

FYI I searched the forum and I didn't find any reference to its use and the documentation on it is skimpy.

Cheers!

Fritz Golman
iHeartMedia

nikosman88  
#2 Posted : Thursday, October 24, 2024 9:55:52 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 545
Greece
Location: athens

Thanks: 130 times
Was thanked: 74 time(s) in 70 post(s)
Yes i see that is hardcoded there. A workaround solution could be to select in the streaming settings audio,instead of master audio,one bus for example BUS G. Then you have to make shortcuts that will do the routing (audiobus G on or off per audio vmix input you need to send) via this Bus. For example if you have audio 1 vmix input and audio 2 vmix input and for current moment of time you need to send audio 1 into the stream,you have to make a shortcut or trigger that will enable Bus G (AudioBuson -->audio 1 input-->bus G) into audio 1 input and maybe same time disable in the audio 2 the bus G.
Maybe you can do a script that use dynamic values to do the right selection of what input will be AudioBuson-->your selected Bus and other inputs AudioBusoff-->your selected bus
fgolman  
#3 Posted : Thursday, October 24, 2024 11:35:22 AM(UTC)
fgolman

Rank: Advanced Member

Groups: Registered
Joined: 3/30/2023(UTC)
Posts: 85
United States
Location: Chicago

Thanks: 8 times
Was thanked: 3 time(s) in 2 post(s)
Yeah, a version of what you're talking about will work.

Since the only options for multiple sources in the streaming window are MA, MAB and FG, and we're already using A and B, I guess we'll have to route that via F and G.

What a silly arrangement this is but at least it will work.

And I can turn those on and off from the API so it will be fine.

Thanks,

Fritz Golman
iHeartMedia
WaltG12  
#4 Posted : Thursday, October 24, 2024 4:49:55 PM(UTC)
WaltG12

Rank: Advanced Member

Groups: Registered
Joined: 7/4/2021(UTC)
Posts: 312
United States

Thanks: 8 times
Was thanked: 43 time(s) in 37 post(s)
fgolman  
#5 Posted : Friday, October 25, 2024 3:06:50 AM(UTC)
fgolman

Rank: Advanced Member

Groups: Registered
Joined: 3/30/2023(UTC)
Posts: 85
United States
Location: Chicago

Thanks: 8 times
Was thanked: 3 time(s) in 2 post(s)
Wow, I was able to make this work but boy that was totally nonsensical.

If it only allowed assignment of specific audio bus to the output channel the way it works from video ... accessible from the API. It would work SO much better and cleaner.

My solution

1) Put desired iso source on bus F and G (which itself is a crazy limitiation).
2) Turn bus F or G on or off.
3) Add or remove source from M.
3) Mute source when main program is running, unmute when in this bypass.

I'll refer to this in a feature request.

Thanks for everyone's thoughts.

Fritz Golman
iHeartMedia
Users browsing this topic
Guest
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.