mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2024-11-15 17:10:46 +00:00
move vbancmd class section in readme
This commit is contained in:
parent
70dbee6f02
commit
566bff3ced
26
README.md
26
README.md
@ -271,19 +271,6 @@ with vban_cmd.api('banana') as vban:
|
|||||||
|
|
||||||
will load a config file at configs/banana/example.toml for Voicemeeter Banana.
|
will load a config file at configs/banana/example.toml for Voicemeeter Banana.
|
||||||
|
|
||||||
## VbanCmd class
|
|
||||||
|
|
||||||
`vban_cmd.api(kind_id: str, **opts: dict)`
|
|
||||||
|
|
||||||
You may pass the following optional keyword arguments:
|
|
||||||
|
|
||||||
- `ip`: str, ip or hostname of remote machine
|
|
||||||
- `streamname`: str, name of the stream to connect to.
|
|
||||||
- `port`: int=6980, vban udp port of remote machine.
|
|
||||||
- `subs`: dict={"pdirty": True, "ldirty": False}, controls which updates to listen for.
|
|
||||||
- `pdirty`: parameter updates
|
|
||||||
- `ldirty`: level updates
|
|
||||||
|
|
||||||
## Events
|
## Events
|
||||||
|
|
||||||
Level updates are considered high volume, by default they are NOT listened for. Use `subs` keyword arg to initialize event updates.
|
Level updates are considered high volume, by default they are NOT listened for. Use `subs` keyword arg to initialize event updates.
|
||||||
@ -334,6 +321,19 @@ vban.event.remove("pdirty")
|
|||||||
print(vban.event.get())
|
print(vban.event.get())
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## VbanCmd class
|
||||||
|
|
||||||
|
`vban_cmd.api(kind_id: str, **opts: dict)`
|
||||||
|
|
||||||
|
You may pass the following optional keyword arguments:
|
||||||
|
|
||||||
|
- `ip`: str, ip or hostname of remote machine
|
||||||
|
- `streamname`: str, name of the stream to connect to.
|
||||||
|
- `port`: int=6980, vban udp port of remote machine.
|
||||||
|
- `subs`: dict={"pdirty": True, "ldirty": False}, controls which updates to listen for.
|
||||||
|
- `pdirty`: parameter updates
|
||||||
|
- `ldirty`: level updates
|
||||||
|
|
||||||
#### `vban.pdirty`
|
#### `vban.pdirty`
|
||||||
|
|
||||||
True iff a parameter has been changed.
|
True iff a parameter has been changed.
|
||||||
|
Loading…
Reference in New Issue
Block a user