Sync current OBS scene to channel mute state of a Behringer XAir Mixer
Go to file
onyx-and-iris ba3389882e update for websocket v5, obs 28
support reading conn info from toml

add setup.py for easy dep installation
2022-09-27 09:25:25 +01:00
__main__.py update for websocket v5, obs 28 2022-09-27 09:25:25 +01:00
.gitignore Initial commit 2019-04-28 14:44:11 +02:00
config.toml update for websocket v5, obs 28 2022-09-27 09:25:25 +01:00
LICENSE update for websocket v5, obs 28 2022-09-27 09:25:25 +01:00
README.md update for websocket v5, obs 28 2022-09-27 09:25:25 +01:00
setup.py update for websocket v5, obs 28 2022-09-27 09:25:25 +01:00

OBS-to-XAir

This is a small script that mutes and unmutes channels on Behringer XAir Mixers depending on the current scene.

Requirements

Installation

  • First install latest version of Python.

    • Ensure you tick Add Python 3.x to PATH during setup.
  • Download the repository files with git or the green Code button. Then in command prompt:

cd OBS-to-XAir
pip install .

Configuration

  • Configure websocket settings within OBS->Tools->obs-websocket Settings

  • Open the included config.toml and set OBS host, port and password as well as the xair mixers ip.

    • You may also set the kind of mixer in the script. (XR12, XR16, XR18, MR18)
  • Set the scene to channel mutes mapping in the script.

Usage

Simply run the script, there will be confirmation of mixer connection and OBS connection if everything is successful. Switch between the defined scenes.

Closing OBS will stop the script.

Further notes

Since this script relies upon two interfaces, obsws-python and xair-api this code can be readily modified to interact with any OBS events and set any xair parameters. Check the README files for each interface for further details.

Compatibility

This script was developed and tested with:

  • OBS 28.01
  • obs-websocket 5.0.1
  • A Behringer XR18 and Midas MR18

Special Thanks

  • OBS team and the obs-websocket developers + Behringer/Midas for the OSC protocol.
  • Adem for contributions towards the obsws-python wrapper.
  • Onyx-and-Iris for contributions towards the obsws-python and xair-api wrappers.