[PD] Abstractions x Externals

Mathieu Bouchard matju at artengine.ca
Wed Feb 16 14:22:29 CET 2011


On Wed, 16 Feb 2011, Pedro Lopes wrote:

> For me external is different from abstraction.For what I understand 
> there's a need for a joint concept, one that says "this visual object 
> box is <<something>>".
> 
> Is that what you call class Mathieu?

Classes are definitions of what each box means in your patches : if I have 
three [+] boxes, I have three objects, but a single "+" class involved.

There are two useful definitions of the word "class" in Pd : usually, it's 
best to think of each abstraction file as being a class of its own, 
because that's (by analogy) nearly the same idea of class that is being 
used in other programming languages.

However, internally, the abstraction-loader doesn't give each abstraction 
its own t_class structure. (almost no pd user needs to take the latter 
into account, even among those who write externals ; but I had to.)

  _______________________________________________________________________
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC


More information about the Pd-list mailing list