[PD] can signal inlets that aren't the main inlet have float or message methods?

Derek Kwan derek.x.kwan at gmail.com
Tue Mar 29 14:01:30 CEST 2016


> 
> Actually after looking deeper I have no clue.  It looks like cyclone has 
> some helper functions to set a separate float method for the leftmost signal 
> inlet.  If you can figure out how it works perhaps you can try doing the same 
> for a secondary inlet.

Hello Jonathan,

Yeah, scope's setup calls sic_setup (defined in shared/sickle/sic.c)
which takes in a dsp function and a float function as input. Looks like
if there is a float function passed, the signal stuff gets handled by
class_domainsignalin() while floats are handled by class_addfloat() and
there isn't a float function passed, it's just all handled by
CLASS_MAINSIGNALIN(). I know CLASS_MAINSIGNALIN() and class_addfloat()
are called from input into the main inlet, and i suppose
class_domainsignalin() is too? There's another function sic_inlet() in
sic.c but it looks like just a wrapper around inlet_new() and
pd_float().

Derek
=====================
Derek Kwan
www.derekxkwan.com



More information about the Pd-list mailing list