Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message type MB #45

Open
jskeet opened this issue Dec 22, 2022 · 3 comments
Open

Message type MB #45

jskeet opened this issue Dec 22, 2022 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@jskeet
Copy link

jskeet commented Dec 22, 2022

In my experimentation, I've found that the MB message type is used when the mute button is pressed on the "main" output for a channel, when mutes are linked. (I personally use globally linked mutes, which is how I discovered this.)

I'm guessing MB might be "Mute Button"?

I haven't looked into the details of the body though, other than to note that two messages are sent each time.

@featherbear
Copy link
Owner

According to here #13 (comment) MB internally stands for Meter8

Considering MS stands for Meter16 I would be inclined to believe that the B stands for byte (and hence S for short)

So MB is probably "Meter Byte"

That said, I haven't made any time to dissect the MB packets yet.
I hopefully thought that I could ignore the MB packets them, but looks like it's necessary to keep track of the mute states when aux links are enabled

@featherbear featherbear added the help wanted Extra attention is needed label Dec 23, 2022
@jskeet
Copy link
Author

jskeet commented Dec 23, 2022

It's really weird that they're using the term "meter" for faders and mutes.
I'll try to make some more notes (and copy them here) about what happens when mute is toggled. Notes for the process:

  • I'll try each level of mute linking
  • I'll mute (and unmute) main, then aux1
  • I'll capture the packets sent by UC, as well as those received by a subscribed client

Hopefully that should give us enough to work with...

@jskeet
Copy link
Author

jskeet commented Dec 24, 2022

Okay, experiment complete. Under each setting, I muted/unmuted main channel1, then muted/unmuted aux1 channel2.

The UC side of things is quite simple:

  • PV to set global/auxmutemode
  • PV to set line/ch1/mute (once to mute, once to unmute)
  • PV to set line/ch2/assign_aux1 (once to mute, once to unmute)

Note that UC never sends the MB messages - although it does receive them.

From the subscribing client side, we see (only showing the muting; the unmuting is equivalent):

Unlinked

The client just sees the PV messages, both for main and aux.

Main Mutes Auxes

Mute main ch1:

  • PV: Key=line/ch1/mute; Group=0; Value=1065353216
  • MB: 6D-74-36-34-00-00-90-00-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-C0-FF-FF-FF-FC-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-02-00-00-00-00-10-00-00-00-10-00-80-00
  • MB: 6D-74-36-34-00-00-75-00-00-FF-FF-FF-FF-FF-00-00-00-00-00-FF-FF-FF-FF-FF-00-00-00-FF-FF-FF-FF-FF-00-00-00-01-FF-FF-FF-FF-FF-00-00-00-00-00-00-00-00-00-FF-FF-FF-FF-00-00-00-00-FF-FF-FF-FF-00-00-00-00-FF-FF-FF-FF-00-00-00-00-FF-FF-FF-FF-00-00-00-00-FF-FF-FF-FF-00-00-00-00-FF-FF-FF-FF-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-FF-FF-FF-FF-00-00-00-00-0C-01-00-00-00-01-00-01-00-01-00-08-00-02-00-09-00-02-00-02-00-0B-00-10-00-03-00-1B-00-01-00-03-00-1C-00-08-00-04-00-24-00-06-00-04-00-2A-00-30-00-05-00-5A-00-02-00-05-00-5C-00-10-00-07-00-6C-00-01-00-07-00-6D-00-08-00

(The data here is everything after the "C-bytes".)

Mute aux1 ch2: The client just sees the PV messages (e.g. Key=line/ch2/assign_aux1; Group=0; Value=0)

All aux mute link

Mute main ch1: PV, MB, MB (I believe the messages are basically as above)

Mute aux1 ch2: No MB, but a separate PV message for each aux (so line/ch2/assign_aux2, line/ch2/assign_aux3 etc)

Global mute link

Mute main ch1: PV, MB, MB

Mute aux1 ch2: No MB, but a separate PV message for each aux and line/ch2/mute and the FX outputs (e.g. line/ch2/assign_fx4)

Hope that's useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants