[PD] state object

Federico xaero at inwind.it
Wed Jul 5 19:37:53 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

IOhannes m zmoelnig wrote:
> Federico wrote:
>>>> however this can't be packed into an abstraction (only a subpatch will
>>>> do), and not even into a GOP abstraction, because Vslider it's too
>>>> narrow.
>>> why does it not work with abstractions? i see zero reasons,
>>
>> because:
>>
>> [f]
>> |
>> [set $1(
>> |
>> [...(  <- this is the "memory unit"
>>
>> will only be saved in a (sub)patch. this can't live in an abstraction,
>> as hitting "save" on the main patch in fact does nothing to this "memory"
>>
> 
> well, not entirely true.
> you can make your abstraction save things when you save the main patch.
> 
> attached is a little example which might give you the idea.
> the patch to open is MAIN.pd.
> it has only been tested on linux, and it might as well not work on win32
> and os-x, but the idea should be portable nevertheless.
> 
> 
> mfg-.cas.dr
> IOhannes
> 
> PS: somehow i think this is a nice tipp or trick or tick.

yes it is a nice trick ;)
you can put it on the pd wiki [1] it would be a nice contrib.

though I think would be better that pd report GUI commands, like
menusave (...menusaveas, copy, paste, texteditor, and even obj and
connect) to the pd-PatchName.pd msg receiver..

so, patches would know what's happening, or also *record* what's
happening, or *broadcast* it over the network.

btw, I wonder how an abstraction would know about its parent (and what?).

ciao
Federico

[1] http://puredata.info/docs/tutorials/TipsAndTricks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEq/jxxlXK3KziJfcRApmxAKCgSPphbNNYkEe6B8cvsFAYaGKKmQCgsvlG
XknF3uSmivgKcU6d8LjKxxo=
=yapM
-----END PGP SIGNATURE-----




More information about the Pd-list mailing list