<div dir="ltr">Hi, I'm writing a signal external, it takes a signal in its main inlet and a float in its right inlet.<div><br></div><div>I want the float to be able to access a function in the code, right now I'm using something like:</div><div><br></div>





<div><span class="gmail-s1" style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space">    </span>inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_float, gensym(</span><span class="gmail-s2" style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(209,47,27)">"ft1"</span><span class="gmail-s1" style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">));</span></div><div><br></div><div>In the "new" method, and then I also need to a <span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">class_addmethod </span>included in the setup for <span style="color:rgb(209,47,27);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">"ft1"</span> and I was hoping I didn't need that and could use another alternative.</div><div><br></div><div>What I think it's not elegant is that this makes the object actually take a "ft1" message in the main signal inlet. I know it's no biggie, but it annoys the hell out of me.</div><div><br></div><div>So is there any other way to make the inlet access a function inside the code without the need to add a method for it? Or do I just have to deal with it?</div><div><br></div><div>thanks</div><div><br></div><div><br></div></div>