set log level to info in examples

add verbose flag to vm-cli example

update readme for vm-cli example
This commit is contained in:
onyx-and-iris
2022-09-29 18:05:21 +01:00
parent 3ab5daa61c
commit 6605d6e62d
9 changed files with 86 additions and 31 deletions

View File

@@ -6,18 +6,19 @@ A simple voicemeeter-cli program. Offers ability to toggle, get and set paramete
Toggle with `!` prefix, get by excluding `=` and set by including `=`. Mix and match arguments.
You may pass an optional flag -kind to set the kind of Voicemeeter. Defaults to banana.
You may pass the following optional flags:
You may pass an optional flag -delay to set a delay on the getters. Defaults to 20ms.
- -v: (-verbose) to toggle console output. Defaults to false.
- -k: (-kind) to set the kind of Voicemeeter. Defaults to banana.
- -d: (-delay) to set a delay on the getters. Defaults to 20ms.
for example:
`go run .\main.go -kind=potato -delay=18 strip[0].mute=0 strip[0].mute !strip[0].mute strip[0].mute bus[0].gain=-8.8 command.lock=1`
`go run .\main.go -v -k=potato -d=25 strip[0].mute=0 strip[0].mute !strip[0].mute strip[0].mute bus[0].gain=-8.8 command.lock=1`
Expected output:
```
Logged into Voicemeeter potato
Running command strip[0].mute=0
Value of strip[0].mute is: 0
Toggling strip[0].mute