mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-18 21:30:46 +00:00
14eb019202
moved examples into examples/ directory. Added two simple examples showing set and get float parameters and set multiple parameters.
22 lines
419 B
PowerShell
22 lines
419 B
PowerShell
Import-Module Voicemeeter
|
|
|
|
try {
|
|
$vmr = Get-RemoteBanana
|
|
|
|
$vmr.button[0].state = $true
|
|
$vmr.button[0].state
|
|
$vmr.button[0].state = $false
|
|
$vmr.button[0].state
|
|
|
|
$vmr.strip[0].mono = $true
|
|
$vmr.strip[0].mono
|
|
$vmr.strip[0].mono = $false
|
|
$vmr.strip[0].mono
|
|
|
|
$vmr.bus[2].mute = $true
|
|
$vmr.bus[2].mute
|
|
$vmr.bus[2].mute = $false
|
|
$vmr.bus[2].mute
|
|
}
|
|
finally { $vmr.Logout() }
|