voicemeeter/examples/vm-cli/README.md

39 lines
1.2 KiB
Markdown
Raw Normal View History

2022-09-17 03:21:04 +01:00
## About
A Voicemeeter CLI, offers ability to toggle, get and set parameters.
2022-09-17 03:21:04 +01:00
2022-09-29 18:17:23 +01:00
## Install
2022-09-29 18:27:26 +01:00
First build and install it with `go install` (skip this step if using binary from [Releases](https://github.com/onyx-and-iris/voicemeeter/releases))
2022-09-29 18:17:23 +01:00
2022-09-17 03:21:04 +01:00
## Use
Commands that begin with `!` will toggle a parameter, commands that contain `=` will set a parameter, all other commands will get a value.
2022-09-18 05:45:09 +01:00
You may pass the following optional flags:
2022-09-18 05:45:09 +01:00
- -h: Print the help dialogue
- -i: Enable interactive mode
- -k: The kind of Voicemeeter GUI to launch, defaults to Banana
- -l: Log level (0 up to 6), defaults to 3, Warn Level
- -d: Set the delay between commands, defaults to 20ms
- -v: Enable extra console output (toggle and set messages).
2022-09-17 03:21:04 +01:00
for example:
`vm-cli.exe -v -l=4 -k=potato strip[0].mute=0 strip[0].mute !strip[0].mute strip[0].mute bus[0].gain=-8.8 command.lock=1`
2022-09-17 03:21:04 +01:00
Expected output:
```
time="<timestamp>" level=info msg="Logged into Voicemeeter Banana v2.1.1.1"
strip[0].mute: 1.00
2022-09-17 03:21:04 +01:00
Toggling strip[0].mute
strip[0].mute: 0.00
Setting strip[0].label=podmic
strip[0].label: podmic
time="<timestamp>" level=info msg="Logged out of Voicemeeter Banana"
2022-09-17 03:21:04 +01:00
```
If running in interactive mode enter `Q`, to exit.