vMix Forums
	 » 
	General
	 » 
	General Discussion
	 » 
	Shortcut to [Add to] or [Remove from] Bus/Master...
	 
	
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
 Joined: 5/27/2017(UTC) Posts: 93   Location: Greater St Louis AreaThanks: 67 timesWas thanked: 20 time(s) in 13 post(s)
 
 | 
            
		      
                I've seen some creative solutions out there from some of you folks... hoping you have thoughts to help me solve this issue:
 I have all vMixCall participants on Master as well as Bus A. I produce via Bus A so everyone in vMix can hear me but YouTube never has to hear the awful screech that is my voice. I'd like to be able to trigger a script/shortcut that would remove all participants from Master, and leave them on Bus A. This way, we can all chat "privately" while other audio is playing on Master. When the conversation is done, another click or another button would add them back to Master.
 
 In reviewing my Shortcut options, I have plenty of ways to kill audio generally, but nothing to do this specific task.
 
 Thoughts?
 
 Thank you,
 
 Chad
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
Joined: 11/28/2015(UTC)
 Posts: 192
 
 Thanks: 10 timesWas thanked: 33 time(s) in 28 post(s)
 
 |  | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
 Joined: 5/27/2017(UTC) Posts: 93   Location: Greater St Louis AreaThanks: 67 timesWas thanked: 20 time(s) in 13 post(s)
 
 | 
            
		      
                PM, I haven't done anything in the Scripting environment until your suggestion... the documentation is pretty rough, and I think I've sort of kludged my way through, but I now have what I need: Function is RemoveCallersFromMaster(): Code:Dim client As New System.Net.WebClient
Dim commands As New System.Text.StringBuilder
For i As Integer = 1 to 8
   commands.AppendLine("Function=AudioBusOff&Input=" + i.ToString() + "&Value=M")
Next
Dim postValues As New System.Collections.Specialized.NameValueCollection
postValues.Add("Function", "ScriptStartDynamic")
postValues.Add("Value", commands.ToString)
client.UploadValues("http://localhost:8088/API/", "POST", postValues)
 I found the cleaner way to do it: Code:For i As Integer = 1 to 8
   API.Function("AudioBusOff", i, "M")
Next
 Knowing how to pass parameters would make a difference. Thank you for pointing that out. Chad | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
                           
	vMix Forums
	 » 
	General
	 » 
	General Discussion
	 » 
	Shortcut to [Add to] or [Remove from] Bus/Master...
	 
	
    
        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