voicemeeter-api-powershell/examples/cli/README.md

33 lines
848 B
Markdown
Raw Normal View History

## About
2022-10-30 01:05:21 +00:00
A simple voicemeeter-cli script. Offers ability to toggle, get and set parameters.
## Use
Toggle with `!` prefix, get by excluding `=` and set by including `=`. Mix and match arguments.
You may pass the following optional flags:
2022-10-30 01:05:21 +00:00
- -o: (-output) to toggle console output.
- -i: (-interactive) to toggle interactive mode.
- -k: (-kind) to set the kind of Voicemeeter. Defaults to banana.
2022-10-30 18:31:17 +00:00
- -s: (script) a string array, one string for each command.
for example:
`powershell.exe .\CLI.ps1 -o -k "banana" -s "strip[0].mute", "!strip[0].mute", "strip[0].mute", "bus[2].eq.on=1", "command.lock=1"`
Expected output:
```
Getting strip[0].mute
strip[0].mute = 0
Toggling strip[0].mute
Getting strip[0].mute
strip[0].mute = 1
Setting bus[2].eq.on=1
Setting command.lock=1
```
2022-10-30 01:05:21 +00:00
If running in interactive mode press `<Enter>` to exit.