-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-02-14 13:39, Marco Donnarumma wrote:
At the moment I solved this giving each abstraction a $1, then using [sssad $1/myparam], which is the obvious solution. However, the system is quite complex, and assigning a $1 to each abstraction it's not practical. I think an alternative option involving $0 would be far more efficient in my case,
any hint?
you should always assume that "$0" is unique, even across different instances of Pd. thus, you should never rely on $0 being the same, when you re-start your patch.
the solution is indeed to use abstraction arguments. if you patch is quite complex, then you should use encapsulation as well, and build your arguments programmatically. e.g. [module A] --> [sssad A/freq] [submodule $1/a] --> [sssad A/a/freq] [subsubmodule $1/1] --> [sssad A/a/1/gain] [submodule $1/b] --> [sssad A/b/freq] [subsubmodule $1/1] --> [sssad A/b/1/gain] ...
mfgad IOhannes