From 566bff3ced994ab96cc3311ab18a7888f6718acf Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Wed, 28 Sep 2022 20:01:17 +0100 Subject: [PATCH] move vbancmd class section in readme --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index c899d03..c4f4ad1 100644 --- a/README.md +++ b/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. -## 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 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()) ``` +## 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` True iff a parameter has been changed.