OSC value enabled by default

mattgolsen's picture

I have a network controlled composition that I'm working on that I'm having some trouble with. I'm using OSC to enable and disable patches in the slave composition, but if it crashes and reopens any of the values that were previously enabled are now disabled due to the master composition not sending the "True" boolean value. What would be the best way to have a boolean input on a macro that is already connected to OSC receiver always be true when the composition is opened?

mattgolsen's picture
Re: OSC value enabled by default

I'm thinking the logic patch with OR would work, correct?

cwright's picture
Re: OSC value enabled by default

You might need to illustrate a bit more here - logical OR with True will always be true -> thus, why even have the other input? It's equivalent to AND with False always being false.

gtoledo3's picture
Re: OSC value enabled by default

You can hook up a multiplexer with the value you want to have default in index 0. Then you can send your OSC stuff through index 1. That way you can toggle by choosing index value.

I'm not sure if that's applicable to your scenario or not.

mattgolsen's picture
Re: OSC value enabled by default

Yeah, not so sure now if the logic patch would be appropriate. I've attached a screenshot of the slave comp...

PreviewAttachmentSize
Picture 1.png
Picture 1.png96.28 KB

mattgolsen's picture
Re: OSC value enabled by default

So just to give a little more background on the application...

I have several displays that normally show a couple of XML compositions that I've built. I've recently integrated video playback with these displays that I enable via OSC throughout random times in the day. The problem being is that sometimes this application crashes, and I've setup launchd to restart the program, but when it relaunches, the default patch which is the XML comp is disabled, and only re-enables if I send the command from the master patch. It doesn't start up as the default.

I have it arranged this way so I can disable the XML comp to reduce system load when I enable the video playback.

Sorry I'm not very clear, it's kind of convoluted .

mattgolsen's picture
Re: OSC value enabled by default

I'm going to give this a shot and see how it works out. Thanks!

gtoledo3's picture
Re: OSC value enabled by default

Check this out, I setup a multiplexer logic thing like I'm talking about for you... hopefully it makes what I'm saying clear. I set it up to somewhat apply to your scenario, from the pic you post... or what it looks like is going on at first glance.

PreviewAttachmentSize
multiplexer logic.qtz3.58 KB