mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2024-11-23 03:20:47 +00:00
26 lines
806 B
Markdown
26 lines
806 B
Markdown
## Requirements
|
|
|
|
- [OBS Studio](https://obsproject.com/)
|
|
- [OBS Websocket v5 Plugin](https://github.com/obsproject/obs-websocket/releases/tag/5.0.0)
|
|
- [OBS Python SDK for Websocket v5](https://github.com/aatikturk/obsstudio_sdk)
|
|
|
|
## About
|
|
|
|
A simple demonstration showing how to sync OBS scene switches to Voicemeeter states. The script assumes you have connection info saved in
|
|
a config file named `config.toml` placed next to `__main__.py`. It also assumes you have scenes named `START` `BRB` `END` and `LIVE`.
|
|
|
|
A valid `config.toml` file might look like this:
|
|
|
|
```toml
|
|
[connection]
|
|
host = "localhost"
|
|
port = 4455
|
|
password = "mystrongpass"
|
|
```
|
|
|
|
## Notes
|
|
|
|
For a similar example for streamlabs check:
|
|
|
|
[Streamlabs example](https://github.com/onyx-and-iris/PySLOBS/blob/master/examples/scenerotate.py)
|