Hi, I would want to load within a main_patch some others patch (they are situates in the same directory of the main_patch) I have tried with [pd ./my_patch.pd] :) but it does not work.
How to make it ?
Lazzaro
Hallo, Lazzaro N. Ciccolella hat gesagt: // Lazzaro N. Ciccolella wrote:
Lazzaro N. Ciccolella wrote:
I would want to load within a main_patch some others patch I have tried with [pd ./my_patch.pd]
[pd ./my_patch] (without .pd)
Actually: [./my_patch] without the other "pd" as well. That's an abstraction, the other is a subpatch, which is always inside you patch, not an external file.
Frank Barknecht _ ______footils.org__
Frank Barknecht wrote:
Actually: [./my_patch] without the other "pd" as well. That's an abstraction, the other is a subpatch, which is always inside you patch, not an external file.
thanks of the explanation.
This explains why google it had not answered to my search. I tried "laoding subpatch" but I had to try to search for "loading abstractions".
truly I knew this difference but I had forgotten it. I hope the list can apologize me :) (many thanks for the patience).
I suppose that in choosing the name of the abstrazione I must make attention not to use the name of a externals
or this is a false problem ?
-- Lazzaro
Hallo, Lazzaro N. Ciccolella hat gesagt: // Lazzaro N. Ciccolella wrote:
I suppose that in choosing the name of the abstrazione I must make attention not to use the name of a externals
or this is a false problem ?
No, it's a real problem. You need to take care about what is called a "name clash": If you create an abstraction like osc~.pd then your [osc~] abstraction will not load, instead [osc~] the internal object will. You can force loading the abstraction by using the full or a relative path: [./osc~] or [/myabs/osc~]
Regarding abstractions and subpatches: IMO understanding how abstractions work incl. abstraction arguments, $0 and the difference to subpatches is *the* single most important thing to deeply understand when learning how to use Pd efficiently.
Frank Barknecht _ ______footils.org__