ui2mcp
ui2mcp copied to clipboard
Question: Reflecting changes back to MIDI device
Hey!
I hope you don't take opening a issue as confrontation, I only wanted to ask a question that I haven't found an answer to in the project's documentation or the (admittedly rather long) C code that you wrote.
What I'm trying to do is kind of similar to what you do here, I'd like to control my Ui12 with the well known NanoKontrol2 control surface. Everything works pretty well so far: When I press a button on the NK2, the mixer reacts appropriately. The only issue is that I don't seem to get the changes reflected back via a message on the websocket connection.
That's a bummer for me because I want to synchronize e.g. the status of the mute buttons on the NK2 with the state of the channels on the mixer. I'm surprised by this behavior because initially, the Ui12 sends its entire state over the websocket in a multitude of messages prefixed with SETD
, which I found in your code as well. This happens as well if I mute a channel in the web interface, the corresponding LED on the NK2 lights up/shuts down accordingly. So after startup, the LEDs on the NK2 do show the correct mute state of the mixer channels. Only if I mute a channel with the control surface, it seems I'm not receiving the message.
Is that something you encountered as well? If yes, how did you solve that? Maybe my assumption is wrong that I have to listen to SETD
messages exclusively?
Regards!