On Wed, Sep 27, 2006 at 12:15:21AM +0200, Frank Barknecht wrote:
Hallo, Tim Blechmann hat gesagt: // Tim Blechmann wrote:
i can think of two ways to implement a namespace:
- a property of the canvas
- a |using| or |import| object
the first solution would be a contrary to pd's design principle (as written by miller in the pd docs, §2.6.2. persistence of data).
If you refer to the "patches should be understandable in printed form" principle: It's already violated as you don't know, which [prepend], [urn], [scale] etc. is used in a patch when it's only printed.
What about if [import] had to be banged to do it's work. Then you could use IOhannes' [initbang] and a bunch of [t b b b b] to specify loading order.
But, yes: This would be worse, if you wouldn't even know, which [+ ] object is used, depending on which namespace is active.
However I don't want to be forced to write patches like:
[pdcore/float] | [pdcore/mult 2] | [pdcore/osc~] |\ [pdcore/dac~]
In my opinion, pdcore should always be imported by default. Maybe have this optional using a command line option.
Best,
Chris.
------------------- chris@mccormick.cx http://mccormick.cx