Thanks for the feedback, Chris and Achim. I am writing before coming back to this -- I was thinking there could be a solution using logic/conditionals. The Signal patch could trigger a Sample and Hold on startup, right? Macros/patches keep their values, so why so difficult?
Chris -- your suggestion is great for saving image/matrix, etc. data, but is making my problem more complicated than needed at present. Right now I just want to save floats, indices, bools sent via a midi controller or patch ui sliders, etc. my patch works well while qc is running but when i shut it down or turn off/on the viewer everything resets to 0. I'm not giving up just yet. On 4/28/10 3:01 AM, "Chris Wood" <pson...@gmail.com> wrote: > I guess you could make something like a 'sample to disk and hold' > patch, that works just like the sample and hold but has an additional > input that asks for an ID key string. Then you can use multiple > patches and have them save uniquely. By giving them the same key, they > could share data (of course, you'd have to be very, very careful with > this!) > > Also note that sampling high res images at high framerates = tons of > disk writes and likely severe slow down in some cases. > > Chris > > On 28 April 2010 10:48, Achim Breidenbach <ac...@boinx.com> wrote: >> Hi Jerry, >> >> I think there is no good solution for this. Your custom patch never knows >> about the QC file where it is living in (or even if there is one at all) so >> you can't store any data to it. Storing the data outside the QC file might >> work, e.g. to the preferences-folder but then you have to take care that you >> read in the right data for that one specific instants of the patch (your >> patch may be used multiple times in on composition or in multiple >> compositions, and so on). This is not an easy one... >> >> best, >> >> Achim Breidenbach >> Boinx Software >> >> On 28.04.2010, at 10:56, Jerry Smith wrote: >> >>> 10.6.3 >>> >>> I'm trying to build a patch to save presets. In the attached qtz, is there >>> way to have the sampled value saved with the layout or when the viewer is >>> turned off/on? That is, it resets (samples) 0 and i want it to keep the >>> last >>> value in the sample and hold. >>> >>> Jerry >>> >>> <preset_test.qtz> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> >>> http://lists.apple.com/mailman/options/quartzcomposer-dev/achim%40boinx.com >>> >>> This email sent to ac...@boinx.com >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/quartzcomposer-dev/psonice%40gmail.com >> >> This email sent to pson...@gmail.com >> > _______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com