[PD] data crossroad to share

IOhannes m zmölnig zmoelnig at iem.at
Fri May 15 17:59:42 CEST 2009


donotreply wrote:
> Hi People
> As it took me a lot of work for such a simple idea (near 1700 
> conections) I share it with you, just in case anybody else needs 
> something like this.
> It works receiving a data stream from one inlet, and selecting from a 
> second one between 42 different outs (outlets not- us provided but possible, 
> of course).
> If anybody knows a better way of doing it without this kind of zen work, 
> please tell me, because I might be using a lot of this stuff.
> I hope it is usefull.
> 

while it is visually pretty, the usual way of doing this is:
- use send/receive (probably localized with $0 to not interfere with 
other instances)
- use zexy's [demultiplex] object
- build a demultiplex in Pd
.

data           selection
|              |
[list prepend 0]
|
[route 0 1 2 3 4 5 6 7 8 9]

zexy's [demux] has been made obsolete by the latter approach (but it 
comes from a time when there were no [list] ojects)

the send approach as suggested by tim is certainly the one with the 
least patching affort (but might be not as simple to read as the above)

fgasdrt
IOhannes




More information about the Pd-list mailing list