Saving settings

steve holmes's picture

My network control application is coming on nicely, I have it working nicely in xcode I can control machines through sending strings through osc. I can control volume, aspect ratio, file location, size and positioning. I have been trying to work out how to save the settings on the control machine and locally on each network machine. On the network machines I have the strings being saved to a text file which gets read when the application is first launched, one issue I have is how to switch to network control. If I use a watcher patch on the OSC receiver patch when I fire up the network control application it resets the settings on the network machines, so does anyone have any ideas for a work around. One idea I had was to have a second end one the OSC patch which is a boolean which can turn network control on and off.

The other is issue is how to save the settings to the control application, the control application obviously reads from the input ports from the quartz composer file, what I can't work out is how to save the settings I have on each network machine to the control application. I could send it back as a string to the application but I couldn't get it into the published ports.

Any advice would be great. Steve

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

franz's picture
Re: Saving settings

the trick for saving is to use OUTPUT ports, instead of INPUT ports. It sounds awkward but works very well.

steve holmes's picture
Re: Saving settings

How would you set this up, I don't quite follow how this would work. Steve

franz's picture
Re: Saving settings

in QC paradigm, patches can only have ONE input, but can have multiple outputs. So instead of binding inputs, bind the outputs (use input splitters for instance). Then you can have dual access (within patch, and programatically from xcode).

steve holmes's picture
Re: Saving settings

Thats brilliant I would have never have thought of that, thanks so much. Steve