add strip/bus commands to readme, update examples

Added strip/bus command section to readme

update changelog

Add more params to examples
This commit is contained in:
onyx-and-iris 2021-05-05 19:02:20 +01:00
parent fbe9fe68cf
commit 5ceacb4486
4 changed files with 38 additions and 12 deletions

View File

@ -8,6 +8,9 @@ Before any minor/major patch is released all test units will be run to verify th
## [Unreleased]
- [x] Fetch dll path through registry (support for 32 and 64 bit)
- [x] Add strip/bus commands section to README
- [ ] Add label/device name commands to Strips
- [ ] Add vban commands
## [1.4] - 2021-05-03
### Added

View File

@ -95,6 +95,19 @@ try {
}
finally { $vmr.Logout() }
```
### Strip|Bus
The following strip/bus commands are available:
- mute
- mono
- solo
- A1-A5
- B1-B3
- limit
- gain
- comp
- gate
A,B commands depend on Voicemeeter type.
### Macrobuttons
Three modes defined: state, stateonly and trigger.

View File

@ -4,12 +4,12 @@ try {
$vmr = Get-RemoteBanana
$hash = @{
strip_0 = @{mute = $true; mono = $true};
strip_1 = @{mute = $true; mono = $true};
strip_2 = @{mute = $true; mono = $true};
bus_0 = @{mute = $true; mono = $true};
bus_1 = @{mute = $true; mono = $true};
bus_2 = @{mute = $true; mono = $true};
strip_0 = @{mute = $true; mono = $true; A1 = $true; B2 = $true; gain = 2.3};
strip_1 = @{mute = $true; mono = $true; A1 = $true; B2 = $true; gain = -3.0};
strip_2 = @{mute = $true; mono = $true; A1 = $true; B2 = $true; gain = 0.3};
bus_0 = @{mute = $true; mono = $true; solo = $true; gain = -0.3};
bus_1 = @{mute = $true; mono = $true; solo = $true; gain = -3.3};
bus_2 = @{mute = $true; mono = $true; solo = $true; gain = 2.3};
mb_0 = @{state = $true};
mb_1 = @{stateonly = $true};
@ -19,12 +19,12 @@ try {
$vmr.Set_Multi($hash)
$hash = @{
strip_0 = @{mute = $false; mono = $false};
strip_1 = @{mute = $false; mono = $false};
strip_2 = @{mute = $false; mono = $false};
bus_0 = @{mute = $false; mono = $false};
bus_1 = @{mute = $false; mono = $false};
bus_2 = @{mute = $false; mono = $false};
strip_0 = @{mute = $false; mono = $false; A1 = $false; B2 = $false; gain = 0};
strip_1 = @{mute = $false; mono = $false; A1 = $false; B2 = $false; gain = 0};
strip_2 = @{mute = $false; mono = $false; A1 = $false; B2 = $false; gain = 0};
bus_0 = @{mute = $false; mono = $false; solo = $false; gain = 0};
bus_1 = @{mute = $false; mono = $false; solo = $false; gain = 0};
bus_2 = @{mute = $false; mono = $false; solo = $false; gain = 0};
mb_0 = @{state = $false};
mb_1 = @{stateonly = $false};

View File

@ -17,5 +17,15 @@ try {
$vmr.bus[2].mute
$vmr.bus[2].mute = $false
$vmr.bus[2].mute
$vmr.strip[0].A1 = $true
$vmr.strip[0].A1
$vmr.strip[0].B2 = $false
$vmr.strip[0].B2
$vmr.bus[2].gain = -0.3
$vmr.bus[2].gain
$vmr.bus[3].gain = 3.2
$vmr.bus[3].gain
}
finally { $vmr.Logout() }