mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2024-11-15 17:10:46 +00:00
md fix
This commit is contained in:
parent
8f9ac47d02
commit
4aacc60857
16
README.md
16
README.md
@ -80,6 +80,8 @@ class ManyThings:
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
kind_id = "banana"
|
||||||
|
|
||||||
with vban_cmd.api(
|
with vban_cmd.api(
|
||||||
kind_id, ip="gamepc.local", port=6980, streamname="Command1"
|
kind_id, ip="gamepc.local", port=6980, streamname="Command1"
|
||||||
) as vban:
|
) as vban:
|
||||||
@ -97,8 +99,6 @@ def main():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
kind_id = "banana"
|
|
||||||
|
|
||||||
main()
|
main()
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -281,12 +281,12 @@ vban.command.showvbanchat = true
|
|||||||
Set many strip/bus parameters at once, for example:
|
Set many strip/bus parameters at once, for example:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
vban.apply(
|
vban.apply(
|
||||||
{
|
{
|
||||||
"strip-0": {"A1": True, "B1": True, "gain": -6.0},
|
"strip-0": {"A1": True, "B1": True, "gain": -6.0},
|
||||||
"bus-1": {"mute": True, "mode": "composite"},
|
"bus-1": {"mute": True, "mode": "composite"},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
Or for each class you may do:
|
Or for each class you may do:
|
||||||
|
@ -23,6 +23,8 @@ class ManyThings:
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
kind_id = "banana"
|
||||||
|
|
||||||
with vban_cmd.api(
|
with vban_cmd.api(
|
||||||
kind_id, ip="gamepc.local", port=6980, streamname="Command1"
|
kind_id, ip="gamepc.local", port=6980, streamname="Command1"
|
||||||
) as vban:
|
) as vban:
|
||||||
@ -40,6 +42,4 @@ def main():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
kind_id = "banana"
|
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
Loading…
Reference in New Issue
Block a user