2021-04-30 17:05:31 +01:00
|
|
|
Import-Module .\lib\Voicemeeter.psm1
|
|
|
|
|
|
|
|
try {
|
|
|
|
$vmr = Get-RemoteBanana
|
|
|
|
|
|
|
|
$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)
|
2021-05-02 17:32:04 +01:00
|
|
|
|
|
|
|
$hash = @{
|
|
|
|
"mb_0.state" = $true
|
|
|
|
"mb_1.state" = $true
|
|
|
|
"mb_2.state" = $true
|
|
|
|
}
|
|
|
|
|
|
|
|
$vmr.Set_Multi($hash)
|
|
|
|
|
|
|
|
$hash = @{
|
|
|
|
"mb_0.state" = $false
|
|
|
|
"mb_1.state" = $false
|
|
|
|
"mb_2.state" = $false
|
|
|
|
}
|
|
|
|
|
|
|
|
$vmr.Set_Multi($hash)
|
2021-04-30 17:05:31 +01:00
|
|
|
}
|
2021-05-02 17:32:04 +01:00
|
|
|
finally { $vmr.Logout() }
|