I've been programming pd for over five years and never knew this was possible.
Mark it up as "There is always something new to learn".
abstractions-as-creation-arguments.zip
- Subpatches CAN have creation arguments and it is the same one as its parent
- if the creation argument is a symbol and is the name of a .pd in the parent's folder, then that creation argument by itself IS that abstraction
- the symbol creation argument by itself will be represented with its gui
- creation arguments with relative paths ARE represented
The implication being...rather than throwing abstractions around in your patch (by name), just include them as creation arguments and use the creation argument instead of the abstraction name.
"Write once..." and less(!) right?
Peace through sharing,
S
p.s. I am 100% certain there are a lot of people who already knew this. Then, again,...
you never know when you're going to learn something.