something similar #3
Replies: 4 comments 15 replies
-
Hi! |
Beta Was this translation helpful? Give feedback.
-
I'd really love to see X32 support re-added to this - the previous script worked perfectly with the X32 as long as you changed the port (it's off by one), as the mute state commands are the same in both, even though some of the other commands are not. Additionally, I was using a modified version of this, which allowed multiple channel mute state changes for each scene change event. It's not my code, so I wasn't sure if I could/should share it, but essentially each switch had a list of channels to mute, a list to unmute, and anything not specifically configured was left unchanged. Is this something that could be added to this script too, for better functionality? My use-case is that during live streams, I have different applications fed to different channels over the USB interface. Changing scenes, I want some of those sources untouched (eg my microphone for the most part), but some to be muted (eg Discord audio, game audio), and others to be unmuted (eg mini-game side audio). Changing back, it was unmuting the main game and Discord, muting the mini-game etc. This made it much easier for management of everything, as I could basically have a custom mix for each scene, rather than being locked to a single channel per scene. I started with an XR18, but then replaced it with the X32 Rack when the XR18 I had failed and the store I bought it from said it was "beyond repair". The script migration was as simple as just changing the X-Air output port, and it "just worked" the same as previously. |
Beta Was this translation helpful? Give feedback.
-
Hi! Was it just mute states you were changing on scene changes? Also are you using websocket v5 with OBS? It would be pretty simple to modify this script to mute/unmute sets of scenes, if lebaston likes that idea it could be investigated yes. |
Beta Was this translation helpful? Give feedback.
-
There are a couple of things to mention. First: The interface does, however, have a send method in it's base class which can be used for sending osc commands directly like so: Also, the interface currently does support changing port with a keyword argument, for example: Second: So you could probably make the changes yourself with the above information to get it working if you feel comfortable editing your code. Otherwise, if you're willing to share your code with me (you can send by email check my profile) I can get something working for now until I implement an update to officially support x32. Thanks for the go-ahead lebaston. |
Beta Was this translation helpful? Give feedback.
-
Hi! Thank you for putting together this obs-to-xair script. I'd like to share something similar I've written but it has some differences.
obstoxair.py
It could be readily modified to support other obs events and other osc commands but I've tried to keep it similar to your code.
I could make a PR If you're interested just let me know. (perhaps on a second branch?)
Thanks for your time.
Beta Was this translation helpful? Give feedback.
All reactions