[PD-dev] how do I go about pd_bind()ing multiple symbols to one object and distinguish between them?

Claude Heiland-Allen claudiusmaximus at goto10.org
Sun Mar 4 18:16:01 CET 2007


Frank Barknecht wrote:
> Hallo,
> Claude Heiland-Allen hat gesagt: // Claude Heiland-Allen wrote:
>> The initial aim is to write an external that does similar to what an 
>> abstraction made up of loads of copies of
>>
>>    [receive $1-balb]--[list prepend balb]--[list trim]--[outlet]
>>
>> would do, with 'balb' different each time, and only one outlet for the 
>> whole abstraction.
> 
> Okay, sounds like a very useful time saver.
> 
> Ciao

Attached is a simple, unoptimized version implemented in Pd.  It could 
be improved by exploding the abstraction into the constructor subpatch 
(loading abstractions NN times is slow, and fewer files mean less to go 
missing...).

Still haven't worked out how to do this in an external...


Claude
-- 
http://claudiusmaximus.goto10.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nreceive-0.1.tar.gz
Type: application/gzip
Size: 842 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20070304/3572f37b/attachment.bin>


More information about the Pd-dev mailing list