This commit is contained in:
onyx-and-iris 2022-11-05 12:16:25 +00:00
parent 8f9ac47d02
commit 4aacc60857
2 changed files with 10 additions and 10 deletions

View File

@ -80,6 +80,8 @@ class ManyThings:
def main():
kind_id = "banana"
with vban_cmd.api(
kind_id, ip="gamepc.local", port=6980, streamname="Command1"
) as vban:
@ -97,8 +99,6 @@ def main():
if __name__ == "__main__":
kind_id = "banana"
main()
```
@ -281,12 +281,12 @@ vban.command.showvbanchat = true
Set many strip/bus parameters at once, for example:
```python
vban.apply(
{
"strip-0": {"A1": True, "B1": True, "gain": -6.0},
"bus-1": {"mute": True, "mode": "composite"},
}
)
vban.apply(
{
"strip-0": {"A1": True, "B1": True, "gain": -6.0},
"bus-1": {"mute": True, "mode": "composite"},
}
)
```
Or for each class you may do:

View File

@ -23,6 +23,8 @@ class ManyThings:
def main():
kind_id = "banana"
with vban_cmd.api(
kind_id, ip="gamepc.local", port=6980, streamname="Command1"
) as vban:
@ -40,6 +42,4 @@ def main():
if __name__ == "__main__":
kind_id = "banana"
main()