[PD] adding outlets to [inlet~] (was How can a signal inlet of an object know if it's receiving a signal)

Alexandre Torres Porres porres at gmail.com
Thu Mar 8 05:08:41 CET 2018


2018-03-07 20:35 GMT-03:00 Alexandre Torres Porres <porres at gmail.com>:

> I assume that this is being set here.
>
> static void *vinlet_newsig(t_symbol *s)
>
> {
>
>     t_vinlet *x = (t_vinlet *)pd_new(vinlet_class);
>
>     x->x_canvas = canvas_getcurrent();
>
>     x->x_inlet = canvas_addinlet(x->x_canvas, &x->x_obj.ob_pd, &s_signal);
>
> Am I right? So I ask, how can I make this external accept ANY kind of
> message, not just signals?
>

Yeah, I've been still trying around and now I'm pretty sure this is where
you set the type, and I'm also now assuming there's no way to carry both
signals and control data in the same input as it is. This seems to require
changes to the core of Pd elsewhere, right? If so, this is where it gets
way over my head and I give up.

But how much of a surgical procedure are we talking about?

cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180308/b1aeaa2d/attachment.html>


More information about the Pd-list mailing list