mirror of
				https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
				synced 2025-11-04 14:21:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			406 B
		
	
	
	
		
			PowerShell
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			406 B
		
	
	
	
		
			PowerShell
		
	
	
	
	
	
Import-Module .\lib\Voicemeeter.psm1
 | 
						|
 | 
						|
try {
 | 
						|
    # Run the factory function for required Voicemeeter type
 | 
						|
    $vmr = Get-RemoteBanana
 | 
						|
 | 
						|
    # Set strip and bus params
 | 
						|
    $vmr.strip[0].mono = $true
 | 
						|
    $vmr.strip[0].mono
 | 
						|
    $vmr.bus[1].mute = $false
 | 
						|
    $vmr.bus[1].mute
 | 
						|
 | 
						|
    # Set macrobutton with id 4, mode state to 1
 | 
						|
    $vmr.button[4].state = $true
 | 
						|
    $vmr.button[4].state
 | 
						|
}
 | 
						|
finally { $vmr.Logout() }
 |