vban-cmd-python/examples/observer
onyx-and-iris 7a3abfc372 rename subject to event.
use self.observer over self.subject
2023-06-25 14:47:48 +01:00
..
__main__.py rename subject to event. 2023-06-25 14:47:48 +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.