Well, I just couldn't understand how to get the behavior you're after by looking at the inlet_new code. But looking at that cyclone wrapper function it seems like you should be able to get the same behavior with a proxy inlet. -Jonathan
On Tuesday, March 29, 2016 8:01 AM, Derek Kwan <derek.x.k...@gmail.com> wrote: > > 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
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list