mirror of
https://github.com/onyx-and-iris/vmrcli.git
synced 2026-04-20 02:03:31 +00:00
Compare commits
6 Commits
0.1.0
...
9863ca6dca
| Author | SHA1 | Date | |
|---|---|---|---|
| 9863ca6dca | |||
| cd11b26ad8 | |||
| 71e06ac646 | |||
| 050a4d9e60 | |||
| 694a4dbc65 | |||
| 3f8ed17176 |
12
README.md
12
README.md
@@ -28,22 +28,26 @@ Where:
|
||||
|
||||
Examples:
|
||||
|
||||
Launch basic GUI, set debug level to INFO, Toggle Strip 0 Mute, then print its new value
|
||||
Launch basic GUI, set log level to INFO, Toggle Strip 0 Mute, then print its new value
|
||||
|
||||
`./vmrcli.exe -kbasic -D2 !strip[0].mute strip[0].mute`
|
||||
|
||||
Launch banana GUI, set debug level to DEBUG, set Strip 0 label to podmic then print Strip 2 label
|
||||
Launch banana GUI, set log level to DEBUG, set Strip 0 label to podmic then print Strip 2 label
|
||||
|
||||
`vmrcli.exe -kbanana -D1 strip[0].label=podmic strip[2].label`
|
||||
`./vmrcli.exe -kbanana -D1 strip[0].label=podmic strip[2].label`
|
||||
|
||||
## `Script files`
|
||||
|
||||
Scripts can be loaded from text files, for example:
|
||||
|
||||
```powershell
|
||||
./vbantxt-cli -D1 $(Get-Content .\example_commands.txt)
|
||||
./vmrcli.exe -D1 $(Get-Content .\example_commands.txt)
|
||||
```
|
||||
|
||||
## `Official Documentation`
|
||||
|
||||
- [Voicemeeter Remote C API](https://github.com/onyx-and-iris/Voicemeeter-SDK/blob/main/VoicemeeterRemoteAPI.pdf)
|
||||
|
||||
## `Special Thanks`
|
||||
|
||||
- [rxi](https://github.com/rxi) for writing the [log.c](https://github.com/rxi/log.c) package
|
||||
|
||||
@@ -104,7 +104,7 @@ int main(int argc, char *argv[])
|
||||
void help()
|
||||
{
|
||||
puts(
|
||||
"Usage: ./vmrcli.exe [-i] [-k] <api commands>\n"
|
||||
"Usage: ./vmrcli.exe [-i] [-k] [-D] <api commands>\n"
|
||||
"Where: \n"
|
||||
"\ti: Enable interactive mode\n"
|
||||
"\tk: The kind of Voicemeeter (basic, banana, potato)\n"
|
||||
@@ -177,7 +177,7 @@ void interactive(T_VBVMR_INTERFACE *vmr)
|
||||
char command[MAX_LINE];
|
||||
int i = 0;
|
||||
|
||||
while (!isspace(*p) && *p != EOF)
|
||||
while (!isspace(*p))
|
||||
command[i++] = *p++;
|
||||
command[i] = '\0';
|
||||
p++; /* shift to next char */
|
||||
|
||||
Reference in New Issue
Block a user