Ok, here's the code. Done in OBS 32.0.4 and AdvSS 1.32.6
"audiosources.json.txt" thats the json file for OBS that I built. Removed the .txt file
AdvSS-MacroCode.txt - That is the actual macro if you want to import it seperately.
"RedBox.jpg" is the overlay that puts a red box around the item being monitored.
Once you import your JSON, you'll need to point to that RedBox.jpg.
Its also going to say "missing BarsTone. That is just a video file I was using to test. Just replace it with your own video source.
INSTRUCTION/EXPLANTION:
So i created 8 Scenes, and in each scene there are 3 items.
1>"RedBox" is what is used when a particular scene is active and displayed around the video.
2> Text - This was just an identifier of the video that i put on the screen. You dont need that and can remove it.
3> Media Source = this played the Testpattern for my testing, but you can remove that and replace it with a video source that you are monitoring
MAIN OUT - This is just the program out that I was using. The way the macro works is if that scene is showing, it will activate the macro. And then if its not active, the macro will stop (once its gone through all 8). This means that if you detected a problem, you could click on that source and do whatever you need to do, and then when you bring back the MAIN OUT it will start again automatically.
The Macro I did is made up of 9 macros.
Monitor Source 1 - 8. These just trigger the individual screens, unmuting/muting each and showing the red box around the video.
"Start-Monitor" when the script kicks off, will mute all inputs for you and kicks off the first script. When #8 is reached, the thing loops back and starts over again.
In AdvSS "Variables" tab, you can set the delay, in seconds, between each change.
In this example its set to 2 seconds.
When "MAIN OUT" is active, the script just goes between each source.
If you want to change that MAIN OUT to reflect something in your system already, then you can adjust it here
Also you'll note that "START-MONITOR" will be sometimes in a "PAUSED" state (no check mark). This is to prevent it from running over and over. The script will pause it. And when you run the script new, it will automatically run, so you dont have to mess with it.
To get the red box, i'm running a chroma key filter. So anything in green shows the video, and gives that red outline.
Hopefully you'll find this useful.
Theres some other neat stuff you can do with AdvSS. Could easily, for example, have a green box around the one you are listening to, and then automatically show RED box around any sources that have no, or too little sound. AdvSS can monitor for stuff like that.
I know there are a few different ways to do this, but this seemed like a method that you could translate probably into your existing OBS configuration.
Y92!