mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-19 05:30:46 +00:00
29 lines
577 B
PowerShell
29 lines
577 B
PowerShell
|
Import-Module Voicemeeter
|
||
|
|
||
|
try {
|
||
|
$vmr = Get-RemotePotato
|
||
|
|
||
|
$hash = @{
|
||
|
"Strip[0].Mute" = $true
|
||
|
"Strip[1].Mute" = $true
|
||
|
"Strip[2].Mute" = $false
|
||
|
"Strip[0].Mono" = $true
|
||
|
"Strip[1].Mono" = $false
|
||
|
"Strip[2].Mono" = $true
|
||
|
}
|
||
|
|
||
|
$vmr.Set_Multi($hash)
|
||
|
|
||
|
$hash = @{
|
||
|
"Strip[0].Mute" = $false
|
||
|
"Strip[1].Mute" = $false
|
||
|
"Strip[2].Mute" = $false
|
||
|
"Strip[0].Mono" = $true
|
||
|
"Strip[1].Mono" = $true
|
||
|
"Strip[2].Mono" = $false
|
||
|
}
|
||
|
|
||
|
$vmr.Set_Multi($hash)
|
||
|
}
|
||
|
finally { $vmr.Logout() }
|