jean-emmanuel / open-stage-control

Libre and modular OSC / MIDI controller
https://openstagecontrol.ammd.net
GNU General Public License v3.0
701 stars 88 forks source link

Through on/off switch on widgets #726

Closed LucaAghemo closed 3 years ago

LucaAghemo commented 3 years ago

Hello, and a great thankyou for this amazing piece of software! I'm totally new on this, I used it the last month to creat a great control surface that I use with Logic, and really changed my workflow. I hope my request is not too stupid! :-) In one page I created a kind of mixer, that is meant to control specific channels of my typical template on Logic. To make OSC update I then routed the output of those channels to the OSC port on Logic, so that if I change a parameter on Logic UI OSC gets updated. But this create a loop, as the widget is sending this controller back to Logic, and it takes to unpredictable beaviour. So it would be nice to have a boolean "Through" parameter on the widget that, set to false, avoid that midi information received goes back to the daw. Maybe there's another way to do this, but I've been unable to find it. Should it be so, I apologize in advance. Thanks again.

GeneralMidi commented 3 years ago

Have a look at the custom module, maybe it can help you filter out those messages.

https://openstagecontrol.ammd.net/docs/custom-module/custom-module/

LucaAghemo commented 3 years ago

Thankyou GeneralMidi for your answer. Reading the other post I understood that custom module might have huge possibilities but, honestly, I haven't too much time to dig into programming. Btw I thought this could be a useful function overall, and maybe not too hard to do, that's why I posted the request. Should Jean think that it is not worth the effort because I'm the only one interested... well, I'll try your suggestion! :-) Also, maybe I'm using a wrong approach, as I'm using midi controllers to do all this. But I'm still exploring and, honestly again, I still haven't understood how to make the same thing using OSC... I'm such a noob, pleae forgive me!

GeneralMidi commented 3 years ago

I am also very much a noob. I understand the power of the custom module, but I too feel safer within the program. Maybe @jean-emmanuel will keep trying to make o-s-c more comfortable for non programmers. It's truly such a unique piece of software!

LucaAghemo commented 3 years ago

Yes it is!

jean-emmanuel commented 3 years ago

But this create a loop, as the widget is sending this controller back to Logic, and it takes to unpredictable beaviour.

Widget do not send message in response to incoming messages, your feedback loop does not come from o-s-c, but probably from the midi routing. Feel free to use the forums for usage questions. (and thanks for the kind words :) )