normen / obs-mcu

Control OBS with a Mackie Control Unit
MIT License
1 stars 2 forks source link

Hidden state of audio channels #6

Closed gravelfreeman closed 1 month ago

gravelfreeman commented 1 month ago

I think we should leave this issue open to track ideas and maybe someone will find and idea to hack this in some way.

From the documentation:

Theres afaict no way to get the "hidden" state of audio channels, so they will always display on the MCU even if they're hidden in OBS. As a workaround you can simply name these channels so that they appear all the way on the left and then press the "channel right" button until all channels you don't want to see are hidden.

The idea of hiding by pressing Channel Right button isn't practical since I don't have the same number of audio sources per scene depending on the number of speakers on screen.

In the meantime another workaround is to name your channel after the Z letter with a special character.

Here's a list of the characters that come immediately after "Z" in the ASCII table;

[ \ ] ^ _ ` { } ~

Hope we find a way around!

gravelfreeman commented 1 month ago

Update. While doing my setup I didn't like the workaround I shared in my initial issue above.

To overcome the issue that not all scenes have the same number of audio tracks with your method of using the Fader Bank and Channel buttons to hide the audio tracks we don't want, I did the following.

I looked at all my scenes and figured out that I needed to create empty (no media) Media sources in my scenes so that every have at least 7 audio tracks in total that I want to hide. The names are blank spaces " ", " ", ", " ", which are one if not the first ANSI chars so you'll be sure that those tracks are first in the mixer.

Then setting Assignment at #8 on the X-Touch (by pressing the Channel button). Bingo! Now my Mackie controller is only showing the tracks I actually want to see.

One thing though is that there seem to be a delay when changing scenes and the tracks you don't want to see will sometimes appear for a second and dissapear. This is actually another issue that I was planning on opening as well.

I still hope to find a hack so that hidden state is taken in consideration. I don't like all that overhead in my scenes but the positives are still bigger than the negatives in the end. Again, I'd keep this issue open until one day it gets resolved.

normen commented 1 month ago

I just put the channels that I need first and then ignore the others 🤷‍♂️