Update README.md

- correct postfxinsert
- correct examples
- better readability for patch arraymembers
This commit is contained in:
pblivingston 2025-11-26 09:30:44 -05:00
parent 54319924d0
commit f3ed1de557

View File

@ -422,24 +422,22 @@ $vmr.command.RunMacrobuttons()
The following Patch commands are available:
- postFaderComposite: bool
- Patch.postFxInsert: bool
- postFxInsert: bool
The following Patch methods are available:
The following Patch members have .Set($val) and .Get() available:
- asio[i].Set($val): int, from 0 to ASIO input channels
- OutA2[i]-OutA5[i].Set($val): int, from 0 to ASIO output channels
- composite[i].Set($val): int, from 0 to strip channels
- insert[i].Set($val): bool
All members also have Get() available
- asio[i]: int, from 0 to ASIO input channels
- OutA2[i]-OutA5[i]: int, from 0 to ASIO output channels
- composite[i]: int, from 0 to strip channels
- insert[i]: bool
for example:
```powershell
$vmr.asio[3].set(2) # patches ASIO input channel 2 (2) to strip 2, channel 2 (3)
$vmr.OutA3[0].set(24) # patches bus A3, channel 1 (0) to ASIO output channel 24
$vmr.composite[5].set(0) # sets composite channel 6 (5) to default bus channel
$vmr.insert[4].get()
$vmr.patch.asio[3].set(2) # patches ASIO input channel 2 (2) to strip 2, channel 2 (3)
$vmr.patch.OutA3[0].set(24) # patches bus A3, channel 1 (0) to ASIO output channel 24
$vmr.patch.composite[5].set(0) # sets composite channel 6 (5) to default bus channel
$vmr.patch.insert[4].get()
```
### Recorder