mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-18 13:20:47 +00:00
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:
parent
fbe9fe68cf
commit
5ceacb4486
@ -8,6 +8,9 @@ Before any minor/major patch is released all test units will be run to verify th
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
- [x] Fetch dll path through registry (support for 32 and 64 bit)
|
- [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
|
## [1.4] - 2021-05-03
|
||||||
### Added
|
### Added
|
||||||
|
13
README.md
13
README.md
@ -95,6 +95,19 @@ try {
|
|||||||
}
|
}
|
||||||
finally { $vmr.Logout() }
|
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
|
### Macrobuttons
|
||||||
Three modes defined: state, stateonly and trigger.
|
Three modes defined: state, stateonly and trigger.
|
||||||
|
24
example.ps1
24
example.ps1
@ -4,12 +4,12 @@ try {
|
|||||||
$vmr = Get-RemoteBanana
|
$vmr = Get-RemoteBanana
|
||||||
|
|
||||||
$hash = @{
|
$hash = @{
|
||||||
strip_0 = @{mute = $true; mono = $true};
|
strip_0 = @{mute = $true; mono = $true; A1 = $true; B2 = $true; gain = 2.3};
|
||||||
strip_1 = @{mute = $true; mono = $true};
|
strip_1 = @{mute = $true; mono = $true; A1 = $true; B2 = $true; gain = -3.0};
|
||||||
strip_2 = @{mute = $true; mono = $true};
|
strip_2 = @{mute = $true; mono = $true; A1 = $true; B2 = $true; gain = 0.3};
|
||||||
bus_0 = @{mute = $true; mono = $true};
|
bus_0 = @{mute = $true; mono = $true; solo = $true; gain = -0.3};
|
||||||
bus_1 = @{mute = $true; mono = $true};
|
bus_1 = @{mute = $true; mono = $true; solo = $true; gain = -3.3};
|
||||||
bus_2 = @{mute = $true; mono = $true};
|
bus_2 = @{mute = $true; mono = $true; solo = $true; gain = 2.3};
|
||||||
|
|
||||||
mb_0 = @{state = $true};
|
mb_0 = @{state = $true};
|
||||||
mb_1 = @{stateonly = $true};
|
mb_1 = @{stateonly = $true};
|
||||||
@ -19,12 +19,12 @@ try {
|
|||||||
$vmr.Set_Multi($hash)
|
$vmr.Set_Multi($hash)
|
||||||
|
|
||||||
$hash = @{
|
$hash = @{
|
||||||
strip_0 = @{mute = $false; mono = $false};
|
strip_0 = @{mute = $false; mono = $false; A1 = $false; B2 = $false; gain = 0};
|
||||||
strip_1 = @{mute = $false; mono = $false};
|
strip_1 = @{mute = $false; mono = $false; A1 = $false; B2 = $false; gain = 0};
|
||||||
strip_2 = @{mute = $false; mono = $false};
|
strip_2 = @{mute = $false; mono = $false; A1 = $false; B2 = $false; gain = 0};
|
||||||
bus_0 = @{mute = $false; mono = $false};
|
bus_0 = @{mute = $false; mono = $false; solo = $false; gain = 0};
|
||||||
bus_1 = @{mute = $false; mono = $false};
|
bus_1 = @{mute = $false; mono = $false; solo = $false; gain = 0};
|
||||||
bus_2 = @{mute = $false; mono = $false};
|
bus_2 = @{mute = $false; mono = $false; solo = $false; gain = 0};
|
||||||
|
|
||||||
mb_0 = @{state = $false};
|
mb_0 = @{state = $false};
|
||||||
mb_1 = @{stateonly = $false};
|
mb_1 = @{stateonly = $false};
|
||||||
|
@ -17,5 +17,15 @@ try {
|
|||||||
$vmr.bus[2].mute
|
$vmr.bus[2].mute
|
||||||
$vmr.bus[2].mute = $false
|
$vmr.bus[2].mute = $false
|
||||||
$vmr.bus[2].mute
|
$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() }
|
finally { $vmr.Logout() }
|
||||||
|
Loading…
Reference in New Issue
Block a user