On Thursday, January 21, 2021, 10:14:19 PM EST, Miller Puckette msp@ucsd.edu wrote: that's right - savestate just lets a patch add stuff to its parent
(calling) patch when the parent is saved, that is retrieved when reloaded from a file. I don't know of other meanings of "savestate" although the name does (unfortunately) suggest that it's for object archiving ala NeXTStep (and I think earlier from Smalltalk).
At first glance "savestate" seemed like it might be related to "state saving," e.g., a core class that provides the hooks necessary to take a "snapshots" at will of system state without requiring the user to prepare the patch for that purpose ahead of time.
cheers M
On Fri, Jan 22, 2021 at 03:05:02AM +0000, Jonathan Wilkes via Pd-list wrote:
> On Thursday, January 21, 2021, 6:35:34 PM EST, cyrille henry ch@chnry.net wrote: > here we are : https://urldefense.com/v3/__https://xkcd.com/927/__;!!Mih3wA!R6uAxiWLBX_uU5C...
This case seems more like the Lisp problem-- every single user has their own non-standard, incompatible, and deeply personal solution to the problem. Also-- do I have it right that the only relevant native core class "savestate" isn't about statesaving in its common parlance, but is instead a callback hard-coded to the "save" event that writes a patch file to the filesystem? That's what the guts looked like when I ported it to Purr Data, but I haven't really used it yet.
-Jonathan
Le 21/01/2021 ?? 20:48, Antoine Rousseau a ??crit??:
You can also have a look to my "AutoPreset" system. It's available from deken. It's rather old, but that's what I use every day...
Le jeu. 21 janv. 2021 ?? 19:39, Alexandre Torres Porres <porres@gmail.com mailto:porres@gmail.com> a ??crit??:
?? ?? Em qui., 21 de jan. de 2021 ??s 15:09, Alexandre Torres Porres <porres@gmail.com mailto:porres@gmail.com> escreveu:
?? ?? ?? ?? I??now included "import" and "export" functions so [savestate] can be used in conjunction
?? ?? Just making clear this design allows each instance to be saved with separate presets in a parent patch. Not that I find it crucial. I guess that 2 sharing the same preset bank should be fine for most cases. So using a file to load and save inside the abstraction (as it was possible before) was kinda fine. So this is where I start to think I could be compromising my beloved "KISS" principle... but I was already thinking??import/export was nice to allow people to store these things in the patch rather than a file, so it's cool. It's versatile and still simple enough.
?? ?? _______________________________________________ ?? ?? Pd-list@lists.iem.at mailto:Pd-list@lists.iem.at mailing list ?? ?? UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!...
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!...
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!...
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!...