Hallo!
I know that the pd fileformat does not allow comments or headers. But I was thinking of a declaration in a header like "from iemlib import gate" and all gates in the patch would be iem ones.
I think this could be a good idea (or not ?...). Maybe you could make an object like [include iemlib] in a patch and then you can use all the objects from the iemlib ?
pros: - you know which externals are used - we don't need all the startup-flag stuff - don't have to write all the namespaces - ... cons: - problematic if there are objects with the same name in two external libraries - of course with stand alone externals - ...
But now (after writing this) I'm really unsure ...
LG Georg
I know that the pd fileformat does not allow comments or headers. But I was thinking of a declaration in a header like "from iemlib import gate" and all gates in the patch would be iem ones.
I think this could be a good idea (or not ?...). Maybe you could make an object like [include iemlib] in a patch and then you can use all the objects from the iemlib ?
it's not easy to implement that, since there is no possibility to make sure that the |include| object is placed before the other objects... we would have to rethink the .pd file structure ...
cheers ... tim