vban-cmd-python/examples/observer
onyx-and-iris 44cd13aa48 refactor examples
add scripts to pyproject
2022-10-28 20:19:05 +01:00
..
__main__.py refactor examples 2022-10-28 20:19:05 +01:00
README.md assume vban.toml for observer example 2022-10-18 15:20:20 +01:00

About

Registers a class as an observer and defines a callback.

Configure

The script assumes you have connection info saved in a config file named vban.toml placed next to __main__.py.

A valid vban.toml might look like this:

[connection]
ip = "gamepc.local"
port = 6980
streamname = "Command1"

It should be placed next to __main__.py.

Use

Make sure you have established a working VBAN connection.

Run the script, then:

  • change GUI parameters to trigger pdirty
  • play audio through any bus to trigger ldirty

Pressing <Enter> will exit.