<div dir="ltr">here's my trick<div><br></div><div>inlet~ has an inlet to set a default value when a signal is not connected, so give it a weird and unexpected value and then check if that value is output.</div><div><br></div><div>I do that for else/out~ where it distributes the left input to both speakers if no signal is connected to the right input. Clearly, checking for "0" was no good.</div><div><br></div><div>cheers</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sáb., 3 de abr. de 2021 às 10:29, Jeppi Jeppi <<a href="mailto:jeppiot@hotmail.com">jeppiot@hotmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi all,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I came across a weird requirement and I think it is not possible...but maybe you have a creative workaround: is there a way to know whether an inlet~ is actually connected or whether an inlet~ is or not receiving audio data? </div>
</div>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div>