[PD] abstractions which have their own memory

sokratesla ugurguney at gmail.com
Tue Jul 4 16:43:54 CEST 2006


# Hi everybody!
# I tried to build an abstraction which remembers its previous state before
closing the patch. I put an array in the abstraction with its "save
contents" option checked and saved the state of the abstraction in this
array of which name starts with $0- in order to make each table unique. A
[loadbang] outputs the values stored in the array.
# But this doesn't seems to work. I made an example of this structure.
abswmem.pd is a very simple abstraction, and test.abswmem.pd have two of
them. After giving the arrays of the abstractions different values, saving
the patch, closing it, and loading again. Nothing happens :-) The values
aren't stored in the arrays.
# And I see the ambiguity. There is only one .pd file for the abstraction,
so, only one file for storing the values of the array. Which abstraction
object's array will be saved etc?

# Can anybody help with these?
-ugur guney-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060704/66c5183a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abswmem.zip
Type: application/zip
Size: 594 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060704/66c5183a/attachment.zip>


More information about the Pd-list mailing list