Howdy all,
I've been using the sssad objects, mainly datastore within my main song patches for a while now but needed to be able to save just locla objects. I found thesolution in the 808_local object in the diy2 patches but had the problem of multiple sssad saving objects telling each other to save, which is annoying if you are trying multiple changes and just want to save only one local set of objects' states.
Blahblahblah, anyway I made rc-sssad to rectify those annoyances. It can be both a global and local saving object, depending on $1. Only the object that issued to save command will save, so multiple local objects can work together.
Mabey this will be useful to someone.
Dan Wilcox danomatika.com robotcowboy.com
Hallo, Dan Wilcox hat gesagt: // Dan Wilcox wrote:
I've been using the sssad objects, mainly datastore within my main song patches for a while now but needed to be able to save just locla objects. I found thesolution in the 808_local object in the diy2 patches but had the problem of multiple sssad saving objects telling each other to save, which is annoying if you are trying multiple changes and just want to save only one local set of objects' states.
Are you using the latest version of sssad? Because new versions have local saving already built in - you activate it by giving the sssad-instances an additional argument, usually $0, like this:
[sssad somename $0]
Check the updated help-file for details.
Frank
On Sun, 2008-11-30 at 21:49 +0100, Frank Barknecht wrote:
Are you using the latest version of sssad? Because new versions have local saving already built in - you activate it by giving the sssad-instances an additional argument, usually $0, like this:
[sssad somename $0]
Yeah I'm probably using an old version, I'll check it out.
Dan Wilcox danomatika.com robotcowboy.com
On Sun, 2008-11-30 at 21:49 +0100, Frank Barknecht wrote:
Hallo, Dan Wilcox hat gesagt: // Dan Wilcox wrote: Are you using the latest version of sssad? Because new versions have local saving already built in - you activate it by giving the sssad-instances an additional argument, usually $0, like this:
[sssad somename $0]
Before I begin, I'm sure this has all been done before but I'm not aware of it so I'll re-reinvent the wheel. Besides, you know how the wheel works when you build it.
Ahh I see, I think I'm using the wrong terminology then. I'm using "local" as in objects with a certain osc-style prefix. I'm using sssad to save state values within reusable abstractions and there may be a number of them on one song patch. The sssad keys are set using the objects assigned name which is $1, so
[rc-delay~ p] has keys [sssad p/delay], [sssad p/feedback], etc...
Let's say SongA has a delay and 2 oscillators of some kind and SongB has another delay and 2 drum samples. The way I had it before, I could not work on SongA and SongB at the same time because if I saved one, it would also have the values of the second. Now I add a prefix to each object's name in SongA, say [rc-delay~ /songa/p] and the same with Song B [rc-delay~ /songb/p]. then I just check for each prefix using [rc-sssad /songa] in SongA.pd and [rc-sssad /songb] in SongB.pd, and saving one will only save it's objects.
... anyway, thanks for sssad, it makes using my abstractions soooo much easier since I can just create, fiddle, and save.
Dan Wilcox danomatika.com robotcowboy.com
Hallo, Dan Wilcox hat gesagt: // Dan Wilcox wrote:
Ahh I see, I think I'm using the wrong terminology then. I'm using "local" as in objects with a certain osc-style prefix.
Ahh now I see, too. ;)
You may like the new "setonly" and "saveonly" messages to send to SSSAD_ADMIN rsp. $0-SSSAD_ADMIN. See attachement.
Frank Barknecht Do You RjDj.me? _ ______footils.org__
Is it possible to retrieve the name of the parent patch? If so, then mabey I can rework rc-sssad to use the parent patchname and prepend that to the keys automatically so that it will yield the same results, but without having to manually add a prefix everytime I create and name a sssad-enabled object.
Dan Wilcox danomatika.com robotcowboy.com
You can using IOhannes' iemguts library, currently in SVN in
externals/iem/iemguts.
.hc
On Nov 30, 2008, at 6:17 PM, Dan Wilcox wrote:
Is it possible to retrieve the name of the parent patch? If so,
then mabey I can rework rc-sssad to use the parent patchname and prepend that to the keys
automatically so that it will yield the same results, but without having to manually add
a prefix everytime I create and name a sssad-enabled object.
Dan Wilcox danomatika.com robotcowboy.com _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an
idea, which an individual may exclusively possess as long as he keeps
it to himself; but the moment it is divulged, it forces itself into
the possession of everyone, and the receiver cannot dispossess
himself of it. - Thomas Jefferson