[PD] more than one active inlet?

IOhannes zmoelnig zmoelnig at iem.kug.ac.at
Mon Dec 15 14:36:14 CET 2003


Maximilian Marcoll wrote:
> the only way to do that in pd - as far as i know now - would be to bind a
> dummy message with a A_DEFFLOAT argument to a function that will handle
> the second float.
> and to create the second inlet as
> inlet_new(..., ..., gensym("float), gensym("dummy"));

right

> 
> so when a float is received at the second inlet, the float-message is
> substituted with the dummy-message, and the apropiate function is called.
> 
> there has to be another way to do this.

why ?
it should provide exactly the functionality you need. (although you will 
soon get into a real hazzle when trying to bind different types to any 
single inlet but the first)

> 
> can anybody help, please?

mfg.a.sdr
IOhannes





More information about the Pd-list mailing list